Skip to content

Commit

Permalink
added upgrade handler for v0.1.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Aug 3, 2023
1 parent 827a53c commit 52012b4
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 @@ -316,6 +316,11 @@ func New(
return fromVM, nil
})

app.UpgradeKeeper.SetUpgradeHandler("v0110", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("v0.1.10 upgrade")
return fromVM, nil
})

// register the staking hooks
// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
app.StakingKeeper = *stakingKeeper.SetHooks(
Expand Down

0 comments on commit 52012b4

Please sign in to comment.