Upgrade

The following guide will help you upgrade cascadiad if you are currently running a validator.

Step 1: Update.

/cd $HOME
rm -rf cascadia
git clone https://github.com/cascadiafoundation/cascadia
cd cascadia

git switch -c v0.3.0

git checkout v0.3.0

make build
sudo mv $HOME/cascadia/build/cascadiad $(which cascadiad)
sudo systemctl restart cascadiad && sudo journalctl -u cascadiad -f

Step 2: Download a Snapshot.

sudo systemctl stop cascadiad

cp $HOME/.cascadiad/data/priv_validator_state.json $HOME/.cascadiad/priv_validator_state.json.backup

rm -rf $HOME/.cascadiad/data 
curl https://snapshot.cascadia.foundation/cascadia_11029-1_2023-12-22.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.cascadiad

mv $HOME/.cascadiad/priv_validator_state.json.backup $HOME/.cascadiad/data/priv_validator_state.json

sudo systemctl restart cascadiad && sudo journalctl -u cascadiad -f

Step 3: Unjail your Validator, if necessary.

cascadiad tx slashing unjail --from WALLET --chain-id cascadia_11029-1 --gas-prices 7aCC --node [your_node] -y

Last updated