diff --git a/app/app.go b/app/app.go index 7e3b1da..f9c74fb 100644 --- a/app/app.go +++ b/app/app.go @@ -326,6 +326,11 @@ func New( return fromVM, nil }) + app.UpgradeKeeper.SetUpgradeHandler("v016", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + ctx.Logger().Info("v0.1.6 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(