Cronos POS Chain · State sync
Bring a chain-maind node up from block #32.804.000 instead of genesis. 4 of 4 snapshot nodes answer. The trust point is 3.0K blocks behind the head; the trust period is 19 days.
Trust height
32.804.000
3.0K blocks behind
Snapshots
every 1000
10 kept per node
Nodes online
4/4
answered the last probe
Binary
v8.0.0
chain-maind
Two ways in: paste the config block, or run the script that does the whole reset.
Paste the [statesync] block into config.toml, or let the script do the reset for you. The node fetches the snapshot from two RPCs and checks it against the trust hash.
[statesync]
enable = true
rpc_servers = "https://rpc.mainnet.crypto.org:443,https://rpc-cryptoorgchain.ecostake.com:443"
trust_height = 32804000
trust_hash = "7D78311A776AC0F46FDC98748452B0E16957DED7E22F711CC60DCE691749D998"
trust_period = "448h0m0s"sudo systemctl stop chain-maind
# Keep the validator key and the address book, drop the state
cp $HOME/.chain-maind/data/priv_validator_state.json $HOME/.chain-maind/priv_validator_state.json.backup
# The subcommand moved between SDK versions — the first one the binary
# accepts runs, the others never do
chain-maind comet unsafe-reset-all --home $HOME/.chain-maind --keep-addr-book \
|| chain-maind tendermint unsafe-reset-all --home $HOME/.chain-maind --keep-addr-book \
|| chain-maind unsafe-reset-all --home $HOME/.chain-maind --keep-addr-book
cp $HOME/.chain-maind/priv_validator_state.json.backup $HOME/.chain-maind/data/priv_validator_state.json
# Point the node at the snapshot
sed -i.bak -E "/^\[statesync\]/,/^\[/ s|^(enable[[:space:]]*=[[:space:]]*).*$|\1true|" $HOME/.chain-maind/config/config.toml
sed -i.bak -E "s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"https://rpc.mainnet.crypto.org:443,https://rpc-cryptoorgchain.ecostake.com:443\"|" $HOME/.chain-maind/config/config.toml
sed -i.bak -E "s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\132804000|" $HOME/.chain-maind/config/config.toml
sed -i.bak -E "s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"7D78311A776AC0F46FDC98748452B0E16957DED7E22F711CC60DCE691749D998\"|" $HOME/.chain-maind/config/config.toml
sed -i.bak -E "s|^(trust_period[[:space:]]+=[[:space:]]+).*$|\1\"448h0m0s\"|" $HOME/.chain-maind/config/config.toml
sudo systemctl restart chain-maind
sudo journalctl -u chain-maind -f --no-hostname -o catState sync does not restore the wasm directory. Keep your existing $HOME/.chain-maind/wasm before resetting, or fetch it from a snapshot provider — a node that syncs without it fails once it hits a contract call.
RPC endpoints the registries list for this chain, probed for liveness.
4 nodes answered the last probe. State sync needs two that agree on the trust hash; the config above already picks them.
Entries for seeds and persistent_peers in config.toml.
5 seeds and 0 persistent peers from the chain registry. Copy either list straight into config.toml.