Skip to content

Commit

Permalink
chore: upgrade handler for version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratap2018 committed Oct 3, 2024
1 parent 71d0487 commit 9eaa378
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 @@ -455,6 +455,11 @@ func NewHypersignApp(
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)

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

app.IBCKeeper = ibckeeper.NewKeeper(
appCodec,
keys[ibcexported.StoreKey],
Expand Down

0 comments on commit 9eaa378

Please sign in to comment.