Skip to content

Commit

Permalink
chore!: v21 Namespace & Upgrade Handler (#969)
Browse files Browse the repository at this point in the history
* fix! not loading in contracts with custom WasmVM after upgrade (#961)

* fix!: load from the proper data dir

* v20 plain upgrade

* lintor

* execute contract's before and after an upgrade

* remove v20 storekey addition

* CreateV20UpgradeHandler

* remove v20

* fix upgrade test (v18 -> v19)

* Create v21 Namespace & Upgrade Handler

* bump: golang-ci-lint-action (#974)

* Bump golangci/golangci-lint-action from 3 to 4

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* update lint action

* do the easy stuff first....

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* run upgrade test against v20 & remove wasm from store upgrades

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Reece Williams <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrea Di Michele <[email protected]>
  • Loading branch information
5 people authored Mar 2, 2024
1 parent 3733476 commit 00b2a38
Show file tree
Hide file tree
Showing 198 changed files with 506 additions and 412 deletions.
14 changes: 7 additions & 7 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import (
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"

decorators "github.com/CosmosContracts/juno/v19/app/decorators"
feepayante "github.com/CosmosContracts/juno/v19/x/feepay/ante"
feepaykeeper "github.com/CosmosContracts/juno/v19/x/feepay/keeper"
feeshareante "github.com/CosmosContracts/juno/v19/x/feeshare/ante"
feesharekeeper "github.com/CosmosContracts/juno/v19/x/feeshare/keeper"
globalfeeante "github.com/CosmosContracts/juno/v19/x/globalfee/ante"
globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper"
decorators "github.com/CosmosContracts/juno/v21/app/decorators"
feepayante "github.com/CosmosContracts/juno/v21/x/feepay/ante"
feepaykeeper "github.com/CosmosContracts/juno/v21/x/feepay/keeper"
feeshareante "github.com/CosmosContracts/juno/v21/x/feeshare/ante"
feesharekeeper "github.com/CosmosContracts/juno/v21/x/feeshare/keeper"
globalfeeante "github.com/CosmosContracts/juno/v21/x/globalfee/ante"
globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper"
)

// Lower back to 1 mil after https://github.com/cosmos/relayer/issues/1255
Expand Down
38 changes: 20 additions & 18 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,25 @@ import (
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v19/app/openapiconsole"
upgrades "github.com/CosmosContracts/juno/v19/app/upgrades"
testnetV18alpha2 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.2"
testnetV18alpha3 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.3"
testnetV18alpha4 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.4"
testnetV19alpha3 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v19.0.0-alpha.3"
v10 "github.com/CosmosContracts/juno/v19/app/upgrades/v10"
v11 "github.com/CosmosContracts/juno/v19/app/upgrades/v11"
v12 "github.com/CosmosContracts/juno/v19/app/upgrades/v12"
v13 "github.com/CosmosContracts/juno/v19/app/upgrades/v13"
v14 "github.com/CosmosContracts/juno/v19/app/upgrades/v14"
v15 "github.com/CosmosContracts/juno/v19/app/upgrades/v15"
v16 "github.com/CosmosContracts/juno/v19/app/upgrades/v16"
v17 "github.com/CosmosContracts/juno/v19/app/upgrades/v17"
v18 "github.com/CosmosContracts/juno/v19/app/upgrades/v18"
v19 "github.com/CosmosContracts/juno/v19/app/upgrades/v19"
"github.com/CosmosContracts/juno/v19/docs"
"github.com/CosmosContracts/juno/v21/app/keepers"
"github.com/CosmosContracts/juno/v21/app/openapiconsole"
upgrades "github.com/CosmosContracts/juno/v21/app/upgrades"
testnetV18alpha2 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.2"
testnetV18alpha3 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.3"
testnetV18alpha4 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.4"
testnetV19alpha3 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v19.0.0-alpha.3"
v10 "github.com/CosmosContracts/juno/v21/app/upgrades/v10"
v11 "github.com/CosmosContracts/juno/v21/app/upgrades/v11"
v12 "github.com/CosmosContracts/juno/v21/app/upgrades/v12"
v13 "github.com/CosmosContracts/juno/v21/app/upgrades/v13"
v14 "github.com/CosmosContracts/juno/v21/app/upgrades/v14"
v15 "github.com/CosmosContracts/juno/v21/app/upgrades/v15"
v16 "github.com/CosmosContracts/juno/v21/app/upgrades/v16"
v17 "github.com/CosmosContracts/juno/v21/app/upgrades/v17"
v18 "github.com/CosmosContracts/juno/v21/app/upgrades/v18"
v19 "github.com/CosmosContracts/juno/v21/app/upgrades/v19"
v21 "github.com/CosmosContracts/juno/v21/app/upgrades/v21"
"github.com/CosmosContracts/juno/v21/docs"
)

const (
Expand Down Expand Up @@ -119,6 +120,7 @@ var (
v17.Upgrade,
v18.Upgrade,
v19.Upgrade,
v21.Upgrade,
}
)

Expand Down
4 changes: 2 additions & 2 deletions app/apptesting/test_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app"
appparams "github.com/CosmosContracts/juno/v19/app/params"
"github.com/CosmosContracts/juno/v21/app"
appparams "github.com/CosmosContracts/juno/v21/app/params"
)

type KeeperTestHelper struct {
Expand Down
6 changes: 3 additions & 3 deletions app/decorators/change_rate_decorator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/CosmosContracts/juno/v19/app"
decorators "github.com/CosmosContracts/juno/v19/app/decorators"
appparams "github.com/CosmosContracts/juno/v19/app/params"
"github.com/CosmosContracts/juno/v21/app"
decorators "github.com/CosmosContracts/juno/v21/app/decorators"
appparams "github.com/CosmosContracts/juno/v21/app/params"
)

// Define an empty ante handle
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"github.com/cosmos/cosmos-sdk/std"

"github.com/CosmosContracts/juno/v19/app/params"
"github.com/CosmosContracts/juno/v21/app/params"
)

// MakeEncodingConfig creates an EncodingConfig for testing
Expand Down
38 changes: 19 additions & 19 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,25 +89,25 @@ import (
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

junoburn "github.com/CosmosContracts/juno/v19/x/burn"
clockkeeper "github.com/CosmosContracts/juno/v19/x/clock/keeper"
clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types"
cwhookskeeper "github.com/CosmosContracts/juno/v19/x/cw-hooks/keeper"
cwhookstypes "github.com/CosmosContracts/juno/v19/x/cw-hooks/types"
dripkeeper "github.com/CosmosContracts/juno/v19/x/drip/keeper"
driptypes "github.com/CosmosContracts/juno/v19/x/drip/types"
feepaykeeper "github.com/CosmosContracts/juno/v19/x/feepay/keeper"
feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types"
feesharekeeper "github.com/CosmosContracts/juno/v19/x/feeshare/keeper"
feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types"
"github.com/CosmosContracts/juno/v19/x/globalfee"
globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper"
globalfeetypes "github.com/CosmosContracts/juno/v19/x/globalfee/types"
mintkeeper "github.com/CosmosContracts/juno/v19/x/mint/keeper"
minttypes "github.com/CosmosContracts/juno/v19/x/mint/types"
"github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings"
tokenfactorykeeper "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper"
tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types"
junoburn "github.com/CosmosContracts/juno/v21/x/burn"
clockkeeper "github.com/CosmosContracts/juno/v21/x/clock/keeper"
clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types"
cwhookskeeper "github.com/CosmosContracts/juno/v21/x/cw-hooks/keeper"
cwhookstypes "github.com/CosmosContracts/juno/v21/x/cw-hooks/types"
dripkeeper "github.com/CosmosContracts/juno/v21/x/drip/keeper"
driptypes "github.com/CosmosContracts/juno/v21/x/drip/types"
feepaykeeper "github.com/CosmosContracts/juno/v21/x/feepay/keeper"
feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types"
feesharekeeper "github.com/CosmosContracts/juno/v21/x/feeshare/keeper"
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
"github.com/CosmosContracts/juno/v21/x/globalfee"
globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper"
globalfeetypes "github.com/CosmosContracts/juno/v21/x/globalfee/types"
mintkeeper "github.com/CosmosContracts/juno/v21/x/mint/keeper"
minttypes "github.com/CosmosContracts/juno/v21/x/mint/types"
"github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings"
tokenfactorykeeper "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
)

var (
Expand Down
16 changes: 8 additions & 8 deletions app/keepers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types"
cwhookstypes "github.com/CosmosContracts/juno/v19/x/cw-hooks/types"
driptypes "github.com/CosmosContracts/juno/v19/x/drip/types"
feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types"
feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types"
globalfeetypes "github.com/CosmosContracts/juno/v19/x/globalfee/types"
minttypes "github.com/CosmosContracts/juno/v19/x/mint/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types"
clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types"
cwhookstypes "github.com/CosmosContracts/juno/v21/x/cw-hooks/types"
driptypes "github.com/CosmosContracts/juno/v21/x/drip/types"
feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types"
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
globalfeetypes "github.com/CosmosContracts/juno/v21/x/globalfee/types"
minttypes "github.com/CosmosContracts/juno/v21/x/mint/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
)

func (appKeepers *AppKeepers) GenerateKeys() {
Expand Down
30 changes: 15 additions & 15 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ import (
"github.com/cosmos/cosmos-sdk/x/upgrade"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

encparams "github.com/CosmosContracts/juno/v19/app/params"
"github.com/CosmosContracts/juno/v19/x/clock"
clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types"
cwhooks "github.com/CosmosContracts/juno/v19/x/cw-hooks"
"github.com/CosmosContracts/juno/v19/x/drip"
driptypes "github.com/CosmosContracts/juno/v19/x/drip/types"
feepay "github.com/CosmosContracts/juno/v19/x/feepay"
feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types"
feeshare "github.com/CosmosContracts/juno/v19/x/feeshare"
feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types"
"github.com/CosmosContracts/juno/v19/x/globalfee"
"github.com/CosmosContracts/juno/v19/x/mint"
minttypes "github.com/CosmosContracts/juno/v19/x/mint/types"
"github.com/CosmosContracts/juno/v19/x/tokenfactory"
tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types"
encparams "github.com/CosmosContracts/juno/v21/app/params"
"github.com/CosmosContracts/juno/v21/x/clock"
clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types"
cwhooks "github.com/CosmosContracts/juno/v21/x/cw-hooks"
"github.com/CosmosContracts/juno/v21/x/drip"
driptypes "github.com/CosmosContracts/juno/v21/x/drip/types"
feepay "github.com/CosmosContracts/juno/v21/x/feepay"
feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types"
feeshare "github.com/CosmosContracts/juno/v21/x/feeshare"
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
"github.com/CosmosContracts/juno/v21/x/globalfee"
"github.com/CosmosContracts/juno/v21/x/mint"
minttypes "github.com/CosmosContracts/juno/v21/x/mint/types"
"github.com/CosmosContracts/juno/v21/x/tokenfactory"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
)

// ModuleBasics defines the module BasicManager is in charge of setting up basic,
Expand Down
4 changes: 2 additions & 2 deletions app/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

apphelpers "github.com/CosmosContracts/juno/v19/app/helpers"
appparams "github.com/CosmosContracts/juno/v19/app/params"
apphelpers "github.com/CosmosContracts/juno/v21/app/helpers"
appparams "github.com/CosmosContracts/juno/v21/app/params"
)

// SimAppChainID hardcoded chainID for simulation
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/testnet/v18.0.0-alpha.2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v18
import (
store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the upgrade.
Expand Down
4 changes: 2 additions & 2 deletions app/upgrades/testnet/v18.0.0-alpha.2/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/suite"

"github.com/CosmosContracts/juno/v19/app/apptesting"
v18alpha2 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.2"
"github.com/CosmosContracts/juno/v21/app/apptesting"
v18alpha2 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.2"
)

type UpgradeTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/testnet/v18.0.0-alpha.3/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v18
import (
store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the upgrade.
Expand Down
4 changes: 2 additions & 2 deletions app/upgrades/testnet/v18.0.0-alpha.3/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/suite"

"github.com/CosmosContracts/juno/v19/app/apptesting"
v18alpha3 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.3"
"github.com/CosmosContracts/juno/v21/app/apptesting"
v18alpha3 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.3"
)

type UpgradeTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/testnet/v18.0.0-alpha.4/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v18
import (
store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the upgrade.
Expand Down
4 changes: 2 additions & 2 deletions app/upgrades/testnet/v18.0.0-alpha.4/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/suite"

"github.com/CosmosContracts/juno/v19/app/apptesting"
v1800alpha4 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v18.0.0-alpha.4"
"github.com/CosmosContracts/juno/v21/app/apptesting"
v1800alpha4 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v18.0.0-alpha.4"
)

type UpgradeTestSuite struct {
Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/testnet/v19.0.0-alpha.3/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v19/app/upgrades"
clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types"
"github.com/CosmosContracts/juno/v21/app/keepers"
"github.com/CosmosContracts/juno/v21/app/upgrades"
clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types"
)

// UpgradeName defines the on-chain upgrade name for the upgrade.
Expand Down
4 changes: 2 additions & 2 deletions app/upgrades/testnet/v19.0.0-alpha.3/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/suite"

"github.com/CosmosContracts/juno/v19/app/apptesting"
v19alpha3 "github.com/CosmosContracts/juno/v19/app/upgrades/testnet/v19.0.0-alpha.3"
"github.com/CosmosContracts/juno/v21/app/apptesting"
v19alpha3 "github.com/CosmosContracts/juno/v21/app/upgrades/testnet/v19.0.0-alpha.3"
)

type UpgradeTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v21/app/keepers"
)

// BaseAppParamManager defines an interrace that BaseApp is expected to fulfil
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v10/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the Juno v10 upgrade.
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v10/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v21/app/keepers"
)

// CreateV10UpgradeHandler makes an upgrade handler for v10 of Juno
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v11/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the Juno v11 upgrade.
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v11/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v21/app/keepers"
)

// CreateV11UpgradeHandler makes an upgrade handler for v11 of Juno
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v12/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v12
import (
store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/upgrades"
)

const UpgradeName = "v12"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v12/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v21/app/keepers"
)

func CreateV12UpgradeHandler(
Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/v13/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (

store "github.com/cosmos/cosmos-sdk/store/types"

"github.com/CosmosContracts/juno/v19/app/upgrades"
feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types"
"github.com/CosmosContracts/juno/v21/app/upgrades"
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
)

// UpgradeName defines the on-chain upgrade name for the upgrade.
Expand Down
8 changes: 4 additions & 4 deletions app/upgrades/v13/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v19/app/upgrades"
"github.com/CosmosContracts/juno/v21/app/keepers"
"github.com/CosmosContracts/juno/v21/app/upgrades"
// types
feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types"
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
)

func CreateV13UpgradeHandler(
Expand Down
Loading

0 comments on commit 00b2a38

Please sign in to comment.