Skip to content

Commit

Permalink
fix: remove wasm store migration (#2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorenflo authored Apr 11, 2024
1 parent 8206a6c commit 8e451c0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,6 @@ func (app *AxelarApp) setUpgradeBehaviour(configurator module.Configurator, keep
if upgradeInfo.Name == upgradeName(app.Version()) && !upgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := store.StoreUpgrades{}

if IsWasmEnabled() {
storeUpgrades.Added = append(storeUpgrades.Added, wasm.ModuleName)
}
if IsIBCWasmHooksEnabled() {
storeUpgrades.Added = append(storeUpgrades.Added, ibchookstypes.StoreKey)
}

// configure store loader that checks if version == upgradeHeight and applies store upgrades
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
}
Expand Down

0 comments on commit 8e451c0

Please sign in to comment.