diff --git a/app/upgrade_handler.go b/app/upgrade_handler.go index 3c426de6..b045ae27 100644 --- a/app/upgrade_handler.go +++ b/app/upgrade_handler.go @@ -6,6 +6,7 @@ import ( ibcfeetypes "github.com/cosmos/ibc-go/v7/modules/apps/29-fee/types" alliancetypes "github.com/terra-money/alliance/x/alliance/types" terraappconfig "github.com/terra-money/core/v2/app/config" + v2_10 "github.com/terra-money/core/v2/app/upgrades/v2.10" v2_2_0 "github.com/terra-money/core/v2/app/upgrades/v2.2.0" v2_3_0 "github.com/terra-money/core/v2/app/upgrades/v2.3.0" v2_4 "github.com/terra-money/core/v2/app/upgrades/v2.4" @@ -93,7 +94,7 @@ func (app *TerraApp) RegisterUpgradeHandlers() { ) app.Keepers.UpgradeKeeper.SetUpgradeHandler( terraappconfig.Upgrade2_10, - v2_9.CreateUpgradeHandler( + v2_10.CreateUpgradeHandler( app.GetModuleManager(), app.GetConfigurator(), app.GetAppCodec(), @@ -131,5 +132,8 @@ func (app *TerraApp) RegisterUpgradeStores() { } else if upgradeInfo.Name == terraappconfig.Upgrade2_9 && !app.Keepers.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { storeUpgrades := storetypes.StoreUpgrades{Deleted: []string{"builder"}} app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades)) + } else if upgradeInfo.Name == terraappconfig.Upgrade2_10 && !app.Keepers.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { + storeUpgrades := storetypes.StoreUpgrades{} + app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades)) } }