Skip to content

Commit 7fd4a09

Browse files
committed
v26 initial setup
1 parent 70a2d18 commit 7fd4a09

25 files changed

Lines changed: 136 additions & 4528 deletions

.github/workflows/e2e-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- { dir: "app", type: "AppUpdateTreasuryConfigsAA" }
6161
- { dir: "app", type: "AppUpdateTreasuryParams" }
6262
# - {dir: "app", type: "AppUpgradeIBC"}
63-
# - {dir: "app", type: "AppUpgradeNetwork"}
63+
- { dir: "app", type: "AppUpgradeNetwork" }
6464
# DKIM Module Tests
6565
# - {dir: "dkim", type: "DKIMGovernance"}
6666
# - {dir: "dkim", type: "DKIMKeyRevocation"}

app/upgrades.go

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ import (
1010
"github.com/cosmos/cosmos-sdk/baseapp"
1111
sdktypes "github.com/cosmos/cosmos-sdk/types"
1212
"github.com/cosmos/cosmos-sdk/types/module"
13-
14-
v24_upgrade "github.com/burnt-labs/xion/app/v25_upgrade"
1513
)
1614

17-
const UpgradeName = "v25"
15+
const UpgradeName = "v26"
1816

1917
func (app *WasmApp) RegisterUpgradeHandlers() {
2018
upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
@@ -64,19 +62,6 @@ func (app *WasmApp) NextUpgradeHandler(ctx context.Context, plan upgradetypes.Pl
6462
panic(fmt.Sprintf("failed to run migrations: %s", err))
6563
}
6664

67-
// V25 Contract Migration: Fix corrupted contracts that cannot unmarshal
68-
sdkCtx.Logger().Info("v24 upgrade - running contract migration")
69-
70-
wasmStoreKey := app.GetKey("wasm")
71-
if wasmStoreKey == nil {
72-
panic("wasm store key not found")
73-
}
74-
75-
migrateErr := v24_upgrade.MigrateContracts(sdkCtx, wasmStoreKey)
76-
if migrateErr != nil {
77-
panic(fmt.Sprintf("v24 contract migration failed: %s", migrateErr))
78-
}
79-
8065
sdkCtx.Logger().Info("upgrade complete", "name", plan.Name)
8166
return migrations, err
8267
}

app/v25_upgrade/CLI_TOOLS.md

Lines changed: 0 additions & 317 deletions
This file was deleted.

0 commit comments

Comments
 (0)