diff --git a/app/app.go b/app/app.go index a9455c0e9..bbd118a5c 100644 --- a/app/app.go +++ b/app/app.go @@ -1207,9 +1207,9 @@ func upgradeHandlers(upgradeInfo storetypes.UpgradeInfo, a *App, storeUpgrades * //delete deprecated kv store instead of migrating as this is only for testnet. //won't be used on main net migration and to make store name similar with V1 appended for all modules storeUpgrades = &storetypes.StoreUpgrades{ - Deleted: []string{"vaultv1", "rewards", "collector", "locker", "lend", "auction", "liquidation"}, + Deleted: []string{"vaultv1", "rewards", "collector", "locker", "lend", "auction", "liquidation", "esm"}, Added: []string{vaulttypes.ModuleName, rewardstypes.ModuleName, liquidationtypes.ModuleName, - collectortypes.ModuleName, lockertypes.ModuleName, lendtypes.ModuleName, auctiontypes.ModuleName}, + collectortypes.ModuleName, lockertypes.ModuleName, lendtypes.ModuleName, auctiontypes.ModuleName, esmtypes.ModuleName}, } } return storeUpgrades diff --git a/x/esm/types/keys.go b/x/esm/types/keys.go index 24748839a..64b6e8518 100644 --- a/x/esm/types/keys.go +++ b/x/esm/types/keys.go @@ -4,7 +4,7 @@ import sdk "github.com/cosmos/cosmos-sdk/types" const ( // ModuleName defines the module name - ModuleName = "esm" + ModuleName = "esmV1" // StoreKey defines the primary module store key StoreKey = ModuleName