From 00b2a3826bed4edddf9ed17f6d903bbb8d072dbd Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Sat, 2 Mar 2024 05:37:00 -0600 Subject: [PATCH] chore!: v21 Namespace & Upgrade Handler (#969) * 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](https://github.com/golangci/golangci-lint-action/compare/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] * update lint action * do the easy stuff first.... --------- Signed-off-by: dependabot[bot] 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] Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com> Co-authored-by: Jacob Gadikian Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrea Di Michele --- app/ante.go | 14 +++---- app/app.go | 38 +++++++++--------- app/apptesting/test_suite.go | 4 +- app/decorators/change_rate_decorator_test.go | 6 +-- app/encoding.go | 2 +- app/keepers/keepers.go | 38 +++++++++--------- app/keepers/keys.go | 16 ++++---- app/modules.go | 30 +++++++------- app/test_helpers.go | 4 +- .../testnet/v18.0.0-alpha.2/constants.go | 2 +- .../testnet/v18.0.0-alpha.2/upgrade_test.go | 4 +- .../testnet/v18.0.0-alpha.3/constants.go | 2 +- .../testnet/v18.0.0-alpha.3/upgrade_test.go | 4 +- .../testnet/v18.0.0-alpha.4/constants.go | 2 +- .../testnet/v18.0.0-alpha.4/upgrade_test.go | 4 +- .../testnet/v19.0.0-alpha.3/constants.go | 6 +-- .../testnet/v19.0.0-alpha.3/upgrade_test.go | 4 +- app/upgrades/types.go | 2 +- app/upgrades/v10/constants.go | 2 +- app/upgrades/v10/upgrades.go | 2 +- app/upgrades/v11/constants.go | 2 +- app/upgrades/v11/upgrades.go | 2 +- app/upgrades/v12/constants.go | 2 +- app/upgrades/v12/upgrades.go | 2 +- app/upgrades/v13/constants.go | 6 +-- app/upgrades/v13/upgrades.go | 8 ++-- app/upgrades/v14/constants.go | 4 +- app/upgrades/v14/upgrades.go | 6 +-- app/upgrades/v15/constants.go | 2 +- app/upgrades/v15/upgrades.go | 4 +- app/upgrades/v16/constants.go | 4 +- app/upgrades/v16/upgrades.go | 12 +++--- app/upgrades/v17/constants.go | 6 +-- app/upgrades/v17/upgrades.go | 8 ++-- app/upgrades/v18/constants.go | 6 +-- app/upgrades/v18/upgrade_test.go | 4 +- app/upgrades/v18/upgrades.go | 8 ++-- app/upgrades/v19/constants.go | 2 +- app/upgrades/v19/mainnet_account.go | 2 +- app/upgrades/v19/upgrade_test.go | 6 +-- app/upgrades/v19/upgrades.go | 8 ++-- app/upgrades/v21/constants.go | 18 +++++++++ app/upgrades/v21/upgrade_test.go | 39 +++++++++++++++++++ app/upgrades/v21/upgrades.go | 35 +++++++++++++++++ cmd/junod/cmd/balances_from_state_export.go | 4 +- cmd/junod/cmd/root.go | 4 +- cmd/junod/main.go | 4 +- go.mod | 2 +- interchaintest/chain_upgrade_test.go | 4 +- interchaintest/go.mod | 4 +- interchaintest/helpers/tokenfactory.go | 2 +- interchaintest/module_clock_test.go | 2 +- interchaintest/module_globalfee_test.go | 2 +- interchaintest/setup.go | 10 ++--- x/burn/burner.go | 2 +- x/clock/abci.go | 6 +-- x/clock/abci_test.go | 6 +-- x/clock/client/cli/query.go | 2 +- x/clock/client/cli/tx.go | 2 +- x/clock/genesis.go | 4 +- x/clock/genesis_test.go | 6 +-- x/clock/keeper/clock.go | 4 +- x/clock/keeper/keeper.go | 2 +- x/clock/keeper/keeper_test.go | 6 +-- x/clock/keeper/msg_server.go | 2 +- x/clock/keeper/msg_server_test.go | 2 +- x/clock/keeper/querier.go | 4 +- x/clock/keeper/querier_test.go | 2 +- x/clock/module.go | 6 +-- x/clock/types/msgs.go | 2 +- x/clock/types/params_test.go | 2 +- x/cw-hooks/client/cli/query.go | 2 +- x/cw-hooks/client/cli/tx.go | 2 +- x/cw-hooks/genesis.go | 4 +- x/cw-hooks/keeper/contracts.go | 2 +- x/cw-hooks/keeper/gov_hooks.go | 2 +- x/cw-hooks/keeper/keeper.go | 2 +- x/cw-hooks/keeper/keeper_test.go | 6 +-- x/cw-hooks/keeper/msg_server.go | 2 +- x/cw-hooks/keeper/msg_server_test.go | 2 +- x/cw-hooks/keeper/params.go | 2 +- x/cw-hooks/keeper/querier.go | 2 +- x/cw-hooks/keeper/querier_test.go | 2 +- x/cw-hooks/keeper/staking_hooks.go | 2 +- x/cw-hooks/module.go | 6 +-- x/drip/client/cli/query.go | 2 +- x/drip/client/cli/tx.go | 2 +- x/drip/genesis.go | 4 +- x/drip/genesis_test.go | 6 +-- x/drip/keeper/grpc_query.go | 2 +- x/drip/keeper/grpc_query_test.go | 2 +- x/drip/keeper/keeper.go | 2 +- x/drip/keeper/keeper_test.go | 6 +-- x/drip/keeper/msg_server.go | 2 +- x/drip/keeper/msg_server_test.go | 2 +- x/drip/keeper/params.go | 2 +- x/drip/module.go | 6 +-- x/feepay/ante/deduct_fee.go | 6 +-- x/feepay/ante/fee_route.go | 6 +-- x/feepay/client/cli/query.go | 2 +- x/feepay/client/cli/tx.go | 2 +- x/feepay/genesis.go | 4 +- x/feepay/genesis_test.go | 6 +-- x/feepay/helpers/fee_pay_tx_validator.go | 2 +- x/feepay/keeper/feepay.go | 4 +- x/feepay/keeper/keeper.go | 4 +- x/feepay/keeper/keeper_test.go | 6 +-- x/feepay/keeper/msg_server.go | 4 +- x/feepay/keeper/msg_server_test.go | 2 +- x/feepay/keeper/params.go | 2 +- x/feepay/keeper/querier.go | 4 +- x/feepay/keeper/querier_test.go | 4 +- x/feepay/module.go | 6 +-- x/feeshare/ante/ante.go | 2 +- x/feeshare/ante/ante_test.go | 8 ++-- x/feeshare/ante/expected_keepers.go | 2 +- x/feeshare/client/cli/query.go | 2 +- x/feeshare/client/cli/tx.go | 2 +- x/feeshare/genesis.go | 4 +- x/feeshare/genesis_test.go | 6 +-- x/feeshare/integration_test.go | 4 +- x/feeshare/keeper/feeshare.go | 2 +- x/feeshare/keeper/grpc_query.go | 2 +- x/feeshare/keeper/grpc_query_test.go | 4 +- x/feeshare/keeper/keeper.go | 2 +- x/feeshare/keeper/keeper_test.go | 6 +-- x/feeshare/keeper/migrator.go | 4 +- x/feeshare/keeper/msg_server.go | 2 +- x/feeshare/keeper/msg_server_test.go | 2 +- x/feeshare/keeper/params.go | 2 +- x/feeshare/migrations/v2/migrate.go | 4 +- x/feeshare/migrations/v2/migrate_test.go | 8 ++-- x/feeshare/module.go | 8 ++-- x/globalfee/alias.go | 2 +- x/globalfee/ante/fee.go | 2 +- x/globalfee/client/cli/query.go | 2 +- x/globalfee/genesis_test.go | 6 +-- x/globalfee/keeper/keeper.go | 2 +- x/globalfee/keeper/migrator.go | 2 +- x/globalfee/keeper/msg_server.go | 2 +- x/globalfee/migrations/v2/migrate.go | 2 +- x/globalfee/migrations/v2/migrator_test.go | 6 +-- x/globalfee/module.go | 6 +-- x/globalfee/querier.go | 4 +- x/globalfee/querier_test.go | 4 +- x/mint/abci.go | 4 +- x/mint/client/cli/query.go | 2 +- x/mint/client/testutil/suite.go | 4 +- x/mint/genesis.go | 4 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/grpc_query_test.go | 4 +- x/mint/keeper/keeper.go | 2 +- x/mint/keeper/migrator.go | 4 +- x/mint/keeper/msg_server.go | 2 +- x/mint/keeper/querier.go | 2 +- x/mint/keeper/querier_test.go | 4 +- x/mint/migrations/v2/migrate.go | 2 +- x/mint/migrations/v3/migrate.go | 2 +- x/mint/migrations/v3/migrator_test.go | 8 ++-- x/mint/module.go | 8 ++-- x/mint/module_test.go | 2 +- x/mint/simulation/decoder.go | 2 +- x/mint/simulation/decoder_test.go | 6 +-- x/mint/simulation/genesis.go | 2 +- x/mint/simulation/genesis_test.go | 4 +- x/tokenfactory/bindings/custom_msg_test.go | 6 +-- x/tokenfactory/bindings/custom_query_test.go | 4 +- x/tokenfactory/bindings/helpers_test.go | 2 +- x/tokenfactory/bindings/message_plugin.go | 6 +-- x/tokenfactory/bindings/queries.go | 4 +- x/tokenfactory/bindings/query_plugin.go | 2 +- x/tokenfactory/bindings/validate_msg_test.go | 6 +-- .../bindings/validate_queries_test.go | 2 +- x/tokenfactory/bindings/wasm.go | 2 +- x/tokenfactory/client/cli/query.go | 2 +- x/tokenfactory/client/cli/tx.go | 2 +- x/tokenfactory/keeper/admins.go | 2 +- x/tokenfactory/keeper/admins_test.go | 2 +- x/tokenfactory/keeper/bankactions.go | 2 +- x/tokenfactory/keeper/createdenom.go | 2 +- x/tokenfactory/keeper/createdenom_test.go | 4 +- x/tokenfactory/keeper/genesis.go | 2 +- x/tokenfactory/keeper/genesis_test.go | 2 +- x/tokenfactory/keeper/grpc_query.go | 2 +- x/tokenfactory/keeper/keeper.go | 2 +- x/tokenfactory/keeper/keeper_test.go | 6 +-- x/tokenfactory/keeper/migrator.go | 4 +- x/tokenfactory/keeper/msg_server.go | 2 +- x/tokenfactory/keeper/msg_server_test.go | 2 +- x/tokenfactory/keeper/params.go | 2 +- x/tokenfactory/migrations/v2/migrate.go | 4 +- x/tokenfactory/migrations/v2/migrate_test.go | 8 ++-- x/tokenfactory/module.go | 10 ++--- x/tokenfactory/simulation/genesis.go | 4 +- x/tokenfactory/simulation/operations.go | 4 +- x/tokenfactory/types/denoms_test.go | 2 +- x/tokenfactory/types/genesis_test.go | 2 +- x/tokenfactory/types/msgs_test.go | 4 +- 198 files changed, 506 insertions(+), 412 deletions(-) create mode 100644 app/upgrades/v21/constants.go create mode 100644 app/upgrades/v21/upgrade_test.go create mode 100644 app/upgrades/v21/upgrades.go diff --git a/app/ante.go b/app/ante.go index 47153d18e..88e3bac60 100644 --- a/app/ante.go +++ b/app/ante.go @@ -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 diff --git a/app/app.go b/app/app.go index 0a118cfb5..cb12c586e 100644 --- a/app/app.go +++ b/app/app.go @@ -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 ( @@ -119,6 +120,7 @@ var ( v17.Upgrade, v18.Upgrade, v19.Upgrade, + v21.Upgrade, } ) diff --git a/app/apptesting/test_suite.go b/app/apptesting/test_suite.go index 1ab204aaa..7e8293322 100644 --- a/app/apptesting/test_suite.go +++ b/app/apptesting/test_suite.go @@ -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 { diff --git a/app/decorators/change_rate_decorator_test.go b/app/decorators/change_rate_decorator_test.go index 9da90dd09..92754a64b 100644 --- a/app/decorators/change_rate_decorator_test.go +++ b/app/decorators/change_rate_decorator_test.go @@ -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 diff --git a/app/encoding.go b/app/encoding.go index 33e72f380..c96d781a7 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -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 diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index af5eefd70..bb8ea037b 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -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 ( diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 4dcf528c3..f4d0a1749 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -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() { diff --git a/app/modules.go b/app/modules.go index df54900cc..e1e794534 100644 --- a/app/modules.go +++ b/app/modules.go @@ -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, diff --git a/app/test_helpers.go b/app/test_helpers.go index 656f2d21d..e2e2bda8c 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -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 diff --git a/app/upgrades/testnet/v18.0.0-alpha.2/constants.go b/app/upgrades/testnet/v18.0.0-alpha.2/constants.go index d87c70b2a..95b938762 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.2/constants.go +++ b/app/upgrades/testnet/v18.0.0-alpha.2/constants.go @@ -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. diff --git a/app/upgrades/testnet/v18.0.0-alpha.2/upgrade_test.go b/app/upgrades/testnet/v18.0.0-alpha.2/upgrade_test.go index be730e80f..941e5fa6d 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.2/upgrade_test.go +++ b/app/upgrades/testnet/v18.0.0-alpha.2/upgrade_test.go @@ -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 { diff --git a/app/upgrades/testnet/v18.0.0-alpha.3/constants.go b/app/upgrades/testnet/v18.0.0-alpha.3/constants.go index aaa03913c..469313d13 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.3/constants.go +++ b/app/upgrades/testnet/v18.0.0-alpha.3/constants.go @@ -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. diff --git a/app/upgrades/testnet/v18.0.0-alpha.3/upgrade_test.go b/app/upgrades/testnet/v18.0.0-alpha.3/upgrade_test.go index d820f5c4c..276a4ce51 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.3/upgrade_test.go +++ b/app/upgrades/testnet/v18.0.0-alpha.3/upgrade_test.go @@ -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 { diff --git a/app/upgrades/testnet/v18.0.0-alpha.4/constants.go b/app/upgrades/testnet/v18.0.0-alpha.4/constants.go index 288c3049e..1a85943f2 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.4/constants.go +++ b/app/upgrades/testnet/v18.0.0-alpha.4/constants.go @@ -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. diff --git a/app/upgrades/testnet/v18.0.0-alpha.4/upgrade_test.go b/app/upgrades/testnet/v18.0.0-alpha.4/upgrade_test.go index e15c67a55..596638683 100644 --- a/app/upgrades/testnet/v18.0.0-alpha.4/upgrade_test.go +++ b/app/upgrades/testnet/v18.0.0-alpha.4/upgrade_test.go @@ -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 { diff --git a/app/upgrades/testnet/v19.0.0-alpha.3/constants.go b/app/upgrades/testnet/v19.0.0-alpha.3/constants.go index 3b3f1aa29..1ed7cc906 100644 --- a/app/upgrades/testnet/v19.0.0-alpha.3/constants.go +++ b/app/upgrades/testnet/v19.0.0-alpha.3/constants.go @@ -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. diff --git a/app/upgrades/testnet/v19.0.0-alpha.3/upgrade_test.go b/app/upgrades/testnet/v19.0.0-alpha.3/upgrade_test.go index a6c38e5cd..3c873b9fc 100644 --- a/app/upgrades/testnet/v19.0.0-alpha.3/upgrade_test.go +++ b/app/upgrades/testnet/v19.0.0-alpha.3/upgrade_test.go @@ -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 { diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 508f8a8bf..e5fd5511f 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -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 diff --git a/app/upgrades/v10/constants.go b/app/upgrades/v10/constants.go index 692d7276a..7472c9ff8 100644 --- a/app/upgrades/v10/constants.go +++ b/app/upgrades/v10/constants.go @@ -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. diff --git a/app/upgrades/v10/upgrades.go b/app/upgrades/v10/upgrades.go index 039d6e86d..527541ac3 100644 --- a/app/upgrades/v10/upgrades.go +++ b/app/upgrades/v10/upgrades.go @@ -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 diff --git a/app/upgrades/v11/constants.go b/app/upgrades/v11/constants.go index 625d9b625..ef88f4adc 100644 --- a/app/upgrades/v11/constants.go +++ b/app/upgrades/v11/constants.go @@ -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. diff --git a/app/upgrades/v11/upgrades.go b/app/upgrades/v11/upgrades.go index 9c6a0d133..ac4bda92c 100644 --- a/app/upgrades/v11/upgrades.go +++ b/app/upgrades/v11/upgrades.go @@ -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 diff --git a/app/upgrades/v12/constants.go b/app/upgrades/v12/constants.go index 28ce12465..d20681dad 100644 --- a/app/upgrades/v12/constants.go +++ b/app/upgrades/v12/constants.go @@ -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" diff --git a/app/upgrades/v12/upgrades.go b/app/upgrades/v12/upgrades.go index 46b72e1b7..252946038 100644 --- a/app/upgrades/v12/upgrades.go +++ b/app/upgrades/v12/upgrades.go @@ -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( diff --git a/app/upgrades/v13/constants.go b/app/upgrades/v13/constants.go index 45d40ef93..e91c6ee3c 100644 --- a/app/upgrades/v13/constants.go +++ b/app/upgrades/v13/constants.go @@ -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. diff --git a/app/upgrades/v13/upgrades.go b/app/upgrades/v13/upgrades.go index d1efc456a..8aff7fc42 100644 --- a/app/upgrades/v13/upgrades.go +++ b/app/upgrades/v13/upgrades.go @@ -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( diff --git a/app/upgrades/v14/constants.go b/app/upgrades/v14/constants.go index 5cbb994ac..187d6c4f9 100644 --- a/app/upgrades/v14/constants.go +++ b/app/upgrades/v14/constants.go @@ -5,8 +5,8 @@ import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/CosmosContracts/juno/v19/app/upgrades" - "github.com/CosmosContracts/juno/v19/x/globalfee" + "github.com/CosmosContracts/juno/v21/app/upgrades" + "github.com/CosmosContracts/juno/v21/x/globalfee" ) // UpgradeName defines the on-chain upgrade name for the upgrade. diff --git a/app/upgrades/v14/upgrades.go b/app/upgrades/v14/upgrades.go index 3603236fa..cf553d590 100644 --- a/app/upgrades/v14/upgrades.go +++ b/app/upgrades/v14/upgrades.go @@ -7,9 +7,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" - globalfeetypes "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" + globalfeetypes "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) func CreateV14UpgradeHandler( diff --git a/app/upgrades/v15/constants.go b/app/upgrades/v15/constants.go index 3734f937d..b57711018 100644 --- a/app/upgrades/v15/constants.go +++ b/app/upgrades/v15/constants.go @@ -3,7 +3,7 @@ package v15 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. diff --git a/app/upgrades/v15/upgrades.go b/app/upgrades/v15/upgrades.go index 7b7fee4eb..40f366169 100644 --- a/app/upgrades/v15/upgrades.go +++ b/app/upgrades/v15/upgrades.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/CosmosContracts/juno/v19/app/keepers" - tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/app/keepers" + tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // We now charge 2 million gas * gas price to create a denom. diff --git a/app/upgrades/v16/constants.go b/app/upgrades/v16/constants.go index 3fd5d5ef1..fdb400c9a 100644 --- a/app/upgrades/v16/constants.go +++ b/app/upgrades/v16/constants.go @@ -10,8 +10,8 @@ import ( crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" "github.com/cosmos/cosmos-sdk/x/nft" - "github.com/CosmosContracts/juno/v19/app/upgrades" - globalfeettypes "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/app/upgrades" + globalfeettypes "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) // UpgradeName defines the on-chain upgrade name for the upgrade. diff --git a/app/upgrades/v16/upgrades.go b/app/upgrades/v16/upgrades.go index 3084ad2ef..3f476dd2d 100644 --- a/app/upgrades/v16/upgrades.go +++ b/app/upgrades/v16/upgrades.go @@ -30,13 +30,13 @@ 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/v19/app/upgrades" + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" // Juno modules - 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" + 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 CreateV16UpgradeHandler( diff --git a/app/upgrades/v17/constants.go b/app/upgrades/v17/constants.go index 71dfd82a3..11c66056f 100644 --- a/app/upgrades/v17/constants.go +++ b/app/upgrades/v17/constants.go @@ -3,9 +3,9 @@ package v17 import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/CosmosContracts/juno/v19/app/upgrades" - clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types" - driptypes "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/app/upgrades" + clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types" + driptypes "github.com/CosmosContracts/juno/v21/x/drip/types" ) // UpgradeName defines the on-chain upgrade name for the upgrade. diff --git a/app/upgrades/v17/upgrades.go b/app/upgrades/v17/upgrades.go index 61976bcf8..215e27d24 100644 --- a/app/upgrades/v17/upgrades.go +++ b/app/upgrades/v17/upgrades.go @@ -14,10 +14,10 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" 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" - driptypes "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" + clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types" + driptypes "github.com/CosmosContracts/juno/v21/x/drip/types" ) // Verify the following with: diff --git a/app/upgrades/v18/constants.go b/app/upgrades/v18/constants.go index bb338dc8f..6d8a7c96b 100644 --- a/app/upgrades/v18/constants.go +++ b/app/upgrades/v18/constants.go @@ -3,9 +3,9 @@ package v18 import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/CosmosContracts/juno/v19/app/upgrades" - cwhooks "github.com/CosmosContracts/juno/v19/x/cw-hooks" - feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/app/upgrades" + cwhooks "github.com/CosmosContracts/juno/v21/x/cw-hooks" + feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // UpgradeName defines the on-chain upgrade name for the upgrade. diff --git a/app/upgrades/v18/upgrade_test.go b/app/upgrades/v18/upgrade_test.go index 764fe8def..05f2d80f2 100644 --- a/app/upgrades/v18/upgrade_test.go +++ b/app/upgrades/v18/upgrade_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/CosmosContracts/juno/v19/app/apptesting" - v18 "github.com/CosmosContracts/juno/v19/app/upgrades/v18" + "github.com/CosmosContracts/juno/v21/app/apptesting" + v18 "github.com/CosmosContracts/juno/v21/app/upgrades/v18" ) type UpgradeTestSuite struct { diff --git a/app/upgrades/v18/upgrades.go b/app/upgrades/v18/upgrades.go index 937949908..2f310783e 100644 --- a/app/upgrades/v18/upgrades.go +++ b/app/upgrades/v18/upgrades.go @@ -7,10 +7,10 @@ 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" - cwhookstypes "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" - feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" + cwhookstypes "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" + feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types" ) func CreateV18UpgradeHandler( diff --git a/app/upgrades/v19/constants.go b/app/upgrades/v19/constants.go index a2b18b060..86a9a0e19 100644 --- a/app/upgrades/v19/constants.go +++ b/app/upgrades/v19/constants.go @@ -5,7 +5,7 @@ import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/CosmosContracts/juno/v19/app/upgrades" + "github.com/CosmosContracts/juno/v21/app/upgrades" ) const ( diff --git a/app/upgrades/v19/mainnet_account.go b/app/upgrades/v19/mainnet_account.go index d337e4166..192e3dc7e 100644 --- a/app/upgrades/v19/mainnet_account.go +++ b/app/upgrades/v19/mainnet_account.go @@ -9,7 +9,7 @@ import ( vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" - "github.com/CosmosContracts/juno/v19/app/keepers" + "github.com/CosmosContracts/juno/v21/app/keepers" ) const ( diff --git a/app/upgrades/v19/upgrade_test.go b/app/upgrades/v19/upgrade_test.go index ce4a8e11c..95602c768 100644 --- a/app/upgrades/v19/upgrade_test.go +++ b/app/upgrades/v19/upgrade_test.go @@ -11,9 +11,9 @@ import ( vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/CosmosContracts/juno/v19/app/apptesting" - decorators "github.com/CosmosContracts/juno/v19/app/decorators" - v19 "github.com/CosmosContracts/juno/v19/app/upgrades/v19" + "github.com/CosmosContracts/juno/v21/app/apptesting" + decorators "github.com/CosmosContracts/juno/v21/app/decorators" + v19 "github.com/CosmosContracts/juno/v21/app/upgrades/v19" ) type UpgradeTestSuite struct { diff --git a/app/upgrades/v19/upgrades.go b/app/upgrades/v19/upgrades.go index 7e3fac78e..bdda49d09 100644 --- a/app/upgrades/v19/upgrades.go +++ b/app/upgrades/v19/upgrades.go @@ -13,10 +13,10 @@ import ( vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - decorators "github.com/CosmosContracts/juno/v19/app/decorators" - "github.com/CosmosContracts/juno/v19/app/keepers" - "github.com/CosmosContracts/juno/v19/app/upgrades" - clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types" + decorators "github.com/CosmosContracts/juno/v21/app/decorators" + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" + clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types" ) func CreateV19UpgradeHandler( diff --git a/app/upgrades/v21/constants.go b/app/upgrades/v21/constants.go new file mode 100644 index 000000000..bf071896c --- /dev/null +++ b/app/upgrades/v21/constants.go @@ -0,0 +1,18 @@ +package v21 + +import ( + store "github.com/cosmos/cosmos-sdk/store/types" + + "github.com/CosmosContracts/juno/v21/app/upgrades" +) + +// UpgradeName defines the on-chain upgrade name for the upgrade. +const UpgradeName = "v21" + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateV21UpgradeHandler, + StoreUpgrades: store.StoreUpgrades{ + Added: []string{}, + }, +} diff --git a/app/upgrades/v21/upgrade_test.go b/app/upgrades/v21/upgrade_test.go new file mode 100644 index 000000000..cc7380c50 --- /dev/null +++ b/app/upgrades/v21/upgrade_test.go @@ -0,0 +1,39 @@ +package v21_test + +import ( + "testing" + + "github.com/stretchr/testify/suite" + + "github.com/CosmosContracts/juno/v21/app/apptesting" + v21 "github.com/CosmosContracts/juno/v21/app/upgrades/v21" +) + +type UpgradeTestSuite struct { + apptesting.KeeperTestHelper +} + +func (s *UpgradeTestSuite) SetupTest() { + s.Setup() +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(UpgradeTestSuite)) +} + +// Ensures the test does not error out. +func (s *UpgradeTestSuite) TestUpgrade() { + s.Setup() + preUpgradeChecks(s) + + upgradeHeight := int64(5) + s.ConfirmUpgradeSucceeded(v21.UpgradeName, upgradeHeight) + + postUpgradeChecks(s) +} + +func preUpgradeChecks(_ *UpgradeTestSuite) { +} + +func postUpgradeChecks(_ *UpgradeTestSuite) { +} diff --git a/app/upgrades/v21/upgrades.go b/app/upgrades/v21/upgrades.go new file mode 100644 index 000000000..c937dafd6 --- /dev/null +++ b/app/upgrades/v21/upgrades.go @@ -0,0 +1,35 @@ +package v21 + +import ( + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + + "github.com/CosmosContracts/juno/v21/app/keepers" + "github.com/CosmosContracts/juno/v21/app/upgrades" +) + +func CreateV21UpgradeHandler( + mm *module.Manager, + cfg module.Configurator, + _ *keepers.AppKeepers, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + logger := ctx.Logger().With("upgrade", UpgradeName) + + nativeDenom := upgrades.GetChainsDenomToken(ctx.ChainID()) + logger.Info(fmt.Sprintf("With native denom %s", nativeDenom)) + + // Run migrations + logger.Info(fmt.Sprintf("pre migrate version map: %v", vm)) + versionMap, err := mm.RunMigrations(ctx, cfg, vm) + if err != nil { + return nil, err + } + logger.Info(fmt.Sprintf("post migrate version map: %v", versionMap)) + + return versionMap, err + } +} diff --git a/cmd/junod/cmd/balances_from_state_export.go b/cmd/junod/cmd/balances_from_state_export.go index 4cf65c55b..a241e180e 100644 --- a/cmd/junod/cmd/balances_from_state_export.go +++ b/cmd/junod/cmd/balances_from_state_export.go @@ -1,7 +1,7 @@ package cmd // modified from osmosis -// https://github.com/CosmosContracts/juno/v19/blob/main/cmd/osmosisd/cmd/balances_from_state_export.go +// https://github.com/CosmosContracts/juno/v21/blob/main/cmd/osmosisd/cmd/balances_from_state_export.go import ( "encoding/csv" @@ -24,7 +24,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - appparams "github.com/CosmosContracts/juno/v19/app/params" + appparams "github.com/CosmosContracts/juno/v21/app/params" ) const ( diff --git a/cmd/junod/cmd/root.go b/cmd/junod/cmd/root.go index 43530d1c2..4026960ff 100644 --- a/cmd/junod/cmd/root.go +++ b/cmd/junod/cmd/root.go @@ -37,8 +37,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/app/params" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/app/params" ) // NewRootCmd creates a new root command for junod. It is called once in the diff --git a/cmd/junod/main.go b/cmd/junod/main.go index 99472a37b..c2295c3fc 100644 --- a/cmd/junod/main.go +++ b/cmd/junod/main.go @@ -7,8 +7,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/cmd/junod/cmd" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/cmd/junod/cmd" ) func main() { diff --git a/go.mod b/go.mod index 47c888cc8..c5778ac8e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/CosmosContracts/juno/v19 +module github.com/CosmosContracts/juno/v21 go 1.21 diff --git a/interchaintest/chain_upgrade_test.go b/interchaintest/chain_upgrade_test.go index cbc2c3fb1..76e7c5415 100644 --- a/interchaintest/chain_upgrade_test.go +++ b/interchaintest/chain_upgrade_test.go @@ -21,7 +21,7 @@ import ( const ( chainName = "juno" - upgradeName = "v19" + upgradeName = "v21" haltHeightDelta = uint64(9) // will propose upgrade this many blocks in the future blocksAfterUpgrade = uint64(7) @@ -31,7 +31,7 @@ var ( // baseChain is the current version of the chain that will be upgraded from baseChain = ibc.DockerImage{ Repository: JunoMainRepo, - Version: "v18.1.0", + Version: "v20.0.0", UidGid: "1025:1025", } ) diff --git a/interchaintest/go.mod b/interchaintest/go.mod index 818b5db04..9b2f1c0c0 100644 --- a/interchaintest/go.mod +++ b/interchaintest/go.mod @@ -8,7 +8,7 @@ replace ( github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d github.com/ChainSafe/go-schnorrkel/1 => github.com/ChainSafe/go-schnorrkel v1.0.0 // For this nested module, you always want to replace the parent reference with the current worktree. - github.com/CosmosContracts/juno/v19 v19.0.0-00010101000000-000000000000 => ../ + github.com/CosmosContracts/juno/v21 v21.0.0-00010101000000-000000000000 => ../ github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.22.2 //indirect github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/vedhavyas/go-subkey => github.com/strangelove-ventures/go-subkey v1.0.7 @@ -17,7 +17,7 @@ replace ( require ( cosmossdk.io/math v1.2.0 github.com/CosmWasm/wasmd v0.45.0 - github.com/CosmosContracts/juno/v19 v19.0.0-00010101000000-000000000000 + github.com/CosmosContracts/juno/v21 v21.0.0-00010101000000-000000000000 github.com/cosmos/cosmos-sdk v0.47.6 github.com/cosmos/gogoproto v1.4.10 github.com/cosmos/ibc-go/v7 v7.3.1 diff --git a/interchaintest/helpers/tokenfactory.go b/interchaintest/helpers/tokenfactory.go index d2f670db5..9fcd47025 100644 --- a/interchaintest/helpers/tokenfactory.go +++ b/interchaintest/helpers/tokenfactory.go @@ -15,7 +15,7 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func debugOutput(t *testing.T, stdout string) { diff --git a/interchaintest/module_clock_test.go b/interchaintest/module_clock_test.go index 5c49be4a7..0434d9979 100644 --- a/interchaintest/module_clock_test.go +++ b/interchaintest/module_clock_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types" + clocktypes "github.com/CosmosContracts/juno/v21/x/clock/types" cosmosproto "github.com/cosmos/gogoproto/proto" "github.com/strangelove-ventures/interchaintest/v7" "github.com/strangelove-ventures/interchaintest/v7/chain/cosmos" diff --git a/interchaintest/module_globalfee_test.go b/interchaintest/module_globalfee_test.go index 4e991f322..06f162f24 100644 --- a/interchaintest/module_globalfee_test.go +++ b/interchaintest/module_globalfee_test.go @@ -6,7 +6,7 @@ import ( "testing" helpers "github.com/CosmosContracts/juno/tests/interchaintest/helpers" - globalfeetypes "github.com/CosmosContracts/juno/v19/x/globalfee/types" + globalfeetypes "github.com/CosmosContracts/juno/v21/x/globalfee/types" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" cosmosproto "github.com/cosmos/gogoproto/proto" diff --git a/interchaintest/setup.go b/interchaintest/setup.go index f3603b222..7ab0fd83b 100644 --- a/interchaintest/setup.go +++ b/interchaintest/setup.go @@ -18,11 +18,11 @@ import ( testutil "github.com/cosmos/cosmos-sdk/types/module/testutil" ibclocalhost "github.com/cosmos/ibc-go/v7/modules/light-clients/09-localhost" - clocktypes "github.com/CosmosContracts/juno/v19/x/clock/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" - tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + clocktypes "github.com/CosmosContracts/juno/v21/x/clock/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" + tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) var ( diff --git a/x/burn/burner.go b/x/burn/burner.go index c6f51a254..3f18a8a6f 100644 --- a/x/burn/burner.go +++ b/x/burn/burner.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - mintkeeper "github.com/CosmosContracts/juno/v19/x/mint/keeper" + mintkeeper "github.com/CosmosContracts/juno/v21/x/mint/keeper" ) // used to override Wasmd's NewBurnCoinMessageHandler diff --git a/x/clock/abci.go b/x/clock/abci.go index ca15e1489..c35689823 100644 --- a/x/clock/abci.go +++ b/x/clock/abci.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - helpers "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/clock/keeper" - "github.com/CosmosContracts/juno/v19/x/clock/types" + helpers "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/clock/keeper" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) var endBlockSudoMessage = []byte(types.EndBlockSudoMessage) diff --git a/x/clock/abci_test.go b/x/clock/abci_test.go index a4751d853..c9206f025 100644 --- a/x/clock/abci_test.go +++ b/x/clock/abci_test.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - clock "github.com/CosmosContracts/juno/v19/x/clock" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/app" + clock "github.com/CosmosContracts/juno/v21/x/clock" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) type EndBlockerTestSuite struct { diff --git a/x/clock/client/cli/query.go b/x/clock/client/cli/query.go index 147a123b4..6aba410dc 100644 --- a/x/clock/client/cli/query.go +++ b/x/clock/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) func GetQueryCmd() *cobra.Command { diff --git a/x/clock/client/cli/tx.go b/x/clock/client/cli/tx.go index 10a6afff5..c989254ab 100644 --- a/x/clock/client/cli/tx.go +++ b/x/clock/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // NewTxCmd returns a root CLI command handler for certain modules/Clock diff --git a/x/clock/genesis.go b/x/clock/genesis.go index 1a840181a..0fac12a13 100644 --- a/x/clock/genesis.go +++ b/x/clock/genesis.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/clock/keeper" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/keeper" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // NewGenesisState - Create a new genesis state diff --git a/x/clock/genesis_test.go b/x/clock/genesis_test.go index f89aadcb5..4466e2441 100644 --- a/x/clock/genesis_test.go +++ b/x/clock/genesis_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - clock "github.com/CosmosContracts/juno/v19/x/clock" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/app" + clock "github.com/CosmosContracts/juno/v21/x/clock" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) type GenesisTestSuite struct { diff --git a/x/clock/keeper/clock.go b/x/clock/keeper/clock.go index 948a3ad33..8561be4e9 100644 --- a/x/clock/keeper/clock.go +++ b/x/clock/keeper/clock.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/clock/types" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // Store Keys for clock contracts (both jailed and unjailed) diff --git a/x/clock/keeper/keeper.go b/x/clock/keeper/keeper.go index 641fa109a..5ab9b4936 100644 --- a/x/clock/keeper/keeper.go +++ b/x/clock/keeper/keeper.go @@ -10,7 +10,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // Keeper of the clock store diff --git a/x/clock/keeper/keeper_test.go b/x/clock/keeper/keeper_test.go index 77b45d11a..6293ba7a5 100644 --- a/x/clock/keeper/keeper_test.go +++ b/x/clock/keeper/keeper_test.go @@ -18,9 +18,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/clock/keeper" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/clock/keeper" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) type IntegrationTestSuite struct { diff --git a/x/clock/keeper/msg_server.go b/x/clock/keeper/msg_server.go index 634cb1cbd..6acb69c32 100644 --- a/x/clock/keeper/msg_server.go +++ b/x/clock/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) var _ types.MsgServer = &msgServer{} diff --git a/x/clock/keeper/msg_server_test.go b/x/clock/keeper/msg_server_test.go index fa02dc5f3..b38aa219b 100644 --- a/x/clock/keeper/msg_server_test.go +++ b/x/clock/keeper/msg_server_test.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // Test register clock contract. diff --git a/x/clock/keeper/querier.go b/x/clock/keeper/querier.go index 83f1414f9..80d012763 100644 --- a/x/clock/keeper/querier.go +++ b/x/clock/keeper/querier.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/clock/types" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) var _ types.QueryServer = &Querier{} diff --git a/x/clock/keeper/querier_test.go b/x/clock/keeper/querier_test.go index 7a34355ed..30ff4230e 100644 --- a/x/clock/keeper/querier_test.go +++ b/x/clock/keeper/querier_test.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) // Query Clock Params diff --git a/x/clock/module.go b/x/clock/module.go index cfac70574..aa635eb01 100644 --- a/x/clock/module.go +++ b/x/clock/module.go @@ -18,9 +18,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/CosmosContracts/juno/v19/x/clock/client/cli" - "github.com/CosmosContracts/juno/v19/x/clock/keeper" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/client/cli" + "github.com/CosmosContracts/juno/v21/x/clock/keeper" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) const ( diff --git a/x/clock/types/msgs.go b/x/clock/types/msgs.go index 4f8569ecf..44bda46a4 100644 --- a/x/clock/types/msgs.go +++ b/x/clock/types/msgs.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" ) const ( diff --git a/x/clock/types/params_test.go b/x/clock/types/params_test.go index f544e07f9..faec13d38 100644 --- a/x/clock/types/params_test.go +++ b/x/clock/types/params_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v19/x/clock/types" + "github.com/CosmosContracts/juno/v21/x/clock/types" ) func TestParamsValidate(t *testing.T) { diff --git a/x/cw-hooks/client/cli/query.go b/x/cw-hooks/client/cli/query.go index cde34e9a5..d8c35b1b3 100644 --- a/x/cw-hooks/client/cli/query.go +++ b/x/cw-hooks/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) func GetQueryCmd() *cobra.Command { diff --git a/x/cw-hooks/client/cli/tx.go b/x/cw-hooks/client/cli/tx.go index 285d94e00..774843e42 100644 --- a/x/cw-hooks/client/cli/tx.go +++ b/x/cw-hooks/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) // NewTxCmd returns a root CLI command handler for modules diff --git a/x/cw-hooks/genesis.go b/x/cw-hooks/genesis.go index ca3bd40bc..b66e5c92d 100644 --- a/x/cw-hooks/genesis.go +++ b/x/cw-hooks/genesis.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/keeper" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/keeper" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) // NewGenesisState - Create a new genesis state diff --git a/x/cw-hooks/keeper/contracts.go b/x/cw-hooks/keeper/contracts.go index 421365f88..b912fb1f6 100644 --- a/x/cw-hooks/keeper/contracts.go +++ b/x/cw-hooks/keeper/contracts.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - helpers "github.com/CosmosContracts/juno/v19/app/helpers" + helpers "github.com/CosmosContracts/juno/v21/app/helpers" ) func (k Keeper) SetContract(ctx sdk.Context, keyPrefix []byte, contractAddr sdk.AccAddress) { diff --git a/x/cw-hooks/keeper/gov_hooks.go b/x/cw-hooks/keeper/gov_hooks.go index e9f9e839b..f5a331b79 100644 --- a/x/cw-hooks/keeper/gov_hooks.go +++ b/x/cw-hooks/keeper/gov_hooks.go @@ -9,7 +9,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) type GovHooks struct { diff --git a/x/cw-hooks/keeper/keeper.go b/x/cw-hooks/keeper/keeper.go index 9c0de5096..5e7393960 100644 --- a/x/cw-hooks/keeper/keeper.go +++ b/x/cw-hooks/keeper/keeper.go @@ -14,7 +14,7 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) type Keeper struct { diff --git a/x/cw-hooks/keeper/keeper_test.go b/x/cw-hooks/keeper/keeper_test.go index f315ee44e..430ec9af6 100644 --- a/x/cw-hooks/keeper/keeper_test.go +++ b/x/cw-hooks/keeper/keeper_test.go @@ -19,9 +19,9 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/keeper" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/keeper" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) var _ = embed.FS{} diff --git a/x/cw-hooks/keeper/msg_server.go b/x/cw-hooks/keeper/msg_server.go index 56f6eb970..eb363599c 100644 --- a/x/cw-hooks/keeper/msg_server.go +++ b/x/cw-hooks/keeper/msg_server.go @@ -9,7 +9,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) var _ types.MsgServer = &msgServer{} diff --git a/x/cw-hooks/keeper/msg_server_test.go b/x/cw-hooks/keeper/msg_server_test.go index 701854b84..4bacb1676 100644 --- a/x/cw-hooks/keeper/msg_server_test.go +++ b/x/cw-hooks/keeper/msg_server_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) func (s *IntegrationTestSuite) TestRegisterContracts() { diff --git a/x/cw-hooks/keeper/params.go b/x/cw-hooks/keeper/params.go index 9de2d911b..0c7f6debf 100644 --- a/x/cw-hooks/keeper/params.go +++ b/x/cw-hooks/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) // SetParams sets the x/cw-hooks module parameters. diff --git a/x/cw-hooks/keeper/querier.go b/x/cw-hooks/keeper/querier.go index 8b307b3af..7c88440e0 100644 --- a/x/cw-hooks/keeper/querier.go +++ b/x/cw-hooks/keeper/querier.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) var _ types.QueryServer = &Querier{} diff --git a/x/cw-hooks/keeper/querier_test.go b/x/cw-hooks/keeper/querier_test.go index 9efdcce4c..bd06a93a5 100644 --- a/x/cw-hooks/keeper/querier_test.go +++ b/x/cw-hooks/keeper/querier_test.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) func (s *IntegrationTestSuite) TestContracts() { diff --git a/x/cw-hooks/keeper/staking_hooks.go b/x/cw-hooks/keeper/staking_hooks.go index 74c8135ad..a44a4e32d 100644 --- a/x/cw-hooks/keeper/staking_hooks.go +++ b/x/cw-hooks/keeper/staking_hooks.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) // skipUntilHeight allows us to skip gentxs. diff --git a/x/cw-hooks/module.go b/x/cw-hooks/module.go index 19cdb93d9..e09e14bb6 100644 --- a/x/cw-hooks/module.go +++ b/x/cw-hooks/module.go @@ -18,9 +18,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/client/cli" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/keeper" - "github.com/CosmosContracts/juno/v19/x/cw-hooks/types" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/client/cli" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/keeper" + "github.com/CosmosContracts/juno/v21/x/cw-hooks/types" ) const ( diff --git a/x/drip/client/cli/query.go b/x/drip/client/cli/query.go index 47ad1b7c0..244a50458 100644 --- a/x/drip/client/cli/query.go +++ b/x/drip/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/drip/client/cli/tx.go b/x/drip/client/cli/tx.go index ad847a49f..1a663b5b9 100644 --- a/x/drip/client/cli/tx.go +++ b/x/drip/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) // NewTxCmd returns a root CLI command handler for certain modules transaction commands. diff --git a/x/drip/genesis.go b/x/drip/genesis.go index 89449ab5b..f13b65400 100644 --- a/x/drip/genesis.go +++ b/x/drip/genesis.go @@ -3,8 +3,8 @@ package drip import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/keeper" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/keeper" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) // InitGenesis import module genesis diff --git a/x/drip/genesis_test.go b/x/drip/genesis_test.go index 6a8598fc4..f50cd72e7 100644 --- a/x/drip/genesis_test.go +++ b/x/drip/genesis_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - drip "github.com/CosmosContracts/juno/v19/x/drip" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/app" + drip "github.com/CosmosContracts/juno/v21/x/drip" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) type GenesisTestSuite struct { diff --git a/x/drip/keeper/grpc_query.go b/x/drip/keeper/grpc_query.go index e1d3924c3..8be85c4fe 100644 --- a/x/drip/keeper/grpc_query.go +++ b/x/drip/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) var _ types.QueryServer = Querier{} diff --git a/x/drip/keeper/grpc_query_test.go b/x/drip/keeper/grpc_query_test.go index c03ad51d1..f146a179b 100644 --- a/x/drip/keeper/grpc_query_test.go +++ b/x/drip/keeper/grpc_query_test.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) func (s *IntegrationTestSuite) TestDripQueryParams() { diff --git a/x/drip/keeper/keeper.go b/x/drip/keeper/keeper.go index b0848e4eb..01b4ca0b4 100644 --- a/x/drip/keeper/keeper.go +++ b/x/drip/keeper/keeper.go @@ -5,7 +5,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - driptypes "github.com/CosmosContracts/juno/v19/x/drip/types" + driptypes "github.com/CosmosContracts/juno/v21/x/drip/types" ) // Keeper of this module maintains distributing tokens to all stakers. diff --git a/x/drip/keeper/keeper_test.go b/x/drip/keeper/keeper_test.go index 5dca2b55f..f3c561567 100644 --- a/x/drip/keeper/keeper_test.go +++ b/x/drip/keeper/keeper_test.go @@ -12,9 +12,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/drip/keeper" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/drip/keeper" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) type IntegrationTestSuite struct { diff --git a/x/drip/keeper/msg_server.go b/x/drip/keeper/msg_server.go index 15a7fcb6d..dc78095eb 100644 --- a/x/drip/keeper/msg_server.go +++ b/x/drip/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/drip/keeper/msg_server_test.go b/x/drip/keeper/msg_server_test.go index e655082dc..9aebe7310 100644 --- a/x/drip/keeper/msg_server_test.go +++ b/x/drip/keeper/msg_server_test.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) func (s *IntegrationTestSuite) TestDripDistributeTokensMsgs() { diff --git a/x/drip/keeper/params.go b/x/drip/keeper/params.go index 97c691627..668a37b84 100644 --- a/x/drip/keeper/params.go +++ b/x/drip/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) // GetParams returns the current x/drip module parameters. diff --git a/x/drip/module.go b/x/drip/module.go index 59deee55a..c1d521699 100644 --- a/x/drip/module.go +++ b/x/drip/module.go @@ -19,9 +19,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/CosmosContracts/juno/v19/x/drip/client/cli" - "github.com/CosmosContracts/juno/v19/x/drip/keeper" - "github.com/CosmosContracts/juno/v19/x/drip/types" + "github.com/CosmosContracts/juno/v21/x/drip/client/cli" + "github.com/CosmosContracts/juno/v21/x/drip/keeper" + "github.com/CosmosContracts/juno/v21/x/drip/types" ) // type check to ensure the interface is properly implemented diff --git a/x/feepay/ante/deduct_fee.go b/x/feepay/ante/deduct_fee.go index 2713a66d0..7e1200310 100644 --- a/x/feepay/ante/deduct_fee.go +++ b/x/feepay/ante/deduct_fee.go @@ -15,9 +15,9 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feepaykeeper "github.com/CosmosContracts/juno/v19/x/feepay/keeper" - feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types" - globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" + feepaykeeper "github.com/CosmosContracts/juno/v21/x/feepay/keeper" + feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types" + globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" ) // DeductFeeDecorator deducts fees from the first signer of the tx diff --git a/x/feepay/ante/fee_route.go b/x/feepay/ante/fee_route.go index 4c2e900cf..66a9962f8 100644 --- a/x/feepay/ante/fee_route.go +++ b/x/feepay/ante/fee_route.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - feepayhelpers "github.com/CosmosContracts/juno/v19/x/feepay/helpers" - feepaykeeper "github.com/CosmosContracts/juno/v19/x/feepay/keeper" - globalfeeante "github.com/CosmosContracts/juno/v19/x/globalfee/ante" + feepayhelpers "github.com/CosmosContracts/juno/v21/x/feepay/helpers" + feepaykeeper "github.com/CosmosContracts/juno/v21/x/feepay/keeper" + globalfeeante "github.com/CosmosContracts/juno/v21/x/globalfee/ante" ) // MsgFilterDecorator defines an AnteHandler decorator that only checks and saves if a diff --git a/x/feepay/client/cli/query.go b/x/feepay/client/cli/query.go index 7f050b0c0..62a53d92b 100644 --- a/x/feepay/client/cli/query.go +++ b/x/feepay/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // NewQueryCmd returns the cli query commands for this module diff --git a/x/feepay/client/cli/tx.go b/x/feepay/client/cli/tx.go index bd65ccc03..7fe48b5b9 100644 --- a/x/feepay/client/cli/tx.go +++ b/x/feepay/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // NewTxCmd returns a root CLI command handler for certain modules/FeeShare diff --git a/x/feepay/genesis.go b/x/feepay/genesis.go index 5ed933ac6..15d79d428 100644 --- a/x/feepay/genesis.go +++ b/x/feepay/genesis.go @@ -3,8 +3,8 @@ package feepay import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feepay/keeper" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/keeper" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // InitGenesis import module genesis diff --git a/x/feepay/genesis_test.go b/x/feepay/genesis_test.go index 4c97c17cc..49dd9392e 100644 --- a/x/feepay/genesis_test.go +++ b/x/feepay/genesis_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/feepay" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/feepay" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) type GenesisTestSuite struct { diff --git a/x/feepay/helpers/fee_pay_tx_validator.go b/x/feepay/helpers/fee_pay_tx_validator.go index 2b92583b4..9a58ced67 100644 --- a/x/feepay/helpers/fee_pay_tx_validator.go +++ b/x/feepay/helpers/fee_pay_tx_validator.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - feepaykeeper "github.com/CosmosContracts/juno/v19/x/feepay/keeper" + feepaykeeper "github.com/CosmosContracts/juno/v21/x/feepay/keeper" ) // Check if a transaction should be processed as a FeePay transaction. diff --git a/x/feepay/keeper/feepay.go b/x/feepay/keeper/feepay.go index 81c1553d5..d463fe67d 100644 --- a/x/feepay/keeper/feepay.go +++ b/x/feepay/keeper/feepay.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // Check if a contract is registered as a fee pay contract diff --git a/x/feepay/keeper/keeper.go b/x/feepay/keeper/keeper.go index 20215ec23..390739c3c 100644 --- a/x/feepay/keeper/keeper.go +++ b/x/feepay/keeper/keeper.go @@ -12,8 +12,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - feepaytypes "github.com/CosmosContracts/juno/v19/x/feepay/types" - feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types" + feepaytypes "github.com/CosmosContracts/juno/v21/x/feepay/types" + feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) var ( diff --git a/x/feepay/keeper/keeper_test.go b/x/feepay/keeper/keeper_test.go index 3b15b393f..82979cfd0 100644 --- a/x/feepay/keeper/keeper_test.go +++ b/x/feepay/keeper/keeper_test.go @@ -19,9 +19,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/feepay/keeper" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/feepay/keeper" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) type IntegrationTestSuite struct { diff --git a/x/feepay/keeper/msg_server.go b/x/feepay/keeper/msg_server.go index 87598cf2b..12531c0d7 100644 --- a/x/feepay/keeper/msg_server.go +++ b/x/feepay/keeper/msg_server.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/feepay/keeper/msg_server_test.go b/x/feepay/keeper/msg_server_test.go index 54e4ccc01..aa02eeb15 100644 --- a/x/feepay/keeper/msg_server_test.go +++ b/x/feepay/keeper/msg_server_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" // govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) func (s *IntegrationTestSuite) TestRegisterFeePayContract() { diff --git a/x/feepay/keeper/params.go b/x/feepay/keeper/params.go index 2e12f0d7c..b69529fdd 100644 --- a/x/feepay/keeper/params.go +++ b/x/feepay/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // Get the parameters for the fee pay module. diff --git a/x/feepay/keeper/querier.go b/x/feepay/keeper/querier.go index ff5d1b66e..f8dbff43b 100644 --- a/x/feepay/keeper/querier.go +++ b/x/feepay/keeper/querier.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - globalerrors "github.com/CosmosContracts/juno/v19/app/helpers" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + globalerrors "github.com/CosmosContracts/juno/v21/app/helpers" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) var _ types.QueryServer = Querier{} diff --git a/x/feepay/keeper/querier_test.go b/x/feepay/keeper/querier_test.go index a4dfe6ebb..821f614bd 100644 --- a/x/feepay/keeper/querier_test.go +++ b/x/feepay/keeper/querier_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/CosmosContracts/juno/v19/testutil/nullify" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/testutil/nullify" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) func (s *IntegrationTestSuite) TestQueryContract() { diff --git a/x/feepay/module.go b/x/feepay/module.go index dab8cc16c..ef2edb8d9 100644 --- a/x/feepay/module.go +++ b/x/feepay/module.go @@ -19,9 +19,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/CosmosContracts/juno/v19/x/feepay/client/cli" - "github.com/CosmosContracts/juno/v19/x/feepay/keeper" - "github.com/CosmosContracts/juno/v19/x/feepay/types" + "github.com/CosmosContracts/juno/v21/x/feepay/client/cli" + "github.com/CosmosContracts/juno/v21/x/feepay/keeper" + "github.com/CosmosContracts/juno/v21/x/feepay/types" ) // type check to ensure the interface is properly implemented diff --git a/x/feeshare/ante/ante.go b/x/feeshare/ante/ante.go index 7baa3d2f3..5fd3f0fc1 100644 --- a/x/feeshare/ante/ante.go +++ b/x/feeshare/ante/ante.go @@ -12,7 +12,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/authz" - feeshare "github.com/CosmosContracts/juno/v19/x/feeshare/types" + feeshare "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // FeeSharePayoutDecorator Run his after we already deduct the fee from the account with diff --git a/x/feeshare/ante/ante_test.go b/x/feeshare/ante/ante_test.go index adef92ddc..b78a30472 100644 --- a/x/feeshare/ante/ante_test.go +++ b/x/feeshare/ante/ante_test.go @@ -17,10 +17,10 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - ante "github.com/CosmosContracts/juno/v19/x/feeshare/ante" - feesharekeeper "github.com/CosmosContracts/juno/v19/x/feeshare/keeper" - feesharetypes "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/app" + ante "github.com/CosmosContracts/juno/v21/x/feeshare/ante" + feesharekeeper "github.com/CosmosContracts/juno/v21/x/feeshare/keeper" + feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // Define an empty ante handle diff --git a/x/feeshare/ante/expected_keepers.go b/x/feeshare/ante/expected_keepers.go index ac70bea4e..2ddf95cb5 100644 --- a/x/feeshare/ante/expected_keepers.go +++ b/x/feeshare/ante/expected_keepers.go @@ -5,7 +5,7 @@ package ante import ( sdk "github.com/cosmos/cosmos-sdk/types" - revtypes "github.com/CosmosContracts/juno/v19/x/feeshare/types" + revtypes "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) type BankKeeper interface { diff --git a/x/feeshare/client/cli/query.go b/x/feeshare/client/cli/query.go index 0d418eae1..827a406db 100644 --- a/x/feeshare/client/cli/query.go +++ b/x/feeshare/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/feeshare/client/cli/tx.go b/x/feeshare/client/cli/tx.go index cdcfb8484..d494dd3af 100644 --- a/x/feeshare/client/cli/tx.go +++ b/x/feeshare/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // NewTxCmd returns a root CLI command handler for certain modules/FeeShare diff --git a/x/feeshare/genesis.go b/x/feeshare/genesis.go index 41084e03c..55ea1df24 100644 --- a/x/feeshare/genesis.go +++ b/x/feeshare/genesis.go @@ -3,8 +3,8 @@ package feeshare import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // InitGenesis import module genesis diff --git a/x/feeshare/genesis_test.go b/x/feeshare/genesis_test.go index 06da0aff7..c4f4d5358 100644 --- a/x/feeshare/genesis_test.go +++ b/x/feeshare/genesis_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/feeshare" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/feeshare" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) type GenesisTestSuite struct { diff --git a/x/feeshare/integration_test.go b/x/feeshare/integration_test.go index f660d4d97..c1e869ac8 100644 --- a/x/feeshare/integration_test.go +++ b/x/feeshare/integration_test.go @@ -19,8 +19,8 @@ import ( simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" - junoapp "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/mint/types" + junoapp "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // returns context and an app with updated mint keeper diff --git a/x/feeshare/keeper/feeshare.go b/x/feeshare/keeper/feeshare.go index 38f6d163c..8e474d61e 100644 --- a/x/feeshare/keeper/feeshare.go +++ b/x/feeshare/keeper/feeshare.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // GetFeeShares returns all registered FeeShares. diff --git a/x/feeshare/keeper/grpc_query.go b/x/feeshare/keeper/grpc_query.go index a09b0b41f..706e8a980 100644 --- a/x/feeshare/keeper/grpc_query.go +++ b/x/feeshare/keeper/grpc_query.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) var _ types.QueryServer = Querier{} diff --git a/x/feeshare/keeper/grpc_query_test.go b/x/feeshare/keeper/grpc_query_test.go index ce8944f8c..471834e98 100644 --- a/x/feeshare/keeper/grpc_query_test.go +++ b/x/feeshare/keeper/grpc_query_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/CosmosContracts/juno/v19/testutil/nullify" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/testutil/nullify" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) func (s *IntegrationTestSuite) TestFeeShares() { diff --git a/x/feeshare/keeper/keeper.go b/x/feeshare/keeper/keeper.go index abbc97561..a7cc5b941 100644 --- a/x/feeshare/keeper/keeper.go +++ b/x/feeshare/keeper/keeper.go @@ -11,7 +11,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - revtypes "github.com/CosmosContracts/juno/v19/x/feeshare/types" + revtypes "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // Keeper of this module maintains collections of feeshares for contracts diff --git a/x/feeshare/keeper/keeper_test.go b/x/feeshare/keeper/keeper_test.go index 79f26ea68..93d18c32e 100644 --- a/x/feeshare/keeper/keeper_test.go +++ b/x/feeshare/keeper/keeper_test.go @@ -14,9 +14,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // BankKeeper defines the expected interface needed to retrieve account balances. diff --git a/x/feeshare/keeper/migrator.go b/x/feeshare/keeper/migrator.go index cf1905b3b..f08c0ebd6 100644 --- a/x/feeshare/keeper/migrator.go +++ b/x/feeshare/keeper/migrator.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/exported" - v2 "github.com/CosmosContracts/juno/v19/x/feeshare/migrations/v2" + "github.com/CosmosContracts/juno/v21/x/feeshare/exported" + v2 "github.com/CosmosContracts/juno/v21/x/feeshare/migrations/v2" ) // Migrator is a struct for handling in-place state migrations. diff --git a/x/feeshare/keeper/msg_server.go b/x/feeshare/keeper/msg_server.go index 44a763b43..80c1a2fd1 100644 --- a/x/feeshare/keeper/msg_server.go +++ b/x/feeshare/keeper/msg_server.go @@ -11,7 +11,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/feeshare/keeper/msg_server_test.go b/x/feeshare/keeper/msg_server_test.go index eae955c48..39a3c619f 100644 --- a/x/feeshare/keeper/msg_server_test.go +++ b/x/feeshare/keeper/msg_server_test.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) //go:embed testdata/reflect.wasm diff --git a/x/feeshare/keeper/params.go b/x/feeshare/keeper/params.go index f2d3dbeea..ae8092a54 100644 --- a/x/feeshare/keeper/params.go +++ b/x/feeshare/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // GetParams returns the total set of fees parameters. diff --git a/x/feeshare/migrations/v2/migrate.go b/x/feeshare/migrations/v2/migrate.go index 3fc85180e..1aaae8eca 100644 --- a/x/feeshare/migrations/v2/migrate.go +++ b/x/feeshare/migrations/v2/migrate.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/feeshare/exported" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/exported" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) const ( diff --git a/x/feeshare/migrations/v2/migrate_test.go b/x/feeshare/migrations/v2/migrate_test.go index 188845110..d1fd3cd45 100644 --- a/x/feeshare/migrations/v2/migrate_test.go +++ b/x/feeshare/migrations/v2/migrate_test.go @@ -9,10 +9,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/CosmosContracts/juno/v19/x/feeshare" - "github.com/CosmosContracts/juno/v19/x/feeshare/exported" - v2 "github.com/CosmosContracts/juno/v19/x/feeshare/migrations/v2" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare" + "github.com/CosmosContracts/juno/v21/x/feeshare/exported" + v2 "github.com/CosmosContracts/juno/v21/x/feeshare/migrations/v2" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) type mockSubspace struct { diff --git a/x/feeshare/module.go b/x/feeshare/module.go index dc7c44a05..b7104845e 100644 --- a/x/feeshare/module.go +++ b/x/feeshare/module.go @@ -19,10 +19,10 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/CosmosContracts/juno/v19/x/feeshare/client/cli" - "github.com/CosmosContracts/juno/v19/x/feeshare/exported" - "github.com/CosmosContracts/juno/v19/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v19/x/feeshare/types" + "github.com/CosmosContracts/juno/v21/x/feeshare/client/cli" + "github.com/CosmosContracts/juno/v21/x/feeshare/exported" + "github.com/CosmosContracts/juno/v21/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v21/x/feeshare/types" ) // type check to ensure the interface is properly implemented diff --git a/x/globalfee/alias.go b/x/globalfee/alias.go index 2592134ce..bd239f3ac 100644 --- a/x/globalfee/alias.go +++ b/x/globalfee/alias.go @@ -1,7 +1,7 @@ package globalfee import ( - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) const ( diff --git a/x/globalfee/ante/fee.go b/x/globalfee/ante/fee.go index 8336b4619..2655952fc 100644 --- a/x/globalfee/ante/fee.go +++ b/x/globalfee/ante/fee.go @@ -11,7 +11,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" + globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" ) // FeeWithBypassDecorator checks if the transaction's fee is at least as large diff --git a/x/globalfee/client/cli/query.go b/x/globalfee/client/cli/query.go index 19d4b72be..b129ceefe 100644 --- a/x/globalfee/client/cli/query.go +++ b/x/globalfee/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) func GetQueryCmd() *cobra.Command { diff --git a/x/globalfee/genesis_test.go b/x/globalfee/genesis_test.go index bc1547229..b7d95a9ab 100644 --- a/x/globalfee/genesis_test.go +++ b/x/globalfee/genesis_test.go @@ -15,9 +15,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - appparams "github.com/CosmosContracts/juno/v19/app/params" - globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + appparams "github.com/CosmosContracts/juno/v21/app/params" + globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) func TestDefaultGenesis(t *testing.T) { diff --git a/x/globalfee/keeper/keeper.go b/x/globalfee/keeper/keeper.go index bde6581f6..8ec4fee6a 100644 --- a/x/globalfee/keeper/keeper.go +++ b/x/globalfee/keeper/keeper.go @@ -5,7 +5,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) // Keeper of the globalfee store diff --git a/x/globalfee/keeper/migrator.go b/x/globalfee/keeper/migrator.go index 0f5f3b19b..53b460322 100644 --- a/x/globalfee/keeper/migrator.go +++ b/x/globalfee/keeper/migrator.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/CosmosContracts/juno/v19/x/globalfee/migrations/v2" + v2 "github.com/CosmosContracts/juno/v21/x/globalfee/migrations/v2" ) // Migrator is a struct for handling in-place state migrations. diff --git a/x/globalfee/keeper/msg_server.go b/x/globalfee/keeper/msg_server.go index 8b786914a..435eb797d 100644 --- a/x/globalfee/keeper/msg_server.go +++ b/x/globalfee/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/globalfee/migrations/v2/migrate.go b/x/globalfee/migrations/v2/migrate.go index bfebba134..488a88825 100644 --- a/x/globalfee/migrations/v2/migrate.go +++ b/x/globalfee/migrations/v2/migrate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) const ( diff --git a/x/globalfee/migrations/v2/migrator_test.go b/x/globalfee/migrations/v2/migrator_test.go index 05154b1dd..e1bad4c84 100644 --- a/x/globalfee/migrations/v2/migrator_test.go +++ b/x/globalfee/migrations/v2/migrator_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/CosmosContracts/juno/v19/x/globalfee" - v2 "github.com/CosmosContracts/juno/v19/x/globalfee/migrations/v2" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee" + v2 "github.com/CosmosContracts/juno/v21/x/globalfee/migrations/v2" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) func TestMigrateMainnet(t *testing.T) { diff --git a/x/globalfee/module.go b/x/globalfee/module.go index 53539149c..f9f1b6a35 100644 --- a/x/globalfee/module.go +++ b/x/globalfee/module.go @@ -19,9 +19,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/CosmosContracts/juno/v19/x/globalfee/client/cli" - "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/client/cli" + "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) var ( diff --git a/x/globalfee/querier.go b/x/globalfee/querier.go index 7d1233eb0..60e6cb8d6 100644 --- a/x/globalfee/querier.go +++ b/x/globalfee/querier.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) var _ types.QueryServer = &GrpcQuerier{} diff --git a/x/globalfee/querier_test.go b/x/globalfee/querier_test.go index aee9175e8..c51342af5 100644 --- a/x/globalfee/querier_test.go +++ b/x/globalfee/querier_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - globalfeekeeper "github.com/CosmosContracts/juno/v19/x/globalfee/keeper" - "github.com/CosmosContracts/juno/v19/x/globalfee/types" + globalfeekeeper "github.com/CosmosContracts/juno/v21/x/globalfee/keeper" + "github.com/CosmosContracts/juno/v21/x/globalfee/types" ) func TestQueryMinimumGasPrices(t *testing.T) { diff --git a/x/mint/abci.go b/x/mint/abci.go index 5d5c5de55..e1dc455b3 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/keeper" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/keeper" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // BeginBlocker mints new tokens for the previous block. diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 06740ae79..5cec4b200 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // GetQueryCmd returns the cli query commands for the minting module. diff --git a/x/mint/client/testutil/suite.go b/x/mint/client/testutil/suite.go index 1ddf5fe30..a15edf6ba 100644 --- a/x/mint/client/testutil/suite.go +++ b/x/mint/client/testutil/suite.go @@ -13,8 +13,8 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/client/cli" - minttypes "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/client/cli" + minttypes "github.com/CosmosContracts/juno/v21/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 6d0972aca..f6e1906fb 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -3,8 +3,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/keeper" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/keeper" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // InitGenesis new mint genesis diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 320d13e42..dcb6d5d68 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/mint/keeper/grpc_query_test.go b/x/mint/keeper/grpc_query_test.go index b382786af..56afebdb2 100644 --- a/x/mint/keeper/grpc_query_test.go +++ b/x/mint/keeper/grpc_query_test.go @@ -11,8 +11,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) type MintTestSuite struct { diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 3562d92d6..44929076e 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -11,7 +11,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // Keeper of the mint store diff --git a/x/mint/keeper/migrator.go b/x/mint/keeper/migrator.go index e96ee9d7f..3c09c8c7e 100644 --- a/x/mint/keeper/migrator.go +++ b/x/mint/keeper/migrator.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/CosmosContracts/juno/v19/x/mint/migrations/v2" - v3 "github.com/CosmosContracts/juno/v19/x/mint/migrations/v3" + v2 "github.com/CosmosContracts/juno/v21/x/mint/migrations/v2" + v3 "github.com/CosmosContracts/juno/v21/x/mint/migrations/v3" ) // Migrator is a struct for handling in-place state migrations. diff --git a/x/mint/keeper/msg_server.go b/x/mint/keeper/msg_server.go index 8cdca623a..bc91bff23 100644 --- a/x/mint/keeper/msg_server.go +++ b/x/mint/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/mint/keeper/querier.go b/x/mint/keeper/querier.go index fef20eb1d..6eb12b766 100644 --- a/x/mint/keeper/querier.go +++ b/x/mint/keeper/querier.go @@ -6,7 +6,7 @@ package keeper // import ( // abci "github.com/cometbft/cometbft/abci/types" -// "github.com/CosmosContracts/juno/v19/x/mint/types" +// "github.com/CosmosContracts/juno/v21/x/mint/types" // "github.com/cosmos/cosmos-sdk/codec" // sdk "github.com/cosmos/cosmos-sdk/types" // sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/mint/keeper/querier_test.go b/x/mint/keeper/querier_test.go index 8d1fb4ed3..74905f0b1 100644 --- a/x/mint/keeper/querier_test.go +++ b/x/mint/keeper/querier_test.go @@ -7,8 +7,8 @@ package keeper_test // "github.com/stretchr/testify/require" -// keep "github.com/CosmosContracts/juno/v19/x/mint/keeper" -// "github.com/CosmosContracts/juno/v19/x/mint/types" +// keep "github.com/CosmosContracts/juno/v21/x/mint/keeper" +// "github.com/CosmosContracts/juno/v21/x/mint/types" // sdk "github.com/cosmos/cosmos-sdk/types" // abci "github.com/cometbft/cometbft/abci/types" diff --git a/x/mint/migrations/v2/migrate.go b/x/mint/migrations/v2/migrate.go index cafe5b0dd..bc2405e73 100644 --- a/x/mint/migrations/v2/migrate.go +++ b/x/mint/migrations/v2/migrate.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) const ( diff --git a/x/mint/migrations/v3/migrate.go b/x/mint/migrations/v3/migrate.go index 88b5beb7c..2cde373d5 100644 --- a/x/mint/migrations/v3/migrate.go +++ b/x/mint/migrations/v3/migrate.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) const ( diff --git a/x/mint/migrations/v3/migrator_test.go b/x/mint/migrations/v3/migrator_test.go index 13b2ba9d6..73beb1a9e 100644 --- a/x/mint/migrations/v3/migrator_test.go +++ b/x/mint/migrations/v3/migrator_test.go @@ -9,10 +9,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/CosmosContracts/juno/v19/x/mint" - "github.com/CosmosContracts/juno/v19/x/mint/exported" - v3 "github.com/CosmosContracts/juno/v19/x/mint/migrations/v3" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint" + "github.com/CosmosContracts/juno/v21/x/mint/exported" + v3 "github.com/CosmosContracts/juno/v21/x/mint/migrations/v3" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) type mockSubspace struct { diff --git a/x/mint/module.go b/x/mint/module.go index e70bcf154..fb5c94c31 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -17,10 +17,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/CosmosContracts/juno/v19/x/mint/client/cli" - "github.com/CosmosContracts/juno/v19/x/mint/keeper" - "github.com/CosmosContracts/juno/v19/x/mint/simulation" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/client/cli" + "github.com/CosmosContracts/juno/v21/x/mint/keeper" + "github.com/CosmosContracts/juno/v21/x/mint/simulation" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) var ( diff --git a/x/mint/module_test.go b/x/mint/module_test.go index 876ce1779..853b3b5a3 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -12,7 +12,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/nft/testutil" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) func TestItCreatesModuleAccountOnInitBlock(t *testing.T) { diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index 9184ac7e2..d09785dd2 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index c94ceaf06..7e8096d8f 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/CosmosContracts/juno/v19/app" - "github.com/CosmosContracts/juno/v19/x/mint/simulation" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/app" + "github.com/CosmosContracts/juno/v21/x/mint/simulation" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) func TestDecodeStore(t *testing.T) { diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 53b5d65f2..856c9b8da 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // Simulation parameter constants diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index d50318784..e3144e800 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -15,8 +15,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/CosmosContracts/juno/v19/x/mint/simulation" - "github.com/CosmosContracts/juno/v19/x/mint/types" + "github.com/CosmosContracts/juno/v21/x/mint/simulation" + "github.com/CosmosContracts/juno/v21/x/mint/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/tokenfactory/bindings/custom_msg_test.go b/x/tokenfactory/bindings/custom_msg_test.go index 2dc03c46e..f685fa52f 100644 --- a/x/tokenfactory/bindings/custom_msg_test.go +++ b/x/tokenfactory/bindings/custom_msg_test.go @@ -11,9 +11,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - bindings "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/app" + bindings "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func TestCreateDenomMsg(t *testing.T) { diff --git a/x/tokenfactory/bindings/custom_query_test.go b/x/tokenfactory/bindings/custom_query_test.go index ae8a226bf..353f83ce6 100644 --- a/x/tokenfactory/bindings/custom_query_test.go +++ b/x/tokenfactory/bindings/custom_query_test.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/app" - bindings "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" + "github.com/CosmosContracts/juno/v21/app" + bindings "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" ) func TestQueryFullDenom(t *testing.T) { diff --git a/x/tokenfactory/bindings/helpers_test.go b/x/tokenfactory/bindings/helpers_test.go index 9597beb30..7e68b1ad5 100644 --- a/x/tokenfactory/bindings/helpers_test.go +++ b/x/tokenfactory/bindings/helpers_test.go @@ -15,7 +15,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" - "github.com/CosmosContracts/juno/v19/app" + "github.com/CosmosContracts/juno/v21/app" ) func CreateTestInput(t *testing.T) (*app.App, sdk.Context) { diff --git a/x/tokenfactory/bindings/message_plugin.go b/x/tokenfactory/bindings/message_plugin.go index 2a8d86daf..3a6080cd3 100644 --- a/x/tokenfactory/bindings/message_plugin.go +++ b/x/tokenfactory/bindings/message_plugin.go @@ -12,9 +12,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - bindingstypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" - tokenfactorykeeper "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper" - tokenfactorytypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + bindingstypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" + tokenfactorykeeper "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper" + tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // CustomMessageDecorator returns decorator for custom CosmWasm bindings messages diff --git a/x/tokenfactory/bindings/queries.go b/x/tokenfactory/bindings/queries.go index db5db8072..744e45152 100644 --- a/x/tokenfactory/bindings/queries.go +++ b/x/tokenfactory/bindings/queries.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - bindingstypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" - tokenfactorykeeper "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper" + bindingstypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" + tokenfactorykeeper "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper" ) type QueryPlugin struct { diff --git a/x/tokenfactory/bindings/query_plugin.go b/x/tokenfactory/bindings/query_plugin.go index 589055dab..68ec4b9c0 100644 --- a/x/tokenfactory/bindings/query_plugin.go +++ b/x/tokenfactory/bindings/query_plugin.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - bindingstypes "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" + bindingstypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" ) // CustomQuerier dispatches custom CosmWasm bindings queries. diff --git a/x/tokenfactory/bindings/validate_msg_test.go b/x/tokenfactory/bindings/validate_msg_test.go index f0d3755de..ae84deb1c 100644 --- a/x/tokenfactory/bindings/validate_msg_test.go +++ b/x/tokenfactory/bindings/validate_msg_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - wasmbinding "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings" - bindings "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + wasmbinding "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings" + bindings "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func TestCreateDenom(t *testing.T) { diff --git a/x/tokenfactory/bindings/validate_queries_test.go b/x/tokenfactory/bindings/validate_queries_test.go index ad71988d8..017f58297 100644 --- a/x/tokenfactory/bindings/validate_queries_test.go +++ b/x/tokenfactory/bindings/validate_queries_test.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - wasmbinding "github.com/CosmosContracts/juno/v19/x/tokenfactory/bindings" + wasmbinding "github.com/CosmosContracts/juno/v21/x/tokenfactory/bindings" ) func TestFullDenom(t *testing.T) { diff --git a/x/tokenfactory/bindings/wasm.go b/x/tokenfactory/bindings/wasm.go index 671d531b5..97eeaeb87 100644 --- a/x/tokenfactory/bindings/wasm.go +++ b/x/tokenfactory/bindings/wasm.go @@ -5,7 +5,7 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - tokenfactorykeeper "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper" + tokenfactorykeeper "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper" ) func RegisterCustomPlugins( diff --git a/x/tokenfactory/client/cli/query.go b/x/tokenfactory/client/cli/query.go index 9beb680e4..ad32a93e6 100644 --- a/x/tokenfactory/client/cli/query.go +++ b/x/tokenfactory/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/tokenfactory/client/cli/tx.go b/x/tokenfactory/client/cli/tx.go index 2b9970370..7498cd3b0 100644 --- a/x/tokenfactory/client/cli/tx.go +++ b/x/tokenfactory/client/cli/tx.go @@ -13,7 +13,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/tokenfactory/keeper/admins.go b/x/tokenfactory/keeper/admins.go index 7afff6881..958058c9d 100644 --- a/x/tokenfactory/keeper/admins.go +++ b/x/tokenfactory/keeper/admins.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // GetAuthorityMetadata returns the authority metadata for a specific denom diff --git a/x/tokenfactory/keeper/admins_test.go b/x/tokenfactory/keeper/admins_test.go index 507b8f5b1..77c260322 100644 --- a/x/tokenfactory/keeper/admins_test.go +++ b/x/tokenfactory/keeper/admins_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func (suite *KeeperTestSuite) TestAdminMsgs() { diff --git a/x/tokenfactory/keeper/bankactions.go b/x/tokenfactory/keeper/bankactions.go index 3256ce790..ee66fd115 100644 --- a/x/tokenfactory/keeper/bankactions.go +++ b/x/tokenfactory/keeper/bankactions.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func (k Keeper) mintTo(ctx sdk.Context, amount sdk.Coin, mintTo string) error { diff --git a/x/tokenfactory/keeper/createdenom.go b/x/tokenfactory/keeper/createdenom.go index 9c3002b87..047b176b3 100644 --- a/x/tokenfactory/keeper/createdenom.go +++ b/x/tokenfactory/keeper/createdenom.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // ConvertToBaseToken converts a fee amount in a whitelisted fee token to the base fee token amount diff --git a/x/tokenfactory/keeper/createdenom_test.go b/x/tokenfactory/keeper/createdenom_test.go index e8c5250b5..102ff98d7 100644 --- a/x/tokenfactory/keeper/createdenom_test.go +++ b/x/tokenfactory/keeper/createdenom_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/app/apptesting" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/app/apptesting" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func (suite *KeeperTestSuite) TestMsgCreateDenom() { diff --git a/x/tokenfactory/keeper/genesis.go b/x/tokenfactory/keeper/genesis.go index 6279fba97..99d48e0d1 100644 --- a/x/tokenfactory/keeper/genesis.go +++ b/x/tokenfactory/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // InitGenesis initializes the tokenfactory module's state from a provided genesis diff --git a/x/tokenfactory/keeper/genesis_test.go b/x/tokenfactory/keeper/genesis_test.go index 74934b27a..d9cedc6c1 100644 --- a/x/tokenfactory/keeper/genesis_test.go +++ b/x/tokenfactory/keeper/genesis_test.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func (suite *KeeperTestSuite) TestGenesis() { diff --git a/x/tokenfactory/keeper/grpc_query.go b/x/tokenfactory/keeper/grpc_query.go index 417b21f65..185c53dcd 100644 --- a/x/tokenfactory/keeper/grpc_query.go +++ b/x/tokenfactory/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/tokenfactory/keeper/keeper.go b/x/tokenfactory/keeper/keeper.go index 4963002e8..bcbd27f0d 100644 --- a/x/tokenfactory/keeper/keeper.go +++ b/x/tokenfactory/keeper/keeper.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) type ( diff --git a/x/tokenfactory/keeper/keeper_test.go b/x/tokenfactory/keeper/keeper_test.go index 8aab8193a..ac5456b30 100644 --- a/x/tokenfactory/keeper/keeper_test.go +++ b/x/tokenfactory/keeper/keeper_test.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/app/apptesting" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/app/apptesting" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) type KeeperTestSuite struct { diff --git a/x/tokenfactory/keeper/migrator.go b/x/tokenfactory/keeper/migrator.go index c3a0cb663..a0b045490 100644 --- a/x/tokenfactory/keeper/migrator.go +++ b/x/tokenfactory/keeper/migrator.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/exported" - v2 "github.com/CosmosContracts/juno/v19/x/tokenfactory/migrations/v2" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/exported" + v2 "github.com/CosmosContracts/juno/v21/x/tokenfactory/migrations/v2" ) // Migrator is a struct for handling in-place state migrations. diff --git a/x/tokenfactory/keeper/msg_server.go b/x/tokenfactory/keeper/msg_server.go index 9a2c36642..35d8ff165 100644 --- a/x/tokenfactory/keeper/msg_server.go +++ b/x/tokenfactory/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) type msgServer struct { diff --git a/x/tokenfactory/keeper/msg_server_test.go b/x/tokenfactory/keeper/msg_server_test.go index cbe754890..54263bcf6 100644 --- a/x/tokenfactory/keeper/msg_server_test.go +++ b/x/tokenfactory/keeper/msg_server_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // TestMintDenomMsg tests TypeMsgMint message is emitted on a successful mint diff --git a/x/tokenfactory/keeper/params.go b/x/tokenfactory/keeper/params.go index 640a99ec4..104689e04 100644 --- a/x/tokenfactory/keeper/params.go +++ b/x/tokenfactory/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // GetParams returns the total set params. diff --git a/x/tokenfactory/migrations/v2/migrate.go b/x/tokenfactory/migrations/v2/migrate.go index 6b2c7bd80..621554d4c 100644 --- a/x/tokenfactory/migrations/v2/migrate.go +++ b/x/tokenfactory/migrations/v2/migrate.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/exported" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/exported" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) const ModuleName = "tokenfactory" diff --git a/x/tokenfactory/migrations/v2/migrate_test.go b/x/tokenfactory/migrations/v2/migrate_test.go index c9c7e61cb..72490aeff 100644 --- a/x/tokenfactory/migrations/v2/migrate_test.go +++ b/x/tokenfactory/migrations/v2/migrate_test.go @@ -9,10 +9,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/CosmosContracts/juno/v19/x/tokenfactory" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/exported" - v2 "github.com/CosmosContracts/juno/v19/x/tokenfactory/migrations/v2" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/exported" + v2 "github.com/CosmosContracts/juno/v21/x/tokenfactory/migrations/v2" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) type mockSubspace struct { diff --git a/x/tokenfactory/module.go b/x/tokenfactory/module.go index 6dd571b0f..0fd99d307 100644 --- a/x/tokenfactory/module.go +++ b/x/tokenfactory/module.go @@ -26,11 +26,11 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/client/cli" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/exported" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/keeper" - simulation "github.com/CosmosContracts/juno/v19/x/tokenfactory/simulation" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/client/cli" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/exported" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/keeper" + simulation "github.com/CosmosContracts/juno/v21/x/tokenfactory/simulation" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) var ( diff --git a/x/tokenfactory/simulation/genesis.go b/x/tokenfactory/simulation/genesis.go index b9c746b34..9b339af10 100644 --- a/x/tokenfactory/simulation/genesis.go +++ b/x/tokenfactory/simulation/genesis.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - appparams "github.com/CosmosContracts/juno/v19/app/params" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + appparams "github.com/CosmosContracts/juno/v21/app/params" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func RandDenomCreationFeeParam(r *rand.Rand) sdk.Coins { diff --git a/x/tokenfactory/simulation/operations.go b/x/tokenfactory/simulation/operations.go index f4d1ca8a0..50d2ee301 100644 --- a/x/tokenfactory/simulation/operations.go +++ b/x/tokenfactory/simulation/operations.go @@ -10,8 +10,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/simulation" - appparams "github.com/CosmosContracts/juno/v19/app/params" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + appparams "github.com/CosmosContracts/juno/v21/app/params" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // Simulation operation weights constants diff --git a/x/tokenfactory/types/denoms_test.go b/x/tokenfactory/types/denoms_test.go index e9268d9a3..b905f9047 100644 --- a/x/tokenfactory/types/denoms_test.go +++ b/x/tokenfactory/types/denoms_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func TestDeconstructDenom(t *testing.T) { diff --git a/x/tokenfactory/types/genesis_test.go b/x/tokenfactory/types/genesis_test.go index 120e9fd60..5727b4171 100644 --- a/x/tokenfactory/types/genesis_test.go +++ b/x/tokenfactory/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/tokenfactory/types/msgs_test.go b/x/tokenfactory/types/msgs_test.go index 494ae0dad..2fc26f43c 100644 --- a/x/tokenfactory/types/msgs_test.go +++ b/x/tokenfactory/types/msgs_test.go @@ -11,8 +11,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/testhelpers" - "github.com/CosmosContracts/juno/v19/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/testhelpers" + "github.com/CosmosContracts/juno/v21/x/tokenfactory/types" ) // Test authz serialize and de-serializes for tokenfactory msg.