Skip to content

Commit

Permalink
skip to version 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Nov 17, 2023
1 parent 9ed79e8 commit f772aa3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand All @@ -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},
}
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/dockerfiles/chain_upgrade.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f772aa3

Please sign in to comment.