@@ -7,10 +7,6 @@ import (
7
7
"github.com/cosmos/cosmos-sdk/types/module"
8
8
9
9
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"
14
10
15
11
upgradetypes "cosmossdk.io/x/upgrade/types"
16
12
@@ -34,11 +30,11 @@ func (app App) RegisterUpgradeHandlers() {
34
30
}
35
31
36
32
func (app * App ) StickyFingers (_ upgradetypes.Plan ) {
37
- planName := "stickyfingers"
33
+ planName := "stickyfingers-fix "
38
34
app .UpgradeKeeper .SetUpgradeHandler (
39
35
planName ,
40
36
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 " )
42
38
// Print the modules with their respective ver.
43
39
for moduleName , version := range fromVM {
44
40
app .Logger ().Info (fmt .Sprintf ("Module: %s, Version: %d" , moduleName , version ))
@@ -89,14 +85,14 @@ func (app *App) StickyFingers(_ upgradetypes.Plan) {
89
85
if upgradeInfo .Name == planName && ! app .UpgradeKeeper .IsSkipHeight (upgradeInfo .Height ) {
90
86
storeUpgrades := storetypes.StoreUpgrades {
91
87
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
96
92
},
97
93
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
100
96
},
101
97
}
102
98
0 commit comments