Skip to content

Commit

Permalink
add deleted store for mint module storekey
Browse files Browse the repository at this point in the history
  • Loading branch information
jelysn committed Apr 29, 2024
1 parent 60e15a3 commit 0939d53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/setup_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/version"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
estakingtypes "github.com/elys-network/elys/x/estaking/types"
Expand Down Expand Up @@ -106,7 +107,8 @@ func loadUpgradeStore(app *ElysApp) {

if shouldLoadUpgradeStore(app, upgradeInfo) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{distrtypes.StoreKey, mastercheftypes.StoreKey, estakingtypes.StoreKey},
Added: []string{distrtypes.StoreKey, mastercheftypes.StoreKey, estakingtypes.StoreKey},
Deleted: []string{minttypes.StoreKey},
}
// Use upgrade store loader for the initial loading of all stores when app starts,
// it checks if version == upgradeHeight and applies store upgrades before loading the stores,
Expand Down

0 comments on commit 0939d53

Please sign in to comment.