From f772aa3fff7e21ecdd7b8bd0f9ece176f4c85e71 Mon Sep 17 00:00:00 2001 From: Aaron Kutch Date: Fri, 17 Nov 2023 02:00:55 -0600 Subject: [PATCH] skip to version 1.1.4 --- app/app.go | 6 +++--- app/upgrades/readme.md | 2 +- app/upgrades/{v1.1.3 => v1.1.4}/upgrade.go | 6 +++--- tests/dockerfiles/chain_upgrade.dockerfile | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) rename app/upgrades/{v1.1.3 => v1.1.4}/upgrade.go (71%) diff --git a/app/app.go b/app/app.go index df386333..abb7b5ec 100644 --- a/app/app.go +++ b/app/app.go @@ -106,7 +106,7 @@ import ( v1_0_3_5 "github.com/onomyprotocol/onomy/app/upgrades/v1.0.3.5" v1_1_1 "github.com/onomyprotocol/onomy/app/upgrades/v1.1.1" v1_1_2 "github.com/onomyprotocol/onomy/app/upgrades/v1.1.2" - v1_1_3 "github.com/onomyprotocol/onomy/app/upgrades/v1.1.3" + v1_1_4 "github.com/onomyprotocol/onomy/app/upgrades/v1.1.4" "github.com/onomyprotocol/onomy/docs" "github.com/onomyprotocol/onomy/x/dao" daoclient "github.com/onomyprotocol/onomy/x/dao/client" @@ -818,7 +818,7 @@ func (app *OnomyApp) setupUpgradeHandlers() { }, ) app.UpgradeKeeper.SetUpgradeHandler(v1_1_2.Name, v1_1_2.UpgradeHandler) - app.UpgradeKeeper.SetUpgradeHandler(v1_1_3.Name, v1_1_3.UpgradeHandler) + app.UpgradeKeeper.SetUpgradeHandler(v1_1_4.Name, v1_1_4.UpgradeHandler) upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() if err != nil { @@ -837,7 +837,7 @@ func (app *OnomyApp) setupUpgradeHandlers() { storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{providertypes.ModuleName, providertypes.StoreKey}, } - case v1_1_3.Name: + case v1_1_4.Name: storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{authz.ModuleName, authzkeeper.StoreKey}, } diff --git a/app/upgrades/readme.md b/app/upgrades/readme.md index 84863935..2dd1bee6 100644 --- a/app/upgrades/readme.md +++ b/app/upgrades/readme.md @@ -4,7 +4,7 @@ This folder contains sub-folders for every chain upgrade. ## Version History -- v1.1.3 - Add missing authz module +- v1.1.4 - Add missing authz module - v1.1.2 - Fix that the treasury is actually subtracted from the staking supply - v1.1.1 - Removal of Gravity module and addition of provider module - v1.0.3.5 - OIP 6 Patch Subtract DAO Treasury from Staking Supply diff --git a/app/upgrades/v1.1.3/upgrade.go b/app/upgrades/v1.1.4/upgrade.go similarity index 71% rename from app/upgrades/v1.1.3/upgrade.go rename to app/upgrades/v1.1.4/upgrade.go index 4a7c3e93..ae3789a7 100644 --- a/app/upgrades/v1.1.3/upgrade.go +++ b/app/upgrades/v1.1.4/upgrade.go @@ -1,5 +1,5 @@ -// Package v1_1_3 is contains chain upgrade of the corresponding version. -package v1_1_3 //nolint:revive,stylecheck // app version +// Package v1_1_4 is contains chain upgrade of the corresponding version. +package v1_1_4 //nolint:revive,stylecheck // app version import ( sdk "github.com/cosmos/cosmos-sdk/types" @@ -8,7 +8,7 @@ import ( ) // Name is migration name. -const Name = "v1.1.3" +const Name = "v1.1.4" // UpgradeHandler is an x/upgrade handler. func UpgradeHandler(_ sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/tests/dockerfiles/chain_upgrade.dockerfile b/tests/dockerfiles/chain_upgrade.dockerfile index bf1abd32..33a29e6f 100644 --- a/tests/dockerfiles/chain_upgrade.dockerfile +++ b/tests/dockerfiles/chain_upgrade.dockerfile @@ -6,7 +6,7 @@ ENV PATH=$PATH:/root/go/bin ENV DAEMON_NAME="onomyd" ENV DAEMON_HOME="/root/.onomy" ENV CURRENT_VERSION=v1.1.2 -ENV UPGRADE_VERSION=v1.1.3 +ENV UPGRADE_VERSION=v1.1.4 ENV REPO="onomyprotocol/onomy" ADD https://github.com/$REPO/releases/download/$CURRENT_VERSION/$DAEMON_NAME $DAEMON_HOME/cosmovisor/genesis/$CURRENT_VERSION/bin/$DAEMON_NAME