docs: add engine kind flag to op-mainnet book (#10289)

This commit is contained in:
joshieDo
2024-08-14 00:20:01 +01:00
committed by GitHub
parent 834858caee
commit a92a3ec5cf

View File

@ -60,5 +60,5 @@ $ op-reth init-state --chain optimism <state-dump>
Running the node with `--debug.tip <block-hash>`syncs the node without help from CL until a fixed tip. The 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>. 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 Use `op-node` to track the tip. Start `op-node` with `--syncmode=execution-layer` and `--l2.enginekind=reth`. If `op-node`'s RPC
connection to L1 is over localhost, `--l1.trustrpc` can be set to improve performance. connection to L1 is over localhost, `--l1.trustrpc` can be set to improve performance.