Skip to content

Commit

Permalink
Merge pull request #416 from comdex-official/feature/dev
Browse files Browse the repository at this point in the history
Update ems store name
  • Loading branch information
dheerajkd30 authored Aug 23, 2022
2 parents c3f322d + 36f6a79 commit 2f2b21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion x/esm/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f2b21a

Please sign in to comment.