From c73cda8bebb77c13411c7723749ab25cafbf9c48 Mon Sep 17 00:00:00 2001 From: olegfomenko Date: Fri, 28 Jun 2024 18:06:52 +0300 Subject: [PATCH] adding v1.1.3 upgrade handler --- app/app.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/app.go b/app/app.go index 1ce8dbcf..d2fbd4f9 100644 --- a/app/app.go +++ b/app/app.go @@ -1023,6 +1023,13 @@ func New( }, ) + app.UpgradeKeeper.SetUpgradeHandler( + "v1.1.3", + func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + return app.mm.RunMigrations(ctx, app.configurator, fromVM) + }, + ) + if loadLatest { if err := app.LoadLatestVersion(); err != nil { tmos.Exit(err.Error())