From 86b08a626654697702506813c405b314be20ef69 Mon Sep 17 00:00:00 2001 From: kruspy Date: Thu, 26 Oct 2023 16:18:57 +0200 Subject: [PATCH] upgrade name update --- app/app.go | 4 ++-- app/upgrades/{v10_stkosmo => v10.1.0-testnet}/constants.go | 4 ++-- app/upgrades/{v10_stkosmo => v10.1.0-testnet}/upgrades.go | 2 +- interchaintest/chain_upgrade_test.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename app/upgrades/{v10_stkosmo => v10.1.0-testnet}/constants.go (86%) rename app/upgrades/{v10_stkosmo => v10.1.0-testnet}/upgrades.go (99%) diff --git a/app/app.go b/app/app.go index 16dc5ee8..69c4a782 100644 --- a/app/app.go +++ b/app/app.go @@ -58,14 +58,14 @@ import ( "github.com/persistenceOne/persistenceCore/v10/app/keepers" "github.com/persistenceOne/persistenceCore/v10/app/upgrades" v10 "github.com/persistenceOne/persistenceCore/v10/app/upgrades/v10" - v10stkosmo "github.com/persistenceOne/persistenceCore/v10/app/upgrades/v10_stkosmo" + v10_1_0_testnet "github.com/persistenceOne/persistenceCore/v10/app/upgrades/v10.1.0-testnet" v9_2_0 "github.com/persistenceOne/persistenceCore/v10/app/upgrades/v9.2.0" ) var ( DefaultNodeHome string UpgradesMainnet = []upgrades.Upgrade{v10.Upgrade} - UpgradesTestnet = []upgrades.Upgrade{v10stkosmo.Upgrade} + UpgradesTestnet = []upgrades.Upgrade{v10_1_0_testnet.Upgrade} ModuleBasics = module.NewBasicManager(keepers.AppModuleBasics...) ) diff --git a/app/upgrades/v10_stkosmo/constants.go b/app/upgrades/v10.1.0-testnet/constants.go similarity index 86% rename from app/upgrades/v10_stkosmo/constants.go rename to app/upgrades/v10.1.0-testnet/constants.go index b15aff33..b916614d 100644 --- a/app/upgrades/v10_stkosmo/constants.go +++ b/app/upgrades/v10.1.0-testnet/constants.go @@ -1,4 +1,4 @@ -package v10 +package v10_1_0_testnet import ( store "github.com/cosmos/cosmos-sdk/store/types" @@ -8,7 +8,7 @@ import ( const ( // UpgradeName defines the on-chain upgrade name. - UpgradeName = "v10-stkosmo" + UpgradeName = "v10.1.0-testnet" ) var Upgrade = upgrades.Upgrade{ diff --git a/app/upgrades/v10_stkosmo/upgrades.go b/app/upgrades/v10.1.0-testnet/upgrades.go similarity index 99% rename from app/upgrades/v10_stkosmo/upgrades.go rename to app/upgrades/v10.1.0-testnet/upgrades.go index bf28ad9f..4c0fb8a1 100644 --- a/app/upgrades/v10_stkosmo/upgrades.go +++ b/app/upgrades/v10.1.0-testnet/upgrades.go @@ -1,4 +1,4 @@ -package v10 +package v10_1_0_testnet import ( "github.com/cosmos/cosmos-sdk/store/prefix" diff --git a/interchaintest/chain_upgrade_test.go b/interchaintest/chain_upgrade_test.go index 57f61773..edfb37a1 100644 --- a/interchaintest/chain_upgrade_test.go +++ b/interchaintest/chain_upgrade_test.go @@ -32,7 +32,7 @@ func TestPersistenceUpgradeBasic(t *testing.T) { upgradeRepo = PersistenceCoreImage.Repository initialVersion = "v10.0.0" upgradeBranchVersion = PersistenceCoreImage.Version - upgradeName = "v10-stkosmo" + upgradeName = "v10.1.0-testnet" ) CosmosChainUpgradeTest(