Skip to content

Commit

Permalink
chore(upgrade): Create v16-rc2 upgrade case and modify constants (#2175)
Browse files Browse the repository at this point in the history
* chore(upgrade): delete old upgrade handler and logic

* fix: delete

* fix: create another upgrade name so we can keep mainnet upgrade name

* UPDATE CHANGELOG

* UPDATE CHANGELOG

* UPDATE CHANGELOG

---------

Co-authored-by: stepit <48993133+0xstepit@users.noreply.github.com>
  • Loading branch information
Vvaradinov and 0xstepit committed Dec 11, 2023
1 parent e2296fc commit 824aaf2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ Ref: https://keepachangelog.com/en/1.0.0/

# Changelog

## [v16.0.0-rc2] - 2023-12-11

### State Machine Breaking
- (evm) [#2172] (https://github.com/evmos/evmos/pull/2172) Add channel selector from chain id.
- (inflation) [#2137] (https://github.com/evmos/evmos/pull/2137) Reduce inflation by 2/3.
- (post-handler) [#2128] (https://github.com/evmos/evmos/pull/2128) Burn cosmos transaction fees.

### Improvements
- (osmosis-outpost) [#2029](https://github.com/evmos/evmos/pull/2029) Osmosis Outpost e2e tests.

## [v16.0.0-rc1] - 2023-12-04

### State Machine Breaking
Expand Down
3 changes: 3 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,9 @@ func (app *Evmos) setupUpgradeHandlers() {
storeUpgrades = &storetypes.StoreUpgrades{
Deleted: []string{"recoveryv1", "incentives", "claims"},
}

case v16.UpgradeNameTestnet:

}

if storeUpgrades != nil {
Expand Down
6 changes: 4 additions & 2 deletions app/upgrades/v16/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ package v16

const (
// UpgradeName is the shared upgrade plan name for mainnet
UpgradeName = "v16.0.0-rc1"
UpgradeName = "v16.0.0"
// UpgradeNameTestnet is the shared upgrade plan name for testnet
UpgradeNameTestnet = "v16.0.0-rc2"
// UpgradeInfo defines the binaries that will be used for the upgrade
UpgradeInfo = `'{"binaries":{"darwin/amd64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc1/evmos_16.0.0-rc1_Darwin_arm64.tar.gz","darwin/x86_64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc1/evmos_16.0.0-rc1_Darwin_x86_64.tar.gz","linux/arm64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc1/evmos_16.0.0-rc1_Linux_arm64.tar.gz","linux/amd64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc1/evmos_16.0.0-rc1_Linux_amd64.tar.gz","windows/x86_64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc1/evmos_16.0.0-rc1_Windows_x86_64.zip"}}'`
UpgradeInfo = `'{"binaries":{"darwin/amd64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc2/evmos_16.0.0-rc2_Darwin_arm64.tar.gz","darwin/x86_64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc2/evmos_16.0.0-rc2_Darwin_x86_64.tar.gz","linux/arm64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc2/evmos_16.0.0-rc2_Linux_arm64.tar.gz","linux/amd64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc2/evmos_16.0.0-rc2_Linux_amd64.tar.gz","windows/x86_64":"https://github.com/evmos/evmos/releases/download/v16.0.0-rc2/evmos_16.0.0-rc2_Windows_x86_64.zip"}}'`
)
1 change: 1 addition & 0 deletions app/upgrades/v16/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func CreateUpgradeHandler(

// Leave modules are as-is to avoid running InitGenesis.
logger.Debug("running module migrations ...")

return mm.RunMigrations(ctx, configurator, vm)
}
}

0 comments on commit 824aaf2

Please sign in to comment.