fix(simapp): add epoch store to upgrade (#20007)

This commit is contained in:
Alexander Peters 2024-04-11 10:13:24 +02:00 committed by GitHub
parent c56152dfac
commit 2af3cf28da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
)
@ -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