sudo apt update
sudo apt-get install snapd lz4 -y
sudo systemctl stop tacchaind
cp $HOME/.tacchaind/data/priv_validator_state.json $HOME/.tacchaind/priv_validator_state.json.backup
rm -rf $HOME/.tacchaind/data
rm -rf $HOME/.tacchaind/wasm
tacchaind tendermint unsafe-reset-all --home ~/.tacchaind/ --keep-addr-book
SNAP_NAME=$(curl -s https://ss-t.tac.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.tac.nodestake.org/${SNAP_NAME}Â | lz4 -c -d - | tar -x -C $HOME/.tacchaind
mv $HOME/.tacchaind/priv_validator_state.json.backup $HOME/.tacchaind/data/priv_validator_state.json
sudo systemctl restart tacchaind
journalctl -u tacchaind -f