Snapshot
info
Snapshots are taken every 6 hours.
sudo apt update
sudo apt install lz4 -y
systemctl stop wardend
cp $HOME/.warden/data/priv_validator_state.json $HOME/.warden/priv_validator_state.json.backup
wardend tendermint unsafe-reset-all --home $HOME/.warden --keep-addr-book
SNAP_NAME=$(curl -s https://testnet.anatolianteam.com/warden/ | egrep -o ">chiado_10010-1.*\.tar.lz4" | tr -d ">")
curl -L https://testnet.anatolianteam.com/warden/${SNAP_NAME} | tar -I lz4 -xf - -C $HOME/.warden
mv $HOME/.warden/priv_validator_state.json.backup $HOME/.warden/data/priv_validator_state.json
systemctl restart wardend && journalctl -u wardend -f -o cat