Snapshot

Stop the service and reset the data

sudo systemctl stop uniond
cp $HOME/.union/data/priv_validator_state.json $HOME/.union/priv_validator_state.json.backup
rm -rf $HOME/.union/data

Download latest snapshot

curl -L http://snapshots.liveraven.net/snapshots/testnet/union/union-testnet-8_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.union
mv $HOME/.union/priv_validator_state.json.backup $HOME/.union/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl start uniond && sudo journalctl -u uniond -fn 100 -o cat

Last updated