Skip to content

Commit

Permalink
added v0.1.9 upgrade handler
Browse files Browse the repository at this point in the history
  • Loading branch information
arnabghose997 committed Jul 22, 2023
1 parent 958ad18 commit f30a6ab
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 @@ -311,6 +311,11 @@ func New(
return fromVM, nil
})

app.UpgradeKeeper.SetUpgradeHandler("v019", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("v0.1.9 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 f30a6ab

Please sign in to comment.