Skip to content

Commit

Permalink
Merge branch 'hotfix/v1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mdyring committed Sep 18, 2021
2 parents cff1540 + 275ee0b commit 5fc1176
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,10 @@ func NewApp(
app.GetSubspace(crisistypes.ModuleName), invCheckPeriod, app.bankKeeper, authtypes.FeeCollectorName,
)
app.upgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath)
app.upgradeKeeper.SetUpgradeHandler("v1.0.0-RC7", func(ctx sdk.Context, plan upgradetypes.Plan) {
ctx.Logger().Info("Upgraded to", plan.Name)
})

app.upgradeKeeper.SetUpgradeHandler("hotfix-2", func(ctx sdk.Context, plan upgradetypes.Plan) {
ctx.Logger().Info("Upgraded to hotfix-2")
// Used for lilmermaid-16
app.upgradeKeeper.SetUpgradeHandler("upgrade-plan-1", func(ctx sdk.Context, plan upgradetypes.Plan) {
ctx.Logger().Info("Upgraded to upgrade-plan-1")
})

// register the staking hooks
Expand Down

0 comments on commit 5fc1176

Please sign in to comment.