Skip to content

Commit

Permalink
fix: missing upgrade plan for pisco
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Sep 13, 2023
1 parent 35490f9 commit e94e19b
Show file tree
Hide file tree
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
Expand Up @@ -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),
Expand Down
9 changes: 5 additions & 4 deletions app/config/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 e94e19b

Please sign in to comment.