Skip to content

Commit f30a6ab

Browse files
committed
added v0.1.9 upgrade handler
1 parent 958ad18 commit f30a6ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/app.go

+5
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,11 @@ func New(
311311
return fromVM, nil
312312
})
313313

314+
app.UpgradeKeeper.SetUpgradeHandler("v019", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
315+
ctx.Logger().Info("v0.1.9 upgrade")
316+
return fromVM, nil
317+
})
318+
314319
// register the staking hooks
315320
// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
316321
app.StakingKeeper = *stakingKeeper.SetHooks(

0 commit comments

Comments
 (0)