From 74ba71f7b31881b2eb4207a3b88d2250f8e993c5 Mon Sep 17 00:00:00 2001 From: siddharth0a <99310385+siddharth0a@users.noreply.github.com> Date: Tue, 6 Aug 2024 18:46:45 +0900 Subject: [PATCH] update op-reth docs for discv4 option (#10119) --- book/run/optimism.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/run/optimism.md b/book/run/optimism.md index 9eab6e16d..37c42b4a3 100644 --- a/book/run/optimism.md +++ b/book/run/optimism.md @@ -62,7 +62,7 @@ The `optimism` feature flag in `op-reth` adds several new CLI flags to the `reth 1. `--rollup.sequencer-http ` - The sequencer endpoint to connect to. Transactions sent to the `op-reth` EL are also forwarded to this sequencer endpoint for inclusion, as the sequencer is the entity that builds blocks on OP Stack chains. 1. `--rollup.disable-tx-pool-gossip` - Disables gossiping of transactions in the mempool to peers. This can be omitted for personal nodes, though providers should always opt to enable this flag. 1. `--rollup.enable-genesis-walkback` - Disables setting the forkchoice status to tip on startup, making the `op-node` walk back to genesis and verify the integrity of the chain before starting to sync. This can be omitted unless a corruption of local chainstate is suspected. -1. `--rollup.discovery.v4` - Enables the discovery v4 protocol for peer discovery. +1. `--rollup.discovery.v4` - Enables the discovery v4 protocol for peer discovery. By default, op-reth, similar to op-geth, has discovery v5 enabled and discovery v4 disabled, whereas regular reth has discovery v4 enabled and discovery v5 disabled. First, ensure that your L1 archival node is running and synced to tip. Also make sure that the beacon node / consensus layer client is running and has http APIs enabled. Then, start `op-reth` with the `--rollup.sequencer-http` flag set to the `Base Mainnet` sequencer endpoint: ```sh