Skip to content

Commit

Permalink
feat: add v1.0 testnet upgrade instructions (#1077)
Browse files Browse the repository at this point in the history
Co-authored-by: Milap Sheth <[email protected]>
  • Loading branch information
StephenFluin and milapsheth authored Aug 1, 2024
1 parent 3c92ab7 commit 6c73e43
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 136 deletions.
266 changes: 130 additions & 136 deletions src/layouts/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,150 +499,144 @@ export const getNavigation = (section) => {
title: "Upgrades",
children: [
{
title: "Mainnet",
title: "Mainnet axelard",
children: [
{
title: "Axelard",
children: [
{
title: "v0.35",
href: "/resources/mainnet/upgrades/v35",
},
{
title: "v0.34",
href: "/resources/mainnet/upgrades/v34",
},
{
title: "v0.33",
href: "/resources/mainnet/upgrades/v33",
},
{
title: "v0.31",
href: "/resources/mainnet/upgrades/v31",
},
{
title: "v0.29",
href: "/resources/mainnet/upgrades/v29",
},
{
title: "v0.28",
href: "/resources/mainnet/upgrades/v28",
},
{
title: "v0.26",
href: "/resources/mainnet/upgrades/v26",
},
{
title: "v0.24",
href: "/resources/mainnet/upgrades/v24",
},
{
title: "v0.21",
href: "/resources/mainnet/upgrades/v21",
},
{
title: "v0.20",
href: "/resources/mainnet/upgrades/v20",
},
{
title: "v0.19",
href: "/resources/mainnet/upgrades/v19",
},
{
title: "v0.18",
href: "/resources/mainnet/upgrades/v18",
},
{
title: "v0.17",
href: "/resources/mainnet/upgrades/v17",
},
{
title: "v0.16",
href: "/resources/mainnet/upgrades/v16",
},
],
title: "v0.35",
href: "/resources/mainnet/upgrades/v35",
},
{
title: "v0.34",
href: "/resources/mainnet/upgrades/v34",
},
{
title: "v0.33",
href: "/resources/mainnet/upgrades/v33",
},
{
title: "v0.31",
href: "/resources/mainnet/upgrades/v31",
},
{
title: "v0.29",
href: "/resources/mainnet/upgrades/v29",
},
{
title: "v0.28",
href: "/resources/mainnet/upgrades/v28",
},
{
title: "v0.26",
href: "/resources/mainnet/upgrades/v26",
},
{
title: "v0.24",
href: "/resources/mainnet/upgrades/v24",
},
{
title: "v0.21",
href: "/resources/mainnet/upgrades/v21",
},
{
title: "v0.20",
href: "/resources/mainnet/upgrades/v20",
},
{
title: "v0.19",
href: "/resources/mainnet/upgrades/v19",
},
{
title: "v0.18",
href: "/resources/mainnet/upgrades/v18",
},
{
title: "v0.17",
href: "/resources/mainnet/upgrades/v17",
},
{
title: "v0.16",
href: "/resources/mainnet/upgrades/v16",
},
],
},
{
title: "Testnet",
title: "Testnet axelard",
children: [
{
title: "Axelard",
children: [
{
title: "v0.35",
href: "/resources/testnet/upgrades/v35",
},
{
title: "v0.34",
href: "/resources/testnet/upgrades/v34",
},
{
title: "v0.33",
href: "/resources/testnet/upgrades/v33",
},
{
title: "v0.32",
href: "/resources/testnet/upgrades/v32",
},
{
title: "v0.31",
href: "/resources/testnet/upgrades/v31",
},
{
title: "v0.29",
href: "/resources/testnet/upgrades/v29",
},
{
title: "v0.28",
href: "/resources/testnet/upgrades/v28",
},
{
title: "v0.27",
href: "/resources/testnet/upgrades/v27",
},
{
title: "v0.26",
href: "/resources/testnet/upgrades/v26",
},
{
title: "v0.25",
href: "/resources/testnet/upgrades/v25",
},
{
title: "v0.24",
href: "/resources/testnet/upgrades/v24",
},
{
title: "v0.23",
href: "/resources/testnet/upgrades/v23",
},
{
title: "v0.22",
href: "/resources/testnet/upgrades/v22",
},
{
title: "v0.21",
href: "/resources/testnet/upgrades/v21",
},
{
title: "v0.20",
href: "/resources/testnet/upgrades/v20",
},
{
title: "v0.19",
href: "/resources/testnet/upgrades/v19",
},
{
title: "v0.18",
href: "/resources/testnet/upgrades/v18",
},
{
title: "v0.17",
href: "/resources/testnet/upgrades/v17",
},
],
title: "v1.0",
href: "/resources/testnet/upgrades/v1.0",
},
{
title: "v0.35",
href: "/resources/testnet/upgrades/v35",
},
{
title: "v0.34",
href: "/resources/testnet/upgrades/v34",
},
{
title: "v0.33",
href: "/resources/testnet/upgrades/v33",
},
{
title: "v0.32",
href: "/resources/testnet/upgrades/v32",
},
{
title: "v0.31",
href: "/resources/testnet/upgrades/v31",
},
{
title: "v0.29",
href: "/resources/testnet/upgrades/v29",
},
{
title: "v0.28",
href: "/resources/testnet/upgrades/v28",
},
{
title: "v0.27",
href: "/resources/testnet/upgrades/v27",
},
{
title: "v0.26",
href: "/resources/testnet/upgrades/v26",
},
{
title: "v0.25",
href: "/resources/testnet/upgrades/v25",
},
{
title: "v0.24",
href: "/resources/testnet/upgrades/v24",
},
{
title: "v0.23",
href: "/resources/testnet/upgrades/v23",
},
{
title: "v0.22",
href: "/resources/testnet/upgrades/v22",
},
{
title: "v0.21",
href: "/resources/testnet/upgrades/v21",
},
{
title: "v0.20",
href: "/resources/testnet/upgrades/v20",
},
{
title: "v0.19",
href: "/resources/testnet/upgrades/v19",
},
{
title: "v0.18",
href: "/resources/testnet/upgrades/v18",
},
{
title: "v0.17",
href: "/resources/testnet/upgrades/v17",
},
],
},
Expand Down
79 changes: 79 additions & 0 deletions src/pages/resources/testnet/upgrades/v1.0.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Testnet upgrade: v1.0.0

import { Callout } from '/src/components/callout'

## About the v1.0.0 upgrade

This release finalizes initial support for [Amplifier](/dev/amplifier/introduction).

Changes since 0.35.x:
- Various fixes that improve stability
- New queries in the axelarnet module to query the IBC path for a chain and the chain by IBC path
- Added a new message type “BatchRequest”. In contrast to cosmos default behaviour, where the entire tx gets rolled back if there is an error in any of the contained message executions, this batch only rolls back the state for the specific messages that fail and keeps the rest
- Allow refundable messages to be batched
- Correctly pass message IDs between core and the new amplifier
- Add functionality to quickly (de)activate the connection between core and amplifier in case of emergencies

See all the changes in the [`axelar-core` release notes](https://github.com/axelarnetwork/axelar-core/releases).

Upgrade height `14625900` at approximately **11AM Eastern Time (15:00 UTC) on August 1st, 2024** ([countdown](https://www.mintscan.io/axelar-testnet/block/14625900))

<Callout type="warning" emoji="⚠️">
As of v1.0.0, the `axelard` [binary releases](https://github.com/axelarnetwork/axelar-core/releases) require `GLIBC_2.34`, which is not present on Ubuntu 20.04.

You will need to compile `axelard` from source, or upgrade to Ubuntu 22.04.
</Callout>



<Callout type="warning" emoji="⚠️">
If using the community node setup scripts, please update to the latest commit on `main` first.
`wasmvm` lib will be auto-downloaded to `$AXELARD_HOME/lib` but you'll need to add it to `LD_LIBRARY_PATH` before running the script.
</Callout>

1. If you're a validator or have delegated to one, you can vote for the upgrade proposal, while it's active, via

```bash
axelard tx gov vote 99 yes --from validator
```

2. Wait for the proposed upgrade block, `14625900`. Your node will panic at that block height with a log: `{"level":"error","module":"consensus","err":"UPGRADE \"v1.0\" NEEDED at height: 14625900", ...}`. Stop your node after chain halt.

```bash
pkill -f 'axelard start'
# Validators need to also stop vald/tofnd
pkill -f 'vald-start'
pkill -f tofnd
```

3. Backup the state:

```bash
cp -r ~/.axelar_testnet/.core/data ~/.axelar-lisbon-3-upgrade-0.35/.core/data
```

<Callout type="warning" emoji="⚠️">
Caution: If you backup the entire folder, `~/.axelar_testnet/.core`, that'll
also include your private keys (inside `config` and `keyring-file`
subfolders). That can be dangerous if anyone gets access to your backups. We
recommend backing up keys separately when you first create your node, and then
excluding them from any data backups.
</Callout>

4. Restart your `axelard` node with the new `v1.0.0` build.
5. If you're a validator also restart `vald` with `v1.0.0` and `tofnd` with `v0.10.1`.

<Callout type="warning" emoji="⚠️">
[`tofnd` 1.0.1 has been released](https://github.com/axelarnetwork/tofnd/releases), but we recommend adopting `v1.0.1` of `tofnd` over the coming days, independently from the upgrade.
</Callout>

Example using join scripts in [axelarate-community git repo](https://github.com/axelarnetwork/axelarate-community):

```bash
# in axelarate-community repo (https://github.com/axelarnetwork/axelarate-community)
git checkout main
git pull
KEYRING_PASSWORD="pw-1" ./scripts/node.sh -n testnet -a v1.0.0
# For validators, restart vald/tofnd
KEYRING_PASSWORD="pw-1" TOFND_PASSWORD="pw-2" ./scripts/validator-tools-host.sh -n testnet -a v1.0.0 -q v0.10.1
```

0 comments on commit 6c73e43

Please sign in to comment.