fix(book): rethdb usage with op-node (#8375)

This commit is contained in:
bsh98
2024-05-24 02:54:32 -07:00
committed by GitHub
parent 76d7f4e1b9
commit 6df2b1c1e9

View File

@ -92,7 +92,7 @@ op-node \
--l1.trustrpc --l1.trustrpc
``` ```
If you opted to build the `op-node` with the `rethdb` build tag, this "`RPCKind`" can be enabled via appending two extra flags to the `op-node` invocation: 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 <chain-name>]`, or if you are using a custom datadir location via the `--datadir` flag, > 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 <chain-name>]`, or if you are using a custom datadir location via the `--datadir` flag,
> by appending `/db` to the end of the path. > by appending `/db` to the end of the path.
@ -100,7 +100,6 @@ If you opted to build the `op-node` with the `rethdb` build tag, this "`RPCKind`
```sh ```sh
op-node \ op-node \
# ... # ...
--l1.rpckind=reth_db \
--l1.rethdb=<your_L1_reth_db_path> --l1.rethdb=<your_L1_reth_db_path>
``` ```