Skip to content

Commit

Permalink
Merge pull request #3027 from Sifchain/fix/upgrade-handler
Browse files Browse the repository at this point in the history
Fix upgrade handler
  • Loading branch information
joneskm authored Jul 15, 2022
2 parents 7a93f09 + 08c6e96 commit 06521ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ func SetupHandlers(app *SifchainApp) {
panic(err)
}
if upgradeInfo.Name == releaseVersion && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{"admin"},
}
storeUpgrades := storetypes.StoreUpgrades{}
// Use upgrade store loader for the initial loading of all stores when app starts,
// it checks if version == upgradeHeight and applies store upgrades before loading the stores,
// so that new stores start with the correct version (the current height of chain),
Expand Down

0 comments on commit 06521ba

Please sign in to comment.