From 7f0de62df6d2e941b8cc04a413124623ef20f49c Mon Sep 17 00:00:00 2001 From: Ash Date: Fri, 25 Oct 2024 09:35:19 -0700 Subject: [PATCH] re-add wasm client store upgrade --- app/upgrades.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/upgrades.go b/app/upgrades.go index 291fe5e8..70577804 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))