diff --git a/app/app.go b/app/app.go index 3fd193049..988700c5c 100644 --- a/app/app.go +++ b/app/app.go @@ -971,7 +971,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey) paramsKeeper.Subspace(authtypes.ModuleName) - paramsKeeper.Subspace(banktypes.ModuleName) + paramsKeeper.Subspace(banktypes.ModuleName).WithKeyTable(banktypes.ParamKeyTable()) paramsKeeper.Subspace(stakingtypes.ModuleName) paramsKeeper.Subspace(minttypes.ModuleName) paramsKeeper.Subspace(distrtypes.ModuleName) diff --git a/app/upgrades/v2/upgrade.go b/app/upgrades/v2/upgrade.go deleted file mode 100644 index 758e1837d..000000000 --- a/app/upgrades/v2/upgrade.go +++ /dev/null @@ -1,15 +0,0 @@ -package v2 - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" -) - -func CreateUpgradeHandler(mm *module.Manager, cfg module.Configurator) upgradetypes.UpgradeHandler { - return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { - ctx.Logger().Info("Handler for upgrade plan: " + UpgradeName) - // this will migrate the diff for resource from v2 -> v3 - return mm.RunMigrations(ctx, cfg, fromVM) - } -}