From 26d8bd6a4fe8d865467346c18857b7c79d50f2f4 Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Mon, 17 Jun 2024 13:47:28 +0200 Subject: [PATCH] fix(docs): `op-node` flags (#8884) --- book/run/optimism.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/book/run/optimism.md b/book/run/optimism.md index b16a7e4b9..3e4c76b7c 100644 --- a/book/run/optimism.md +++ b/book/run/optimism.md @@ -83,10 +83,12 @@ op-node \ --l2.jwt-secret=/path/to/jwt.hex \ --rpc.addr=0.0.0.0 \ --rpc.port=7000 \ - --l1.trustrpc \ --l1.beacon= + --syncmode=execution-layer ``` +Consider adding the `--l1.trustrpc` flag to improve performance, if the connection to l1 is over localhost. + If you opted to build the `op-node` with the `rethdb` build tag, this feature can be enabled by appending one extra flag to the `op-node` invocation: > Note, the `reth_db_path` is the path to the `db` folder inside of the reth datadir, not the `mdbx.dat` file itself. This can be fetched from `op-reth db path [--chain ]`, or if you are using a custom datadir location via the `--datadir` flag,