From 13fcb885c60bab1390c4525cb5a0c35ab215e833 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Tue, 4 Jun 2024 13:43:01 +0200 Subject: [PATCH] feat(op): docs sync to tip (#8584) --- book/run/sync-op-mainnet.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/book/run/sync-op-mainnet.md b/book/run/sync-op-mainnet.md index 8c54aa877..ae8d6d3f2 100644 --- a/book/run/sync-op-mainnet.md +++ b/book/run/sync-op-mainnet.md @@ -51,4 +51,12 @@ Import of >4 million OP mainnet accounts at Bedrock, completes in 10 minutes. ```bash ./op-reth init-state --chain optimism -``` \ No newline at end of file +``` + +## Sync from Bedrock to tip + +Running the node with `--debug.tip `syncs the node without help from CL until a fixed tip. The +block hash can be taken from the latest block on . + +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. \ No newline at end of file