🤝Joining Testnet Using State Sync
State sync offers the quickest way to join SEDA Testnet using only the current binary.
The state sync feature removes the hassle of manually downloading and decompressing a snapshot by automatically fetching a snapshot from a peer and then initiating the syncing process. This syncing strategy requires two trusted RPC nodes. SEDA's two seed nodes for the testnet are 13.41.125.154
and 18.171.36.35
.
To use state sync, first initialize your node if you haven't done so:
sedad join <moniker> --network testnet
Then obtain a trusted block height and hash from a trusted node. For example:
curl -s 18.171.36.35:26657/block | jq -r '.result.block.header.height + "\n" + .result.block_id.hash'
653231
B77528F6A290FCFBF25F730C6D490DE0DA7587EC6B2612AA2547773499CFB47E
Enable state sync and fill out the relevant fields in config.toml
accordingly:
[statesync]
enable = true
rpc_servers = "13.41.125.154:26657,18.171.36.35:26657"
trust_height = 653231
trust_hash = "B77528F6A290FCFBF25F730C6D490DE0DA7587EC6B2612AA2547773499CFB47E"
trust_period = "168h0m0s"
You may have to disable SEDA signer to start the node. If you are a validator, please read SEDA Keys to set up SEDA signer after you finish the current instructions.
sedad config set app seda.enable-seda-signer false
Start the node.
sedad start
Last updated
Was this helpful?