From 9eaa378c89f0c63fe55af2d8ec264ac563234f15 Mon Sep 17 00:00:00 2001 From: Pratap2018 Date: Thu, 3 Oct 2024 19:33:59 +0530 Subject: [PATCH] chore: upgrade handler for version upgrade --- app/app.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/app.go b/app/app.go index cb9b5e2..7d88ea0 100644 --- a/app/app.go +++ b/app/app.go @@ -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],