Skip to content

Commit

Permalink
chore: prep for v8 alpha release (#576)
Browse files Browse the repository at this point in the history
This pull request updates the Archway application to use the upgrade
handler for version 8.0.0. It includes changes to the app_upgrades.go
file, registering the upgrade handler, and renaming the upgrades.go file
in the 8_0_0 directory. This upgrade includes various protocol level
changes, such as migrating to store service, integrating a new logger,
handling errors returned from the SDK, implementing interface registry,
adding autocli configuration, using default baseapp options, and more.
Additionally, it updates the Swagger UI and makes miscellaneous changes,
including using heighliner v1.5.5.

---------

Signed-off-by: Spoorthi <9302666+spoo-bar@users.noreply.github.com>
  • Loading branch information
spoo-bar authored Jun 24, 2024
1 parent bb559de commit 53405f4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ Contains bug fixes.
Contains all the PRs that improved the code without changing the behaviors.
-->

## [Unreleased]

### Added
## [v8.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0)

### Changed
- [#573](https://github.com/archway-network/archway/pull/573) - Bump cosmos-sdk to v0.50.6
- [#573](https://github.com/archway-network/archway/pull/573) - Bump cosmos-sdk to v0.50.6 and ibc to v8.2.1

### Fixed
- [#569](https://github.com/archway-network/archway/pull/569) - Audit remidiations for x/cwerrors and x/cwica
Expand Down
5 changes: 2 additions & 3 deletions app/app_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
upgrade4_0_2 "github.com/archway-network/archway/app/upgrades/4_0_2"
upgrade6_0_0 "github.com/archway-network/archway/app/upgrades/6_0_0"
upgrade7_0_0 "github.com/archway-network/archway/app/upgrades/7_0_0"
upgradelatest "github.com/archway-network/archway/app/upgrades/latest"
upgrade8_0_0 "github.com/archway-network/archway/app/upgrades/8_0_0"
)

// UPGRADES
Expand All @@ -28,8 +28,7 @@ var Upgrades = []upgrades.Upgrade{
upgrade4_0_2.Upgrade, // v4.0.2
upgrade6_0_0.Upgrade, // v6.0.0
upgrade7_0_0.Upgrade, // v7.0.0

upgradelatest.Upgrade, // latest - This upgrade handler is used for all the current changes to the protocol
upgrade8_0_0.Upgrade, // v8.0.0
}

func (app *ArchwayApp) RegisterUpgradeHandlers() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package upgradelatest
package upgrade8_0_0

import (
"context"
Expand All @@ -12,10 +12,15 @@ import (
"github.com/archway-network/archway/app/upgrades"
)

// This upgrade handler is used for all the current changes to the protocol
const Name = "v8.0.0"
const NameAsciiArt = `
### ### ###
# # # # # # # #
# # ### # # # #
# # # # # # #
### # ### # ###
const Name = "latest"
const NameAsciiArt = ""
`

var Upgrade = upgrades.Upgrade{
UpgradeName: Name,
Expand Down
2 changes: 1 addition & 1 deletion docs/static/swagger.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion interchaintest/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

const (
initialVersion = "v7.0.1" // The last release of the chain. The one the mainnet is running on
upgradeName = "latest" // The next upgrade name. Should match the upgrade handler.
upgradeName = "v8.0.0" // The next upgrade name. Should match the upgrade handler.
chainName = "archway"
)

Expand Down

0 comments on commit 53405f4

Please sign in to comment.