Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.72 KB

File metadata and controls

46 lines (33 loc) · 1.72 KB

Mainnet upgrade: v0.21

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

Instructions for 2022-Aug-29 mainnet upgrade to axelar-core v0.21.1, vald v0.21.1, and tofnd v0.10.1.

Upgrade height 3643500 countdown

  1. If you're a validator, please vote for the upgrade proposal via
axelard tx gov vote 12 yes --from validator
  1. Wait for the proposed upgrade block, 3643500. Your node will panic at that block height with a log: {"level":"error","module":"consensus","err":"UPGRADE \"v0.21\" NEEDED at height: ",. Stop your node after chain halt.
pkill -f 'axelard start'
# Validators need to also stop vald/tofnd
pkill -f vald-start
pkill -f tofnd
  1. Backup the state:
cp -r ~/.axelar/.core/data ~/.axelar-dojo-1-upgrade-0.21/.core/data
Caution: If you backup the entire folder, `~/.axelar/.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.
  1. Restart your node with the new v0.21.1 build.
  2. If you're a validator also restart vald with v0.21.1 and tofnd with v0.10.1.

Example using join scripts in axelarate-community git repo:

# in axelarate-community repo
git checkout main
git pull
KEYRING_PASSWORD="pw-1" ./scripts/node.sh -n mainnet -a v0.21.1
# For validators, restart vald/tofnd
KEYRING_PASSWORD="pw-1" TOFND_PASSWORD="pw-2" ./scripts/validator-tools-host.sh -a v0.21.1 -q v0.10.1 -n mainnet