From 21462c1fe170d19ff606ad8dd1ecf7d22009abd6 Mon Sep 17 00:00:00 2001 From: codehans <94654388+codehans@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:12:44 +0100 Subject: [PATCH] skip-store-upgrades flag --- app/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades.go b/app/upgrades.go index 7baa142d..0967990a 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -18,7 +18,7 @@ func (app App) RegisterUpgradeHandlers() { panic(err) } - if upgradeInfo.Name == UpgradeName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { + if upgradeInfo.Name == UpgradeName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) && upgradeInfo.Info != "skip-store-upgrades" { storeUpgrades := storetypes.StoreUpgrades{ Added: []string{ ibcwasmtypes.ModuleName,