Skip to content

Commit

Permalink
update upgrade_handler for v2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skyargos committed Jan 14, 2025
1 parent a2df77e commit 53a51bf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/upgrade_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import (

storetypes "cosmossdk.io/store/types"
upgradetypes "cosmossdk.io/x/upgrade/types"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"

"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/types/module"
)

const (
upgradeName = "v2.13.0"
upgradeName = "v2.14.0"
)

func (app ShentuApp) setUpgradeHandler(_ codec.BinaryCodec) {
Expand All @@ -30,7 +31,9 @@ func (app ShentuApp) setUpgradeHandler(_ codec.BinaryCodec) {

if upgradeInfo.Name == upgradeName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{},
Added: []string{
wasmtypes.ModuleName,
},
}

// configure store loader that checks if version == upgradeHeight and applies store upgrades
Expand Down

0 comments on commit 53a51bf

Please sign in to comment.