Skip to content

Commit

Permalink
feat(op): docs sync to tip (paradigmxyz#8584)
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane authored Jun 4, 2024
1 parent 4c6e5be commit 13fcb88
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion book/run/sync-op-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 13fcb88

Please sign in to comment.