State Sync
On Aug 15th, 2023, test-core-1
will be deprecated. The new official testnet will be test-core-2. Would request all the current validators to migrate their nodes before that!
State Sync
To aid with node syncing, the following State Sync endpoints are provided.
Cosmonaut Stakes
https://persistence-mainnet-rpc.cosmonautstakes.com:443
https://persistence-testnet-rpc.cosmonautstakes.com:443
Persistence
https://rpc.core.persistence.one:443
https://rpc.testnet.persistence.one:443
Polkachu
https://persistence-rpc.polkachu.com:443
https://persistence-testnet-rpc.polkachu.com:443
YTWOFUND
To use State Sync change the following under config.toml
. Choose at least 2 providers for the rpc_servers
parameters from the table above.
[statesync]
enable = true
rpc_servers = "https://rpc.core.persistence.one:443,https://persistence-mainnet-rpc.cosmonautstakes.com:443"
trust_height = 0
trust_hash = ""
trust_period = "112h0m0s"
Replace trust_height
and trust_hash
with the output of the following command. Depending if you're syncing a mainnet or testnet node, you might also want to replace the RPC endpoint.
curl -s https://rpc.core.persistence.one/status | jq '.result .sync_info | {trust_height: .latest_block_height, trust_hash: .latest_block_hash} | values'
Last updated
Was this helpful?