From d822be03a0e6e8b6e2d35e5e5c5e563703a8e56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E1=BA=B7c?= Date: Thu, 14 Sep 2023 11:45:34 +0700 Subject: [PATCH] add ibchooks store key to upgrade --- app/upgrades/v3/constants.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/upgrades/v3/constants.go b/app/upgrades/v3/constants.go index 1eefc8ce..bdc29205 100644 --- a/app/upgrades/v3/constants.go +++ b/app/upgrades/v3/constants.go @@ -3,6 +3,7 @@ package v3 import ( "github.com/White-Whale-Defi-Platform/migaloo-chain/v3/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" + ibchookstypes "github.com/terra-money/core/v2/x/ibc-hooks/types" ) // UpgradeName defines the on-chain upgrade name for the Migaloo v2 upgrade. @@ -11,5 +12,7 @@ const UpgradeName = "v2.2.5" var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, CreateUpgradeHandler: CreateUpgradeHandler, - StoreUpgrades: store.StoreUpgrades{}, + StoreUpgrades: store.StoreUpgrades{ + Added: []string{ibchookstypes.StoreKey}, + }, }