From a5d4c40ca510525c75ad7067a15b62519b532ef5 Mon Sep 17 00:00:00 2001 From: Alexander Peters Date: Tue, 9 Apr 2024 15:58:15 +0200 Subject: [PATCH] fix(simapp): use correct store keys for upgrade (#19987) --- simapp/upgrades.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simapp/upgrades.go b/simapp/upgrades.go index eb83e948f23b..ebe4cf20b4f3 100644 --- a/simapp/upgrades.go +++ b/simapp/upgrades.go @@ -36,11 +36,11 @@ func (app SimApp) RegisterUpgradeHandlers() { if upgradeInfo.Name == UpgradeName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { storeUpgrades := storetypes.StoreUpgrades{ Added: []string{ - accounts.ModuleName, - protocolpooltypes.ModuleName, + accounts.StoreKey, + protocolpooltypes.StoreKey, }, Deleted: []string{ - crisistypes.ModuleName, // The SDK discontinued the crisis module in v0.51.0 + crisistypes.StoreKey, // The SDK discontinued the crisis module in v0.51.0 }, }