Skip to content

Commit

Permalink
fix: add v4.2.2 handler
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Aug 18, 2024
1 parent 7936fad commit 913ca5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ import (
v45 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_5"
v46 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_6"
v420 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_2_0"
v421 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_2_1"
v422 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_2_2"
"github.com/rakyll/statik/fs"

// unnamed import of statik for swagger UI support
Expand Down Expand Up @@ -1194,8 +1194,8 @@ func (app *MigalooApp) setupUpgradeHandlers() {
),
)
app.UpgradeKeeper.SetUpgradeHandler(
v421.UpgradeName,
v421.CreateUpgradeHandler(
v422.UpgradeName,
v422.CreateUpgradeHandler(
app.mm,
app.StakingKeeper,
app.configurator,
Expand All @@ -1214,7 +1214,7 @@ func (app *MigalooApp) setupUpgradeHandlers() {
return
}

if upgradeInfo.Name == v421.UpgradeName {
if upgradeInfo.Name == v422.UpgradeName {
storeUpgrades := &storetypes.StoreUpgrades{
Added: []string{},
Deleted: []string{},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package v4

// UpgradeName defines the on-chain upgrade name for the Migaloo v4.2.1 upgrade.
// UpgradeName defines the on-chain upgrade name for the Migaloo v4.2.2 upgrade.
// this upgrade includes the fix for pfm
const (
UpgradeName = "v4.2.1"
UpgradeName = "v4.2.2"
)
File renamed without changes.

0 comments on commit 913ca5f

Please sign in to comment.