Skip to content

Commit

Permalink
Merge pull request #173 from terra-money/fix/pisco-upgrade-2.5
Browse files Browse the repository at this point in the history
Fix/pisco upgrade 2.5
tuky191 authored Sep 13, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 35490f9 + e94e19b commit 62e69ac
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -1143,6 +1143,11 @@ func (app *TerraApp) RegisterUpgradeHandlers(cfg module.Configurator) {
terraappconfig.Upgrade2_3_0,
v2_3_0.CreateUpgradeHandler(app.mm, app.configurator, app.TokenFactoryKeeper),
)
// This is pisco only since an incorrect plan name was used for the upgrade
app.UpgradeKeeper.SetUpgradeHandler(
terraappconfig.Upgrade2_4_rc,
v2_4.CreateUpgradeHandler(app.mm, app.configurator),
)
app.UpgradeKeeper.SetUpgradeHandler(
terraappconfig.Upgrade2_4,
v2_4.CreateUpgradeHandler(app.mm, app.configurator),
9 changes: 5 additions & 4 deletions app/config/const.go
Original file line number Diff line number Diff line change
@@ -47,8 +47,9 @@ const (
WasmMsgMigrateContract = "/cosmwasm.wasm.v1.MsgMigrateContract"

// UpgradeName gov proposal name
Upgrade2_2_0 = "2.2.0"
Upgrade2_3_0 = "2.3.0"
Upgrade2_4 = "v2.4"
Upgrade2_5 = "v2.5"
Upgrade2_2_0 = "2.2.0"
Upgrade2_3_0 = "2.3.0"
Upgrade2_4_rc = "2.4.0-rc4" // This is pisco only since an incorrect plan name was used for the upgrade
Upgrade2_4 = "v2.4"
Upgrade2_5 = "v2.5"
)

0 comments on commit 62e69ac

Please sign in to comment.