Skip to content

Commit

Permalink
fix(simapp): add epoch store to upgrade (#20007)
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe authored Apr 11, 2024
1 parent c56152d commit 2af3cf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simapp/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

storetypes "cosmossdk.io/store/types"
"cosmossdk.io/x/accounts"
epochstypes "cosmossdk.io/x/epochs/types"
protocolpooltypes "cosmossdk.io/x/protocolpool/types"
upgradetypes "cosmossdk.io/x/upgrade/types"

"github.com/cosmos/cosmos-sdk/types/module"
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
)
Expand Down Expand Up @@ -38,6 +38,7 @@ func (app SimApp) RegisterUpgradeHandlers() {
Added: []string{
accounts.StoreKey,
protocolpooltypes.StoreKey,
epochstypes.StoreKey,
},
Deleted: []string{
crisistypes.StoreKey, // The SDK discontinued the crisis module in v0.51.0
Expand Down

0 comments on commit 2af3cf2

Please sign in to comment.