From 976113b18e3c5d99a561344ef242bf50227129f3 Mon Sep 17 00:00:00 2001 From: Eric Warehime Date: Thu, 16 Jan 2025 13:37:22 -0800 Subject: [PATCH 1/2] Bump to v23 --- .github/workflows/test.yml | 6 ++-- ante/ante.go | 2 +- ante/gov_expedited_ante.go | 2 +- ante/gov_expedited_ante_test.go | 4 +-- ante/gov_vote_ante.go | 2 +- ante/gov_vote_ante_test.go | 4 +-- app/app.go | 8 ++--- app/app_test.go | 4 +-- app/helpers/test_helpers.go | 2 +- app/modules.go | 4 +-- app/post.go | 2 +- app/sim/sim_state.go | 2 +- app/sim/sim_utils.go | 2 +- app/sim_bench_test.go | 4 +-- app/sim_test.go | 6 ++-- app/upgrades/types.go | 2 +- app/upgrades/v19/constants.go | 2 +- app/upgrades/v19/upgrades.go | 2 +- app/upgrades/v20/constants.go | 2 +- app/upgrades/v20/upgrades.go | 2 +- app/upgrades/v20/upgrades_test.go | 4 +-- app/upgrades/v21/constants.go | 2 +- app/upgrades/v21/upgrades.go | 2 +- app/upgrades/v21/upgrades_test.go | 4 +-- app/upgrades/v22/constants.go | 2 +- app/upgrades/v22/upgrades.go | 2 +- app/upgrades/v22/upgrades_test.go | 2 +- app/upgrades/v23/constants.go | 15 +++++++++ app/upgrades/v23/upgrades.go | 33 +++++++++++++++++++ cmd/gaiad/cmd/bech32_convert.go | 2 +- cmd/gaiad/cmd/root.go | 2 +- cmd/gaiad/cmd/root_test.go | 4 +-- cmd/gaiad/cmd/testnet_set_local_validator.go | 2 +- cmd/gaiad/main.go | 4 +-- go.mod | 2 +- tests/e2e/chain.go | 6 ++-- tests/e2e/e2e_bank_test.go | 2 +- tests/e2e/e2e_setup_test.go | 2 +- tests/integration/feemarket_test.go | 4 +-- tests/integration/ibcfee_test.go | 4 +-- tests/integration/interchain_security_test.go | 4 +-- tests/integration/test_utils.go | 2 +- .../consumer_chain/changeover_test.go | 2 +- .../consumer_chain/consumer_launch_test.go | 2 +- .../consumer_modification_test.go | 2 +- .../consumer_chain/mainnet_consumers_test.go | 2 +- .../consumer_chain/unbonding_test.go | 2 +- tests/interchain/delegator/authz_test.go | 4 +-- tests/interchain/delegator/bank_test.go | 5 ++- tests/interchain/delegator/cosmwasm_test.go | 4 +-- tests/interchain/delegator/evidence_test.go | 5 ++- tests/interchain/delegator/feegrant_test.go | 4 +-- tests/interchain/delegator/gov_test.go | 4 +-- tests/interchain/delegator/ica_test.go | 4 +-- tests/interchain/delegator/lsm_test.go | 2 +- tests/interchain/delegator/multisig_test.go | 4 +-- tests/interchain/delegator/pfm_test.go | 8 ++--- tests/interchain/delegator/staking_test.go | 4 +-- tests/interchain/delegator/suite.go | 2 +- tests/interchain/go.mod | 2 +- tests/interchain/integrator/endpoints_test.go | 2 +- tests/interchain/validator/config_test.go | 6 ++-- tests/interchain/validator/feemarket_test.go | 3 +- .../validator/inactive_validator_test.go | 2 +- tests/interchain/validator/unbond_test.go | 2 +- x/metaprotocols/module.go | 2 +- 66 files changed, 147 insertions(+), 102 deletions(-) create mode 100644 app/upgrades/v23/constants.go create mode 100644 app/upgrades/v23/upgrades.go diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7059b62593..3d4cda6c24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -163,10 +163,10 @@ jobs: # the old gaiad binary version is hardcoded, need to be updated each major release. - name: Install Old Gaiad run: | - curl -LO https://github.com/cosmos/gaia/releases/download/v21.0.0/gaiad-v21.0.0-linux-amd64 - chmod a+x gaiad-v21.0.0-linux-amd64 + curl -LO https://github.com/cosmos/gaia/releases/download/v22.0.0/gaiad-v22.0.0-linux-amd64 + chmod a+x gaiad-v22.0.0-linux-amd64 mkdir build - mv ./gaiad-v21.0.0-linux-amd64 ./build/gaiadold + mv ./gaiad-v22.0.0-linux-amd64 ./build/gaiadold if: env.GIT_DIFF - name: Install New Gaiad run: | diff --git a/ante/ante.go b/ante/ante.go index aee2a85a17..3e16abfd9e 100644 --- a/ante/ante.go +++ b/ante/ante.go @@ -22,7 +22,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - gaiaerrors "github.com/cosmos/gaia/v22/types/errors" + gaiaerrors "github.com/cosmos/gaia/v23/types/errors" ) // UseFeeMarketDecorator to make the integration testing easier: we can switch off its ante and post decorators with this flag diff --git a/ante/gov_expedited_ante.go b/ante/gov_expedited_ante.go index f15538fa91..5a4f2bd52a 100644 --- a/ante/gov_expedited_ante.go +++ b/ante/gov_expedited_ante.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - gaiaerrors "github.com/cosmos/gaia/v22/types/errors" + gaiaerrors "github.com/cosmos/gaia/v23/types/errors" ) var expeditedPropDecoratorEnabled = true diff --git a/ante/gov_expedited_ante_test.go b/ante/gov_expedited_ante_test.go index d1d5928fb9..0533d56ad0 100644 --- a/ante/gov_expedited_ante_test.go +++ b/ante/gov_expedited_ante_test.go @@ -14,8 +14,8 @@ import ( govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/cosmos/gaia/v22/ante" - "github.com/cosmos/gaia/v22/app/helpers" + "github.com/cosmos/gaia/v23/ante" + "github.com/cosmos/gaia/v23/app/helpers" ) func TestGovExpeditedProposalsDecorator(t *testing.T) { diff --git a/ante/gov_vote_ante.go b/ante/gov_vote_ante.go index 9465987c70..a66b2db809 100644 --- a/ante/gov_vote_ante.go +++ b/ante/gov_vote_ante.go @@ -12,7 +12,7 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - gaiaerrors "github.com/cosmos/gaia/v22/types/errors" + gaiaerrors "github.com/cosmos/gaia/v23/types/errors" ) var ( diff --git a/ante/gov_vote_ante_test.go b/ante/gov_vote_ante_test.go index 7ce69e723e..8783df5b10 100644 --- a/ante/gov_vote_ante_test.go +++ b/ante/gov_vote_ante_test.go @@ -15,8 +15,8 @@ import ( govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/gaia/v22/ante" - "github.com/cosmos/gaia/v22/app/helpers" + "github.com/cosmos/gaia/v23/ante" + "github.com/cosmos/gaia/v23/app/helpers" ) // Test that the GovVoteDecorator rejects v1beta1 vote messages from accounts with less than 1 atom staked diff --git a/app/app.go b/app/app.go index 277970e8ea..034ea73065 100644 --- a/app/app.go +++ b/app/app.go @@ -66,10 +66,10 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - gaiaante "github.com/cosmos/gaia/v22/ante" - "github.com/cosmos/gaia/v22/app/keepers" - "github.com/cosmos/gaia/v22/app/upgrades" - v22 "github.com/cosmos/gaia/v22/app/upgrades/v22" + gaiaante "github.com/cosmos/gaia/v23/ante" + "github.com/cosmos/gaia/v23/app/keepers" + "github.com/cosmos/gaia/v23/app/upgrades" + v22 "github.com/cosmos/gaia/v23/app/upgrades/v22" ) var ( diff --git a/app/app_test.go b/app/app_test.go index 55511df2b7..b633cac01e 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -14,8 +14,8 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - gaia "github.com/cosmos/gaia/v22/app" - gaiahelpers "github.com/cosmos/gaia/v22/app/helpers" + gaia "github.com/cosmos/gaia/v23/app" + gaiahelpers "github.com/cosmos/gaia/v23/app/helpers" ) type EmptyAppOptions struct{} diff --git a/app/helpers/test_helpers.go b/app/helpers/test_helpers.go index 3c341b4a4b..cb55947802 100644 --- a/app/helpers/test_helpers.go +++ b/app/helpers/test_helpers.go @@ -30,7 +30,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - gaiaapp "github.com/cosmos/gaia/v22/app" + gaiaapp "github.com/cosmos/gaia/v23/app" ) // SimAppChainID hardcoded chainID for simulation diff --git a/app/modules.go b/app/modules.go index 59015ba9f7..2d38d1d61a 100644 --- a/app/modules.go +++ b/app/modules.go @@ -62,8 +62,8 @@ import ( wasm "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/cosmos/gaia/v22/x/metaprotocols" - metaprotocolstypes "github.com/cosmos/gaia/v22/x/metaprotocols/types" + "github.com/cosmos/gaia/v23/x/metaprotocols" + metaprotocolstypes "github.com/cosmos/gaia/v23/x/metaprotocols/types" ) var maccPerms = map[string][]string{ diff --git a/app/post.go b/app/post.go index fc9ceaa3f3..b4d79bd1a4 100644 --- a/app/post.go +++ b/app/post.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/cosmos/gaia/v22/ante" + "github.com/cosmos/gaia/v23/ante" ) // PostHandlerOptions are the options required for constructing a FeeMarket PostHandler. diff --git a/app/sim/sim_state.go b/app/sim/sim_state.go index 32848202bb..b5b543e672 100644 --- a/app/sim/sim_state.go +++ b/app/sim/sim_state.go @@ -23,7 +23,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - gaia "github.com/cosmos/gaia/v22/app" + gaia "github.com/cosmos/gaia/v23/app" ) // Simulation parameter constants diff --git a/app/sim/sim_utils.go b/app/sim/sim_utils.go index 98c54124b2..bf7236ee2b 100644 --- a/app/sim/sim_utils.go +++ b/app/sim/sim_utils.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - gaia "github.com/cosmos/gaia/v22/app" + gaia "github.com/cosmos/gaia/v23/app" ) // SimulationOperations retrieves the simulation params from the provided file path diff --git a/app/sim_bench_test.go b/app/sim_bench_test.go index 81eb604241..4d0cace7cb 100644 --- a/app/sim_bench_test.go +++ b/app/sim_bench_test.go @@ -13,8 +13,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" - gaia "github.com/cosmos/gaia/v22/app" - "github.com/cosmos/gaia/v22/app/sim" + gaia "github.com/cosmos/gaia/v23/app" + "github.com/cosmos/gaia/v23/app/sim" ) // Profile with: diff --git a/app/sim_test.go b/app/sim_test.go index 48c36ccc0b..839f144d6b 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -23,11 +23,11 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" - "github.com/cosmos/gaia/v22/ante" - gaia "github.com/cosmos/gaia/v22/app" + "github.com/cosmos/gaia/v23/ante" + gaia "github.com/cosmos/gaia/v23/app" // "github.com/cosmos/gaia/v11/app/helpers" // "github.com/cosmos/gaia/v11/app/params" - "github.com/cosmos/gaia/v22/app/sim" + "github.com/cosmos/gaia/v23/app/sim" ) // AppChainID hardcoded chainID for simulation diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 684aa583e6..7446bc3896 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/gaia/v22/app/keepers" + "github.com/cosmos/gaia/v23/app/keepers" ) // Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal diff --git a/app/upgrades/v19/constants.go b/app/upgrades/v19/constants.go index c3563d4938..61c4701d8f 100644 --- a/app/upgrades/v19/constants.go +++ b/app/upgrades/v19/constants.go @@ -1,7 +1,7 @@ package v19 import ( - "github.com/cosmos/gaia/v22/app/upgrades" + "github.com/cosmos/gaia/v23/app/upgrades" ) const ( diff --git a/app/upgrades/v19/upgrades.go b/app/upgrades/v19/upgrades.go index 701888f12d..9758adcaf6 100644 --- a/app/upgrades/v19/upgrades.go +++ b/app/upgrades/v19/upgrades.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/gaia/v22/app/keepers" + "github.com/cosmos/gaia/v23/app/keepers" ) func CreateUpgradeHandler( diff --git a/app/upgrades/v20/constants.go b/app/upgrades/v20/constants.go index 3ef7b0bff9..26173c6c6f 100644 --- a/app/upgrades/v20/constants.go +++ b/app/upgrades/v20/constants.go @@ -1,7 +1,7 @@ package v20 import ( - "github.com/cosmos/gaia/v22/app/upgrades" + "github.com/cosmos/gaia/v23/app/upgrades" ) const ( diff --git a/app/upgrades/v20/upgrades.go b/app/upgrades/v20/upgrades.go index ea80912cd7..41d3f4910d 100644 --- a/app/upgrades/v20/upgrades.go +++ b/app/upgrades/v20/upgrades.go @@ -23,7 +23,7 @@ import ( govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/cosmos/gaia/v22/app/keepers" + "github.com/cosmos/gaia/v23/app/keepers" ) // Constants for the new parameters in the v20 upgrade. diff --git a/app/upgrades/v20/upgrades_test.go b/app/upgrades/v20/upgrades_test.go index a896cb9747..98eb41fd86 100644 --- a/app/upgrades/v20/upgrades_test.go +++ b/app/upgrades/v20/upgrades_test.go @@ -21,8 +21,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/cosmos/gaia/v22/app/helpers" - v20 "github.com/cosmos/gaia/v22/app/upgrades/v20" + "github.com/cosmos/gaia/v23/app/helpers" + v20 "github.com/cosmos/gaia/v23/app/upgrades/v20" ) func GetTestMsgConsumerAddition() providertypes.MsgConsumerAddition { //nolint:staticcheck diff --git a/app/upgrades/v21/constants.go b/app/upgrades/v21/constants.go index 673f744e67..ee16427648 100644 --- a/app/upgrades/v21/constants.go +++ b/app/upgrades/v21/constants.go @@ -1,7 +1,7 @@ package v21 import ( - "github.com/cosmos/gaia/v22/app/upgrades" + "github.com/cosmos/gaia/v23/app/upgrades" ) const ( diff --git a/app/upgrades/v21/upgrades.go b/app/upgrades/v21/upgrades.go index 983b1a6ea8..d722297df6 100644 --- a/app/upgrades/v21/upgrades.go +++ b/app/upgrades/v21/upgrades.go @@ -18,7 +18,7 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govparams "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/cosmos/gaia/v22/app/keepers" + "github.com/cosmos/gaia/v23/app/keepers" ) // Neutron and Stride denoms that were not whitelisted but the consumer rewards pool contains amounts of those denoms. diff --git a/app/upgrades/v21/upgrades_test.go b/app/upgrades/v21/upgrades_test.go index 5e48c3c8d8..3ed4855117 100644 --- a/app/upgrades/v21/upgrades_test.go +++ b/app/upgrades/v21/upgrades_test.go @@ -9,8 +9,8 @@ import ( govparams "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/cosmos/gaia/v22/app/helpers" - v21 "github.com/cosmos/gaia/v22/app/upgrades/v21" + "github.com/cosmos/gaia/v23/app/helpers" + v21 "github.com/cosmos/gaia/v23/app/upgrades/v21" ) func TestHasExpectedChainIDSanityCheck(t *testing.T) { diff --git a/app/upgrades/v22/constants.go b/app/upgrades/v22/constants.go index a207708c92..9c8b0ae655 100644 --- a/app/upgrades/v22/constants.go +++ b/app/upgrades/v22/constants.go @@ -1,7 +1,7 @@ package v22 import ( - "github.com/cosmos/gaia/v22/app/upgrades" + "github.com/cosmos/gaia/v23/app/upgrades" ) const ( diff --git a/app/upgrades/v22/upgrades.go b/app/upgrades/v22/upgrades.go index 278c192d0c..1beff4ce45 100644 --- a/app/upgrades/v22/upgrades.go +++ b/app/upgrades/v22/upgrades.go @@ -12,7 +12,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/gaia/v22/app/keepers" + "github.com/cosmos/gaia/v23/app/keepers" ) // CreateUpgradeHandler returns an upgrade handler for Gaia v22. diff --git a/app/upgrades/v22/upgrades_test.go b/app/upgrades/v22/upgrades_test.go index aa99c090c3..24c17888ea 100644 --- a/app/upgrades/v22/upgrades_test.go +++ b/app/upgrades/v22/upgrades_test.go @@ -11,7 +11,7 @@ import ( "cosmossdk.io/math" - v22 "github.com/cosmos/gaia/v22/app/upgrades/v22" + v22 "github.com/cosmos/gaia/v23/app/upgrades/v22" ) func TestSetDefaultConsumerInfractionParams(t *testing.T) { diff --git a/app/upgrades/v23/constants.go b/app/upgrades/v23/constants.go new file mode 100644 index 0000000000..a7a8447558 --- /dev/null +++ b/app/upgrades/v23/constants.go @@ -0,0 +1,15 @@ +package v23 + +import ( + "github.com/cosmos/gaia/v23/app/upgrades" +) + +const ( + // UpgradeName defines the on-chain upgrade name. + UpgradeName = "v23" +) + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateUpgradeHandler, +} diff --git a/app/upgrades/v23/upgrades.go b/app/upgrades/v23/upgrades.go new file mode 100644 index 0000000000..2050d518bf --- /dev/null +++ b/app/upgrades/v23/upgrades.go @@ -0,0 +1,33 @@ +package v23 + +import ( + "context" + + errorsmod "cosmossdk.io/errors" + upgradetypes "cosmossdk.io/x/upgrade/types" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + + "github.com/cosmos/gaia/v23/app/keepers" +) + +// CreateUpgradeHandler returns an upgrade handler for Gaia v23. +func CreateUpgradeHandler( + mm *module.Manager, + configurator module.Configurator, + keepers *keepers.AppKeepers, +) upgradetypes.UpgradeHandler { + return func(c context.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + ctx := sdk.UnwrapSDKContext(c) + ctx.Logger().Info("Starting module migrations...") + + vm, err := mm.RunMigrations(ctx, configurator, vm) + if err != nil { + return vm, errorsmod.Wrapf(err, "running module migrations") + } + + ctx.Logger().Info("Upgrade v23 complete") + return vm, nil + } +} diff --git a/cmd/gaiad/cmd/bech32_convert.go b/cmd/gaiad/cmd/bech32_convert.go index 0e51e30438..2bb1cd22bd 100644 --- a/cmd/gaiad/cmd/bech32_convert.go +++ b/cmd/gaiad/cmd/bech32_convert.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - addressutil "github.com/cosmos/gaia/v22/pkg/address" + addressutil "github.com/cosmos/gaia/v23/pkg/address" ) var flagBech32Prefix = "prefix" diff --git a/cmd/gaiad/cmd/root.go b/cmd/gaiad/cmd/root.go index 64d1b40df9..3e444ed659 100644 --- a/cmd/gaiad/cmd/root.go +++ b/cmd/gaiad/cmd/root.go @@ -57,7 +57,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - gaia "github.com/cosmos/gaia/v22/app" + gaia "github.com/cosmos/gaia/v23/app" ) // NewRootCmd creates a new root command for simd. It is called once in the diff --git a/cmd/gaiad/cmd/root_test.go b/cmd/gaiad/cmd/root_test.go index ff841d4e7a..b196db169e 100644 --- a/cmd/gaiad/cmd/root_test.go +++ b/cmd/gaiad/cmd/root_test.go @@ -7,8 +7,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - app "github.com/cosmos/gaia/v22/app" - "github.com/cosmos/gaia/v22/cmd/gaiad/cmd" + app "github.com/cosmos/gaia/v23/app" + "github.com/cosmos/gaia/v23/cmd/gaiad/cmd" ) func TestRootCmdConfig(t *testing.T) { diff --git a/cmd/gaiad/cmd/testnet_set_local_validator.go b/cmd/gaiad/cmd/testnet_set_local_validator.go index d877d95620..2839f4ab80 100644 --- a/cmd/gaiad/cmd/testnet_set_local_validator.go +++ b/cmd/gaiad/cmd/testnet_set_local_validator.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - gaia "github.com/cosmos/gaia/v22/app" + gaia "github.com/cosmos/gaia/v23/app" "cosmossdk.io/log" "github.com/cometbft/cometbft/crypto" diff --git a/cmd/gaiad/main.go b/cmd/gaiad/main.go index 7c22e003d2..04e9548d7f 100644 --- a/cmd/gaiad/main.go +++ b/cmd/gaiad/main.go @@ -5,8 +5,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - app "github.com/cosmos/gaia/v22/app" - "github.com/cosmos/gaia/v22/cmd/gaiad/cmd" + app "github.com/cosmos/gaia/v23/app" + "github.com/cosmos/gaia/v23/cmd/gaiad/cmd" ) func main() { diff --git a/go.mod b/go.mod index 9f22196b2f..079f730561 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cosmos/gaia/v22 +module github.com/cosmos/gaia/v23 go 1.22.7 diff --git a/tests/e2e/chain.go b/tests/e2e/chain.go index bec958ef9c..627b217b58 100644 --- a/tests/e2e/chain.go +++ b/tests/e2e/chain.go @@ -27,9 +27,9 @@ import ( paramsproptypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - gaia "github.com/cosmos/gaia/v22/app" - gaiaparams "github.com/cosmos/gaia/v22/app/params" - metaprotocoltypes "github.com/cosmos/gaia/v22/x/metaprotocols/types" + gaia "github.com/cosmos/gaia/v23/app" + gaiaparams "github.com/cosmos/gaia/v23/app/params" + metaprotocoltypes "github.com/cosmos/gaia/v23/x/metaprotocols/types" ) const ( diff --git a/tests/e2e/e2e_bank_test.go b/tests/e2e/e2e_bank_test.go index 697940b09b..0e6b55de99 100644 --- a/tests/e2e/e2e_bank_test.go +++ b/tests/e2e/e2e_bank_test.go @@ -12,7 +12,7 @@ import ( authTx "github.com/cosmos/cosmos-sdk/x/auth/tx" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - extensiontypes "github.com/cosmos/gaia/v22/x/metaprotocols/types" + extensiontypes "github.com/cosmos/gaia/v23/x/metaprotocols/types" ) func (s *IntegrationTestSuite) testBankTokenTransfer() { diff --git a/tests/e2e/e2e_setup_test.go b/tests/e2e/e2e_setup_test.go index fec21da34e..7fbb348ce1 100644 --- a/tests/e2e/e2e_setup_test.go +++ b/tests/e2e/e2e_setup_test.go @@ -43,7 +43,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/gaia/v22/types" + "github.com/cosmos/gaia/v23/types" ) const ( diff --git a/tests/integration/feemarket_test.go b/tests/integration/feemarket_test.go index c855c6a1ca..45a61ef65c 100644 --- a/tests/integration/feemarket_test.go +++ b/tests/integration/feemarket_test.go @@ -14,8 +14,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/cosmos/gaia/v22/ante" - gaiaApp "github.com/cosmos/gaia/v22/app" + "github.com/cosmos/gaia/v23/ante" + gaiaApp "github.com/cosmos/gaia/v23/app" ) const ( diff --git a/tests/integration/ibcfee_test.go b/tests/integration/ibcfee_test.go index c1717bc420..4ece2d5301 100644 --- a/tests/integration/ibcfee_test.go +++ b/tests/integration/ibcfee_test.go @@ -14,8 +14,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/gaia/v22/ante" - gaiaApp "github.com/cosmos/gaia/v22/app" + "github.com/cosmos/gaia/v23/ante" + gaiaApp "github.com/cosmos/gaia/v23/app" ) // These integration tests were modified to work with the GaiaApp diff --git a/tests/integration/interchain_security_test.go b/tests/integration/interchain_security_test.go index 1289c96c9a..f1b317f881 100644 --- a/tests/integration/interchain_security_test.go +++ b/tests/integration/interchain_security_test.go @@ -17,8 +17,8 @@ import ( crysistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/cosmos/gaia/v22/ante" - gaiaApp "github.com/cosmos/gaia/v22/app" + "github.com/cosmos/gaia/v23/ante" + gaiaApp "github.com/cosmos/gaia/v23/app" ) var ccvSuite *integration.CCVTestSuite diff --git a/tests/integration/test_utils.go b/tests/integration/test_utils.go index f4e1c425ea..2f2a25bdd2 100644 --- a/tests/integration/test_utils.go +++ b/tests/integration/test_utils.go @@ -23,7 +23,7 @@ import ( simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" - gaiaApp "github.com/cosmos/gaia/v22/app" + gaiaApp "github.com/cosmos/gaia/v23/app" ) var app *gaiaApp.GaiaApp diff --git a/tests/interchain/consumer_chain/changeover_test.go b/tests/interchain/consumer_chain/changeover_test.go index e14c96a25d..8f1a859f8f 100644 --- a/tests/interchain/consumer_chain/changeover_test.go +++ b/tests/interchain/consumer_chain/changeover_test.go @@ -11,7 +11,7 @@ import ( sdkmath "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" providertypes "github.com/cosmos/interchain-security/v5/x/ccv/provider/types" "github.com/strangelove-ventures/interchaintest/v8" diff --git a/tests/interchain/consumer_chain/consumer_launch_test.go b/tests/interchain/consumer_chain/consumer_launch_test.go index ca14672f49..a7959b87c7 100644 --- a/tests/interchain/consumer_chain/consumer_launch_test.go +++ b/tests/interchain/consumer_chain/consumer_launch_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/suite" "golang.org/x/mod/semver" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" ) type ConsumerLaunchSuite struct { diff --git a/tests/interchain/consumer_chain/consumer_modification_test.go b/tests/interchain/consumer_chain/consumer_modification_test.go index 7dc63df080..b1f3341bdf 100644 --- a/tests/interchain/consumer_chain/consumer_modification_test.go +++ b/tests/interchain/consumer_chain/consumer_modification_test.go @@ -9,7 +9,7 @@ import ( "time" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" providertypes "github.com/cosmos/interchain-security/v5/x/ccv/provider/types" "github.com/strangelove-ventures/interchaintest/v8" diff --git a/tests/interchain/consumer_chain/mainnet_consumers_test.go b/tests/interchain/consumer_chain/mainnet_consumers_test.go index 738c3fc5fb..0af71a9652 100644 --- a/tests/interchain/consumer_chain/mainnet_consumers_test.go +++ b/tests/interchain/consumer_chain/mainnet_consumers_test.go @@ -3,7 +3,7 @@ package consumer_chain_test import ( "testing" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/stretchr/testify/suite" "golang.org/x/mod/semver" diff --git a/tests/interchain/consumer_chain/unbonding_test.go b/tests/interchain/consumer_chain/unbonding_test.go index fc10adea40..a9f385917e 100644 --- a/tests/interchain/consumer_chain/unbonding_test.go +++ b/tests/interchain/consumer_chain/unbonding_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v8/ibc" diff --git a/tests/interchain/delegator/authz_test.go b/tests/interchain/delegator/authz_test.go index e493b81eff..5889549739 100644 --- a/tests/interchain/delegator/authz_test.go +++ b/tests/interchain/delegator/authz_test.go @@ -7,8 +7,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/stretchr/testify/assert" diff --git a/tests/interchain/delegator/bank_test.go b/tests/interchain/delegator/bank_test.go index 9a75dbb5d0..64e2bbcb5d 100644 --- a/tests/interchain/delegator/bank_test.go +++ b/tests/interchain/delegator/bank_test.go @@ -4,8 +4,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/stretchr/testify/suite" ) @@ -28,7 +28,6 @@ func (s *BankSuite) TestSend() { balanceAfter, err := s.Chain.GetBalance(s.GetContext(), s.DelegatorWallet2.FormattedAddress(), s.Chain.Config().Denom) s.Require().NoError(err) s.Require().Equal(balanceBefore.Add(sdkmath.NewInt(txAmount)), balanceAfter) - } func TestBank(t *testing.T) { diff --git a/tests/interchain/delegator/cosmwasm_test.go b/tests/interchain/delegator/cosmwasm_test.go index a55fefbc16..431142f76a 100644 --- a/tests/interchain/delegator/cosmwasm_test.go +++ b/tests/interchain/delegator/cosmwasm_test.go @@ -6,8 +6,8 @@ import ( "path" "testing" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/stretchr/testify/suite" ) diff --git a/tests/interchain/delegator/evidence_test.go b/tests/interchain/delegator/evidence_test.go index 58bedc836e..aac9318a41 100644 --- a/tests/interchain/delegator/evidence_test.go +++ b/tests/interchain/delegator/evidence_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/testutil" "github.com/stretchr/testify/suite" @@ -58,5 +58,4 @@ func TestEvidence(t *testing.T) { })}, } suite.Run(t, s) - } diff --git a/tests/interchain/delegator/feegrant_test.go b/tests/interchain/delegator/feegrant_test.go index 211eec4e8f..b1138ebb0b 100644 --- a/tests/interchain/delegator/feegrant_test.go +++ b/tests/interchain/delegator/feegrant_test.go @@ -5,8 +5,8 @@ import ( "time" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8/testutil" "github.com/stretchr/testify/suite" ) diff --git a/tests/interchain/delegator/gov_test.go b/tests/interchain/delegator/gov_test.go index 116ea31c1c..a94a82b011 100644 --- a/tests/interchain/delegator/gov_test.go +++ b/tests/interchain/delegator/gov_test.go @@ -11,8 +11,8 @@ import ( "github.com/tidwall/gjson" "github.com/tidwall/sjson" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" ) diff --git a/tests/interchain/delegator/ica_test.go b/tests/interchain/delegator/ica_test.go index 485ab69256..8f5e549287 100644 --- a/tests/interchain/delegator/ica_test.go +++ b/tests/interchain/delegator/ica_test.go @@ -7,8 +7,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" diff --git a/tests/interchain/delegator/lsm_test.go b/tests/interchain/delegator/lsm_test.go index f26e8d5ba7..64cfc99eac 100644 --- a/tests/interchain/delegator/lsm_test.go +++ b/tests/interchain/delegator/lsm_test.go @@ -8,7 +8,7 @@ import ( "time" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/strangelove-ventures/interchaintest/v8/testutil" diff --git a/tests/interchain/delegator/multisig_test.go b/tests/interchain/delegator/multisig_test.go index 7da1b9e04a..57d1303c35 100644 --- a/tests/interchain/delegator/multisig_test.go +++ b/tests/interchain/delegator/multisig_test.go @@ -6,8 +6,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/stretchr/testify/suite" diff --git a/tests/interchain/delegator/pfm_test.go b/tests/interchain/delegator/pfm_test.go index bb861a9929..48b1cc7d56 100644 --- a/tests/interchain/delegator/pfm_test.go +++ b/tests/interchain/delegator/pfm_test.go @@ -5,8 +5,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" transfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" @@ -131,7 +131,6 @@ func (s *PFMSuite) TestPFMHappyPath() { assert.Truef(c, aEndBalance.Sub(aStartBalance).IsPositive(), "expected %d - %d > 0 (it was %d) in %s", aEndBalance, aStartBalance, aEndBalance.Sub(aStartBalance), targetDenomDA) }, 30*chainsuite.CommitTimeout, chainsuite.CommitTimeout, "chain A balance has not increased") - } func TestPFM(t *testing.T) { @@ -139,6 +138,7 @@ func TestPFM(t *testing.T) { Suite: &delegator.Suite{Suite: chainsuite.NewSuite(chainsuite.SuiteConfig{ UpgradeOnSetup: true, CreateRelayer: true, - })}} + })}, + } suite.Run(t, s) } diff --git a/tests/interchain/delegator/staking_test.go b/tests/interchain/delegator/staking_test.go index 630da166e1..d2947b876c 100644 --- a/tests/interchain/delegator/staking_test.go +++ b/tests/interchain/delegator/staking_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" - "github.com/cosmos/gaia/v22/tests/interchain/delegator" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/delegator" "github.com/stretchr/testify/suite" ) diff --git a/tests/interchain/delegator/suite.go b/tests/interchain/delegator/suite.go index 6e6ce82c64..2c828ea46e 100644 --- a/tests/interchain/delegator/suite.go +++ b/tests/interchain/delegator/suite.go @@ -2,7 +2,7 @@ package delegator import ( sdkmath "cosmossdk.io/math" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" ) diff --git a/tests/interchain/go.mod b/tests/interchain/go.mod index 3b78c3cbe5..01a57e9668 100644 --- a/tests/interchain/go.mod +++ b/tests/interchain/go.mod @@ -1,4 +1,4 @@ -module github.com/cosmos/gaia/v22/tests/interchain +module github.com/cosmos/gaia/v23/tests/interchain go 1.22.5 diff --git a/tests/interchain/integrator/endpoints_test.go b/tests/interchain/integrator/endpoints_test.go index d5d5d6ca5e..d175ec31cc 100644 --- a/tests/interchain/integrator/endpoints_test.go +++ b/tests/interchain/integrator/endpoints_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/stretchr/testify/suite" "golang.org/x/mod/semver" ) diff --git a/tests/interchain/validator/config_test.go b/tests/interchain/validator/config_test.go index 1d0cfaeec7..a023977330 100644 --- a/tests/interchain/validator/config_test.go +++ b/tests/interchain/validator/config_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/gorilla/websocket" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" @@ -161,12 +161,12 @@ func (s *ConfigSuite) TestWSConnectionLimit() { s.Require().NoError(err) u.Scheme = "ws" u.Path = "/websocket" - var canConnect = func() error { + canConnect := func() error { var eg errgroup.Group tCtx, tCancel := context.WithTimeout(s.GetContext(), 80*time.Second) defer tCancel() for i := 0; i < connectionCount; i++ { - var i = i + i := i eg.Go(func() error { c, _, err := websocket.DefaultDialer.Dial(u.String(), nil) if err != nil { diff --git a/tests/interchain/validator/feemarket_test.go b/tests/interchain/validator/feemarket_test.go index d656350b8f..19c2d697d5 100644 --- a/tests/interchain/validator/feemarket_test.go +++ b/tests/interchain/validator/feemarket_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v8/testutil" @@ -69,7 +69,6 @@ func (s *FeemarketSuite) setMaxBlockUtilization(utilization int) { s.Require().NoError(err) maxBlock := maxBlockResult.String() s.Require().Equal(fmt.Sprint(utilization), maxBlock) - } func (s *FeemarketSuite) packBlocks(txsPerBlock, blocksToPack int) { diff --git a/tests/interchain/validator/inactive_validator_test.go b/tests/interchain/validator/inactive_validator_test.go index 4185358968..7b67b0d09b 100644 --- a/tests/interchain/validator/inactive_validator_test.go +++ b/tests/interchain/validator/inactive_validator_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" "github.com/strangelove-ventures/interchaintest/v8" "github.com/strangelove-ventures/interchaintest/v8/ibc" "github.com/stretchr/testify/assert" diff --git a/tests/interchain/validator/unbond_test.go b/tests/interchain/validator/unbond_test.go index 6a8942244c..30c988815e 100644 --- a/tests/interchain/validator/unbond_test.go +++ b/tests/interchain/validator/unbond_test.go @@ -6,7 +6,7 @@ import ( "github.com/strangelove-ventures/interchaintest/v8" "github.com/stretchr/testify/suite" - "github.com/cosmos/gaia/v22/tests/interchain/chainsuite" + "github.com/cosmos/gaia/v23/tests/interchain/chainsuite" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) diff --git a/x/metaprotocols/module.go b/x/metaprotocols/module.go index 452e6b2670..3240186aae 100644 --- a/x/metaprotocols/module.go +++ b/x/metaprotocols/module.go @@ -15,7 +15,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/gaia/v22/x/metaprotocols/types" + "github.com/cosmos/gaia/v23/x/metaprotocols/types" ) const consensusVersion uint64 = 1 From eb83b5f9d27c557fecad58e29d76d945deb42e82 Mon Sep 17 00:00:00 2001 From: Eric Warehime Date: Thu, 16 Jan 2025 14:10:04 -0800 Subject: [PATCH 2/2] Add proper upgrade --- app/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index 034ea73065..893b4aeee9 100644 --- a/app/app.go +++ b/app/app.go @@ -69,14 +69,14 @@ import ( gaiaante "github.com/cosmos/gaia/v23/ante" "github.com/cosmos/gaia/v23/app/keepers" "github.com/cosmos/gaia/v23/app/upgrades" - v22 "github.com/cosmos/gaia/v23/app/upgrades/v22" + v23 "github.com/cosmos/gaia/v23/app/upgrades/v23" ) var ( // DefaultNodeHome default home directories for the application daemon DefaultNodeHome string - Upgrades = []upgrades.Upgrade{v22.Upgrade} + Upgrades = []upgrades.Upgrade{v23.Upgrade} ) var (