From 67c1a2a7a698110a283c397c127bf1bd529e91f1 Mon Sep 17 00:00:00 2001 From: Harish Marri Date: Sun, 24 Sep 2023 00:40:46 +0530 Subject: [PATCH] add consensus and crisis modules to store upgrades --- app/upgrades/v2/constants.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/upgrades/v2/constants.go b/app/upgrades/v2/constants.go index 2f6654f7..c9e421e8 100644 --- a/app/upgrades/v2/constants.go +++ b/app/upgrades/v2/constants.go @@ -3,6 +3,8 @@ package v2 import ( "github.com/OmniFlix/omniflixhub/v2/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" + consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" ) const UpgradeName = "v2" @@ -11,6 +13,9 @@ var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, CreateUpgradeHandler: CreateV2UpgradeHandler, StoreUpgrades: store.StoreUpgrades{ - Added: []string{}, + Added: []string{ + consensustypes.ModuleName, + crisistypes.ModuleName, + }, }, }