diff --git a/app/app.go b/app/app.go index 03cf3bdb5..e9e4070a4 100644 --- a/app/app.go +++ b/app/app.go @@ -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" @@ -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 diff --git a/app/upgrades/v4.2.0/constants.go b/app/upgrades/v4.2.1-testnet/constants.go similarity index 86% rename from app/upgrades/v4.2.0/constants.go rename to app/upgrades/v4.2.1-testnet/constants.go index fab9b5da9..2ba3d1f67 100644 --- a/app/upgrades/v4.2.0/constants.go +++ b/app/upgrades/v4.2.1-testnet/constants.go @@ -1,4 +1,4 @@ -package v400 +package v421testnet import ( storetypes "cosmossdk.io/store/types" @@ -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{ diff --git a/app/upgrades/v4.2.0/upgrades.go b/app/upgrades/v4.2.1-testnet/upgrades.go similarity index 99% rename from app/upgrades/v4.2.0/upgrades.go rename to app/upgrades/v4.2.1-testnet/upgrades.go index 1f7ca0cec..419f03642 100644 --- a/app/upgrades/v4.2.0/upgrades.go +++ b/app/upgrades/v4.2.1-testnet/upgrades.go @@ -1,4 +1,4 @@ -package v400 +package v421testnet import ( "context" diff --git a/app/upgrades/v4.2.0/upgrades_test.go b/app/upgrades/v4.2.1-testnet/upgrades_test.go similarity index 97% rename from app/upgrades/v4.2.0/upgrades_test.go rename to app/upgrades/v4.2.1-testnet/upgrades_test.go index 07deea0d0..ae21affe0 100644 --- a/app/upgrades/v4.2.0/upgrades_test.go +++ b/app/upgrades/v4.2.1-testnet/upgrades_test.go @@ -1,4 +1,4 @@ -package v400_test +package v421testnet_test import ( "testing" @@ -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" @@ -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, } @@ -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, } @@ -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, } @@ -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, } @@ -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, }