Skip to content

Commit

Permalink
add store upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerKSI committed Mar 22, 2023
1 parent 78a94f6 commit 7e3aab9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,4 +907,9 @@ func (app *BandApp) setupUpgradeStoreLoaders() {

app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
}

if upgradeInfo.Name == "v2_5" {
storeUpgrades := storetypes.StoreUpgrades{}
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
}
}

0 comments on commit 7e3aab9

Please sign in to comment.