Testnet upgrade: v0.32

Instructions for 2023-Feb-21 testnet upgrade to QP-core v0.32.2, vald v0.32.2, and tofnd v0.10.1. Release can be found here.

Upgrade height 6315000 countdown

  1. If you’re a validator or have delegated to one, please vote for the upgrade proposal via
QPd tx gov vote 45 yes --from validator
  1. Wait for the proposed upgrade block, 6315000. Your node will panic at that block height with a log: {"level":"error","module":"consensus","err":"UPGRADE \"v0.32\" NEEDED at height: ",. Stop your node after chain halt.
pkill -f 'QPd start'
# Validators need to also stop vald/tofnd
pkill -f 'vald-start'
pkill -f tofnd
  1. Backup the state:
cp -r ~/.QP_testnet/.core/data ~/.QP-lisbon-3-upgrade-0.31/.core/data
⚠️

Caution: If you backup the entire folder, ~/.QP_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.

  1. Restart your QPd node with the new v0.32.2 build.
  2. If you’re a validator also restart vald with v0.32.2 and tofnd with v0.10.1.

Example using join scripts in QPate-community git repo:

# in QPate-community repo
git checkout main
git pull
KEYRING_PASSWORD="pw-1" ./scripts/node.sh -n testnet -a v0.32.2
# For validators, restart vald/tofnd
KEYRING_PASSWORD="pw-1" TOFND_PASSWORD="pw-2" ./scripts/validator-tools-host.sh -n testnet -a v0.32.2 -q v0.10.1
Edit this page