From 5fb7142529a9fc85fecf61cf973caf1f13d5f16e Mon Sep 17 00:00:00 2001 From: Alex Peters Date: Thu, 11 Apr 2024 10:03:41 +0200 Subject: [PATCH] Add epoch store to upgrade --- simapp/upgrades.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simapp/upgrades.go b/simapp/upgrades.go index ebe4cf20b4f3..4351e99f1063 100644 --- a/simapp/upgrades.go +++ b/simapp/upgrades.go @@ -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