Skip to content

Commit

Permalink
add consensus and crisis modules to store upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Sep 23, 2023
1 parent f4a159f commit 67c1a2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/upgrades/v2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -11,6 +13,9 @@ var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateV2UpgradeHandler,
StoreUpgrades: store.StoreUpgrades{
Added: []string{},
Added: []string{
consensustypes.ModuleName,
crisistypes.ModuleName,
},
},
}

0 comments on commit 67c1a2a

Please sign in to comment.