Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Jul 5, 2024
1 parent a0084e3 commit 7bf89ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ import (
v42 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_2"
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"
v47 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_7"
v420 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_2_0"
"github.com/rakyll/statik/fs"

// unnamed import of statik for swagger UI support
Expand Down Expand Up @@ -1184,8 +1184,8 @@ func (app *MigalooApp) setupUpgradeHandlers() {
)

app.UpgradeKeeper.SetUpgradeHandler(
v47.UpgradeName,
v47.CreateUpgradeHandler(
v420.UpgradeName,
v420.CreateUpgradeHandler(
app.mm,
app.configurator,
),
Expand All @@ -1203,7 +1203,7 @@ func (app *MigalooApp) setupUpgradeHandlers() {
return
}

if upgradeInfo.Name == v46.UpgradeName {
if upgradeInfo.Name == v420.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.1.5 upgrade.
// UpgradeName defines the on-chain upgrade name for the Migaloo v4.2.0 upgrade.
// this upgrade includes the fix for pfm
const (
UpgradeName = "v4.1.7"
UpgradeName = "v4.2.0"
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

// CreateUpgradeHandler that migrates the chain from v4.1.5 to v4.1.6
// CreateUpgradeHandler that migrates the chain from v4.1.5 to v4.2.0
func CreateUpgradeHandler(
mm *module.Manager,
configurator module.Configurator,
Expand Down
2 changes: 1 addition & 1 deletion scripts/upgrade_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HOME=mytestnet
ROOT=$(pwd)
DENOM=uwhale
CHAIN_ID=localmigaloo
SOFTWARE_UPGRADE_NAME="v4.1.7"
SOFTWARE_UPGRADE_NAME="v4.2.0"
ADDITIONAL_PRE_SCRIPTS=${ADDITIONAL_PRE_SCRIPTS:-""}
ADDITIONAL_AFTER_SCRIPTS=${ADDITIONAL_AFTER_SCRIPTS:-""}

Expand Down

0 comments on commit 7bf89ae

Please sign in to comment.