use finalized checkpoint as default trusted node documented target (#5382)

This commit is contained in:
tersec 2023-09-02 05:10:54 +00:00 committed by GitHub
parent 8725595328
commit f99bb881f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -133,13 +133,13 @@ If you have a state file available, you can start the node using the `--finalize
```sh ```sh
# Obtain a state and a block from a Beacon API - these must be in SSZ format: # Obtain a state and a block from a Beacon API - these must be in SSZ format:
curl -o state.32000.ssz \ curl -o state.finalized.ssz \
-H 'Accept: application/octet-stream' \ -H 'Accept: application/octet-stream' \
http://localhost:5052/eth/v2/debug/beacon/states/32000 http://localhost:5052/eth/v2/debug/beacon/states/finalized
# Start the beacon node using the downloaded state as starting point # Start the beacon node using the downloaded state as starting point
./run-mainnet-beacon-node.sh \ ./run-mainnet-beacon-node.sh \
--finalized-checkpoint-state=state.32000.ssz --finalized-checkpoint-state=state.finalized.ssz
``` ```
## Recreate historical state access indices ## Recreate historical state access indices