
AtomeOne
Chain ID:
atomone-1
Block Height:
RPC Status:
Snapshot
sudo apt updatesudo apt install snapd lz4 -ysudo systemctl stop atomonedcp $HOME/.atomone/data/priv_validator_state.json $HOME/.atomone/priv_validator_state.json.backuprm -rf $HOME/.atomone/datacurl -L https://snapshots.revonode.com/atomone/atomone-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.atomonemv $HOME/.atomone/priv_validator_state.json.backup $HOME/.atomone/data/priv_validator_state.jsonsudo systemctl restart atomoned && sudo journalctl -fu atomoned -o catStatesync
sudo systemctl stop atomonedcp $HOME/.atomone/data/priv_validator_state.json $HOME/.atomone/priv_validator_state.json.backupatomoned tendermint unsafe-reset-all --keep-addr-book --home $HOME/.atomoneSTATE_SYNC_RPC=https://rpc-atomone.revonode.comSTATE_SYNC_PEER=35e39b83d2d0d76a8ebd97939629fe0730508c0b@seed-atomone.revonode.com:10356LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height)SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000))SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)sed -i \-e "s|^enable *=.*|enable = true|" \-e "s|^rpc_servers *=.*|rpc_servers = "$STATE_SYNC_RPC,$STATE_SYNC_RPC"|" \-e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \-e "s|^trust_hash *=.*|trust_hash = "$SYNC_BLOCK_HASH"|" \-e "s|^persistent_peers *=.*|persistent_peers = "$STATE_SYNC_PEER"|" \$HOME/.atomone/config/config.tomlmv $HOME/.atomone/priv_validator_state.json.backup $HOME/.atomone/data/priv_validator_state.jsonsudo systemctl restart atomoned && sudo journalctl -u atomoned -f