Skip to content

Commit

Permalink
update upgrade version to v4.2.1-testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Aug 21, 2024
1 parent 7204576 commit 486e64c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
servicemetrics "github.com/skip-mev/slinky/service/metrics"

v401 "github.com/neutron-org/neutron/v4/app/upgrades/v4.0.1"
v402 "github.com/neutron-org/neutron/v4/app/upgrades/v4.2.0"
v421testnet "github.com/neutron-org/neutron/v4/app/upgrades/v4.2.1-testnet"
"github.com/neutron-org/neutron/v4/x/globalfee"
globalfeetypes "github.com/neutron-org/neutron/v4/x/globalfee/types"

Expand Down Expand Up @@ -226,7 +226,7 @@ const (
)

var (
Upgrades = []upgrades.Upgrade{v401.Upgrade, v402.Upgrade}
Upgrades = []upgrades.Upgrade{v401.Upgrade, v421testnet.Upgrade}

// DefaultNodeHome default home directories for the application daemon
DefaultNodeHome string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v400
package v421testnet

import (
storetypes "cosmossdk.io/store/types"
Expand All @@ -8,7 +8,7 @@ import (

const (
// UpgradeName defines the on-chain upgrade name.
UpgradeName = "v4.2.0"
UpgradeName = "v4.2.1-testnet"
)

var Upgrade = upgrades.Upgrade{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v400
package v421testnet

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package v400_test
package v421testnet_test

import (
"testing"
Expand All @@ -8,7 +8,7 @@ import (
sdkmath "cosmossdk.io/math"
upgradetypes "cosmossdk.io/x/upgrade/types"

v402 "github.com/neutron-org/neutron/v4/app/upgrades/v4.2.0"
v421testnet "github.com/neutron-org/neutron/v4/app/upgrades/v4.2.1-testnet"
"github.com/neutron-org/neutron/v4/testutil"
"github.com/neutron-org/neutron/v4/testutil/common/sample"
"github.com/neutron-org/neutron/v4/utils/math"
Expand Down Expand Up @@ -70,7 +70,7 @@ func (suite *UpgradeTestSuite) TestUnswappedTranche() {

// Run upgrade
upgrade := upgradetypes.Plan{
Name: v402.UpgradeName,
Name: v421testnet.UpgradeName,
Info: "some text here",
Height: 100,
}
Expand Down Expand Up @@ -132,7 +132,7 @@ func (suite *UpgradeTestSuite) TestSwappedWithdrawnTranche() {

// Run Upgrade
upgrade := upgradetypes.Plan{
Name: v402.UpgradeName,
Name: v421testnet.UpgradeName,
Info: "some text here",
Height: 100,
}
Expand Down Expand Up @@ -194,7 +194,7 @@ func (suite *UpgradeTestSuite) TestSwappedUnwithdrawnTranche() {

// Run Upgrade
upgrade := upgradetypes.Plan{
Name: v402.UpgradeName,
Name: v421testnet.UpgradeName,
Info: "some text here",
Height: 100,
}
Expand Down Expand Up @@ -248,7 +248,7 @@ func (suite *UpgradeTestSuite) TestSwappedCanceledTranche() {

// Run Upgrade
upgrade := upgradetypes.Plan{
Name: v402.UpgradeName,
Name: v421testnet.UpgradeName,
Info: "some text here",
Height: 100,
}
Expand Down Expand Up @@ -298,7 +298,7 @@ func (suite *UpgradeTestSuite) TestOrphanedTrancheUser() {

// Run Upgrade
upgrade := upgradetypes.Plan{
Name: v402.UpgradeName,
Name: v421testnet.UpgradeName,
Info: "some text here",
Height: 100,
}
Expand Down

0 comments on commit 486e64c

Please sign in to comment.