Skip to content

Commit 52012b4

Browse files
committed
added upgrade handler for v0.1.10 release
1 parent 827a53c commit 52012b4

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
@@ -316,6 +316,11 @@ func New(
316316
return fromVM, nil
317317
})
318318

319+
app.UpgradeKeeper.SetUpgradeHandler("v0110", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
320+
ctx.Logger().Info("v0.1.10 upgrade")
321+
return fromVM, nil
322+
})
323+
319324
// register the staking hooks
320325
// NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks
321326
app.StakingKeeper = *stakingKeeper.SetHooks(

0 commit comments

Comments
 (0)