Skip to content

Commit

Permalink
Change upgrade handler to no-ops
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyson authored and Cyson committed Apr 28, 2023
1 parent c567466 commit 7f65bc0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,10 @@ func (app *App) SetStoreUpgradeHandlers() {
}

if upgradeInfo.Name == "1.2.2beta" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
// DO NOTHING
storeUpgrades := storetypes.StoreUpgrades{}

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

if upgradeInfo.Name == "2.0.0beta" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
Expand Down

0 comments on commit 7f65bc0

Please sign in to comment.