Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit ba851eb

Browse files
committed
set PlanName for Upgrade at DEVNET-1
1 parent 547d65c commit ba851eb

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

app/upgrades.go

+8-12
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import (
77
"github.com/cosmos/cosmos-sdk/types/module"
88

99
storetypes "cosmossdk.io/store/types"
10-
circuittypes "cosmossdk.io/x/circuit/types"
11-
ibcfeetypes "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types"
12-
13-
nft "cosmossdk.io/x/nft"
1410

1511
upgradetypes "cosmossdk.io/x/upgrade/types"
1612

@@ -34,11 +30,11 @@ func (app App) RegisterUpgradeHandlers() {
3430
}
3531

3632
func (app *App) StickyFingers(_ upgradetypes.Plan) {
37-
planName := "stickyfingers"
33+
planName := "stickyfingers-fix"
3834
app.UpgradeKeeper.SetUpgradeHandler(
3935
planName,
4036
func(ctx context.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
41-
app.Logger().Info("Cosmos-SDK v0.50 and WASM is here...")
37+
app.Logger().Info("Fixing DEVNET-1... and upgrading IBC/go")
4238
// Print the modules with their respective ver.
4339
for moduleName, version := range fromVM {
4440
app.Logger().Info(fmt.Sprintf("Module: %s, Version: %d", moduleName, version))
@@ -89,14 +85,14 @@ func (app *App) StickyFingers(_ upgradetypes.Plan) {
8985
if upgradeInfo.Name == planName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
9086
storeUpgrades := storetypes.StoreUpgrades{
9187
Added: []string{
92-
circuittypes.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
93-
ibcfeetypes.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
94-
nft.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
95-
wasmtypes.ModuleName,
88+
// circuittypes.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
89+
// ibcfeetypes.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
90+
// nft.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
91+
// wasmtypes.ModuleName, // commented at v0.50>v0.50 uncomment for v0.47>v0.50
9692
},
9793
Deleted: []string{
98-
"burn", // commented at v0.50>v0.50 uncomment for v0.47>v0.50
99-
"bcna", // commented at v0.50>v0.50 uncomment for v0.47>v0.50
94+
// "burn", // commented at v0.50>v0.50 uncomment for v0.47>v0.50
95+
// "bcna", // commented at v0.50>v0.50 uncomment for v0.47>v0.50
10096
},
10197
}
10298

0 commit comments

Comments
 (0)