You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Ensure all the Github workflows are passing on main
Rename the latest upgrade handlers to the v8.0.0. This includes:
Rename the package name in app/upgrades/latest/upgrades.go from upgradelatest to upgrades8_0_0
Set the name of the upgrade handler by setting the Name to the new version name v8.0.0
Set the NameAsciiArt to match what the version is expected to be. You can generate the art from here and using the font 3x5
In app/app_upgrades change the import path from upgradelatest "github.com/archway-network/archway/app/upgrades/latest" to upgrade8_0_0 "github.com/archway-network/archway/app/upgrades/8_0_0"
In app/app_upgrades change the new Upgrade Handler reference from upgradelatest.Upgrade to upgrade8_0_0.Upgrade
Update the upgradeName value to v8.0.0 in the interchaintest/setup.go. This is used in the Chain Upgrade test and modifying this ensures that we simulate the upgrade accurately.
Update the CHANEGLOG. This includes
Renaming the ## [Unreleased] header to [v8.0.0](https://github.com/archway-network/archway/releases/tag/v8.0.0)
Removed any unused headers
Fix any typos or duplicates
Create a PR with the above changes titled chore: vX release changes
Release
Once above PR is merged, create a new release here. Name the release and the tag as v8.0.0 and the contents are copy pasted from CHANGELOG.md
At the end add a version compare link as so **Full Changelog**: https://github.com/archway-network/archway/compare/v7.0.0...v8.0.0
Ensure all release artifacts are successfully built
Post Release
Update CHANGELOG by adding the following to the top of the file
Add new file at path upgrades/latest/upgrades.go with the following contents
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 protocolconstName="latest"constNameAsciiArt=""varUpgrade= upgrades.Upgrade{
UpgradeName: Name,
CreateUpgradeHandler: func(mm*module.Manager, cfg module.Configurator, keepers keepers.ArchwayKeepers) upgradetypes.UpgradeHandler {
returnfunc(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
migrations, err:=mm.RunMigrations(ctx, cfg, fromVM)
iferr!=nil {
returnnil, err
}
ctx.Logger().Info(upgrades.ArchwayLogo+NameAsciiArt)
returnmigrations, nil
}
},
StoreUpgrades: storetypes.StoreUpgrades{},
}
Add the latest upgrade handler reference to app/app_upgrades.go as the following package import upgradelatest "github.com/archway-network/archway/app/upgrades/latest" and the upgrade name as upgradelatest.Upgrade, // latest - This upgrade handler is used for all the current changes to the protocol
Update the initialVersion value in the interchaintest/setup.go to "v8.0.0" and upgradeName to latest. This is used in the Chain Upgrade test and modifying this ensures that we always have an upgrade handler test for each PR
Create a PR for the above with the title chore: Post v8.0.0 release maintenance
The text was updated successfully, but these errors were encountered:
spoo-bar
added
the
release
Indicates if the issues and PRs are related to release of new version of the protocol
label
Jul 4, 2024
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
main
latest
upgrade handlers to thev8.0.0
. This includes:app/upgrades/latest/upgrades.go
fromupgradelatest
toupgrades8_0_0
Name
to the new version namev8.0.0
NameAsciiArt
to match what the version is expected to be. You can generate the art from here and using the font3x5
app/app_upgrades
change 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_upgrades
change the new Upgrade Handler reference fromupgradelatest.Upgrade
toupgrade8_0_0.Upgrade
upgradeName
value tov8.0.0
in 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 changes
Release
v8.0.0
and the contents are copy pasted from CHANGELOG.md**Full Changelog**: https://github.com/archway-network/archway/compare/v7.0.0...v8.0.0
Post Release
upgrades/latest/upgrades.go
with the following contentsapp/app_upgrades.go
as 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 protocol
initialVersion
value in theinterchaintest/setup.go
to "v8.0.0" andupgradeName
tolatest
. 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
The text was updated successfully, but these errors were encountered: