Skip to content

Commit

Permalink
Merge pull request #394 from hypersign-protocol/add-upgradeHandler
Browse files Browse the repository at this point in the history
chore: upgrade handler for version upgrade
  • Loading branch information
Vishwas1 authored Oct 3, 2024
2 parents 71d0487 + 9eaa378 commit 6013841
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 6013841

Please sign in to comment.