Archwayd Release Checklist
This checklist is to be used for tracking the final things to do to wrap up a new release of the Archway protocol binary as well as all the post upgrade maintenance work.
Before Release
Release
Post Release
## [Unreleased]
### Added
### Changed
### Deprecated
### Removed
### Fixed
### Improvements
package upgradelatest
import (
storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth/keeper"
upgradetypes "cosmossdk.io/x/upgrade/types"
"github.com/archway-network/archway/app/keepers"
"github.com/archway-network/archway/app/upgrades"
)
// This upgrade handler is used for all the current changes to the protocol
const Name = "latest"
const NameAsciiArt = ""
var Upgrade = upgrades.Upgrade{
UpgradeName: Name,
CreateUpgradeHandler: func(mm *module.Manager, cfg module.Configurator, keepers keepers.ArchwayKeepers) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
migrations, err := mm.RunMigrations(ctx, cfg, fromVM)
if err != nil {
return nil, err
}
ctx.Logger().Info(upgrades.ArchwayLogo + NameAsciiArt)
return migrations, nil
}
},
StoreUpgrades: storetypes.StoreUpgrades{},
}
Archwayd Release Checklist
This checklist is to be used for tracking the final things to do to wrap up a new release of the Archway protocol binary as well as all the post upgrade maintenance work.
Before Release
mainlatestupgrade handlers to thev8.0.0. This includes:app/upgrades/latest/upgrades.gofromupgradelatesttoupgrades8_0_0Nameto the new version namev8.0.0NameAsciiArtto match what the version is expected to be. You can generate the art from here and using the font3x5app/app_upgradeschange the import path fromupgradelatest "github.com/archway-network/archway/app/upgrades/latest"toupgrade8_0_0 "github.com/archway-network/archway/app/upgrades/8_0_0"app/app_upgradeschange the new Upgrade Handler reference fromupgradelatest.Upgradetoupgrade8_0_0.UpgradeupgradeNamevalue tov8.0.0in theinterchaintest/setup.go. This is used in the Chain Upgrade test and modifying this ensures that we simulate the upgrade accurately.## [Unreleased]header to[v8.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0)chore: vX release changesRelease
v8.0.0and the contents are copy pasted from CHANGELOG.md**Full Changelog**: https://github.com/archway-network/archway/compare/v7.0.0...v8.0.0Post Release
upgrades/latest/upgrades.gowith the following contentsapp/app_upgrades.goas the following package importupgradelatest "github.com/archway-network/archway/app/upgrades/latest"and the upgrade name asupgradelatest.Upgrade, // latest - This upgrade handler is used for all the current changes to the protocolinitialVersionvalue in theinterchaintest/setup.goto "v8.0.0" andupgradeNametolatest. This is used in the Chain Upgrade test and modifying this ensures that we always have an upgrade handler test for each PRchore: Post v8.0.0 release maintenance