# vota-ash Snapshot and Unjail Guide
## How To Use Vota Mainnet Snapshot
### Install lz4 if needed
```shell
sudo apt update
sudo apt install snapd -y
sudo snap install lz4
```
### Stop your node
```shell
sudo systemctl stop dorad
```
### Download the latest doravota and compile `dorad`
You should check you have **deleted you local doravota source code** and download the latest doravota source code.
```shell
rm -rf doravota
git clone https://github.com/DoraFactory/doravota.git
cd doravota && git checkout 0.3.1
```
> The repo commit hash is:
`231861b`. Please check before you build the source code.
```shell
make install
```
### Clean your local environment
Since Vota has enabled wasm and its wasm folder is outside the data folder. To sure that you have a clean start, please delete your wasm folder and data folder manually.
```shell
rm -rf $HOME/.dora/data $HOME/.dora/wasm
```
Due to the restart of a new P2P network environment, you also need to remove the old `addrbook.json` and add new peer nodes to you `~/.dorad/config/config.toml` to ensure data synchronization smoothly.
```shell
rm ~/.dora/config/addrbook.json
PEERS="d49defb23a75ff08c924622e3a2f69280983fed7@13.215.46.25:26656,d6e42c70316e354dcb44fd3a86e97b64fa99fc5e@54.179.177.80:26656,220204926f8da0e197572d458e205608306f1ed1@54.251.131.190:26656" && sed -i 's|^seeds *=.*|seeds = "'$PEERS'"|' $HOME/.dora/config/config.toml && sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.dora/config/config.toml
```
### Download and Decompress the snapshot
```shell
curl https://df-node-dump.s3.ap-southeast-1.amazonaws.com/dora_2786145.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.dora
```
### Restart your node
Double check everything you have done.
```shell
sudo systemctl restart dorad && sudo journalctl -u dorad -f
```
## Unjail your validator
If your validator is currently in an "unjail" state, **after synchronizing to the latest block through the above snapshot**, please execute the "**unjail**" command to qualify your validator for entry into the active set.
```shell
dorad tx slashing unjail --from <YOUR_OWNER_KEY_NAME> --gas-prices 100000000000peaka --gas auto --gas-adjustment 1.8 --chain-id "vota-ash"
```
**Please ping us in Telegram when you executed all above operations!!!!!!**