diff --git a/app/upgrades.go b/app/upgrades.go index e7b6c9bd..6ff8bab1 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -4,6 +4,8 @@ import ( "context" "fmt" + ibcwasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/types" + storetypes "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" @@ -23,7 +25,11 @@ func (app *WasmApp) RegisterUpgradeHandlers() { if upgradeInfo.Name == UpgradeName { if !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { - storeUpgrades := storetypes.StoreUpgrades{} + storeUpgrades := storetypes.StoreUpgrades{ + Added: []string{ + ibcwasmtypes.ModuleName, + }, + } app.Logger().Info("setting upgrade store loaders") app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))