feat(op): docs sync to tip (#8584)

This commit is contained in:
Emilia Hane
2024-06-04 13:43:01 +02:00
committed by GitHub
parent 4c6e5be876
commit 13fcb885c6

View File

@ -51,4 +51,12 @@ Import of >4 million OP mainnet accounts at Bedrock, completes in 10 minutes.
```bash
./op-reth init-state --chain optimism <state-dump>
```
```
## Sync from Bedrock to tip
Running the node with `--debug.tip <block-hash>`syncs the node without help from CL until a fixed tip. The
block hash can be taken from the latest block on <https://optimistic.etherscan.io>.
Use `op-node` to track the tip. Start `op-node` with `--syncmode=execution-layer`. If `op-node`'s RPC
connection to L1 is over localhost, `--l1.trustrpc` can be set to improve performance.