Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add v4.2.2 handler #402

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading