From e2f165dbfb37afe90e89bb6f9f38b27d81609fa0 Mon Sep 17 00:00:00 2001 From: Bloxster Date: Sat, 4 Jan 2025 08:13:29 +0100 Subject: [PATCH] added op-node --- src/SUMMARY.md | 1 + src/op-node.md | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/op-node.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 47d2145..080a8bd 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -40,6 +40,7 @@ - [TxPool](advanced/txpool.md) - [Sentry](advanced/sentry.md) - [Downloader](advanced/downloader.md) + - [Running an Op-node](op-node.md) - [TLS Authentication](advanced/tls-authentication.md) - [Perfomance Tricks](advanced/performance.md) diff --git a/src/op-node.md b/src/op-node.md new file mode 100644 index 0000000..434dbc7 --- /dev/null +++ b/src/op-node.md @@ -0,0 +1,13 @@ +# Running an Op-Node Alongside Erigon + +To run an op-node alongside Erigon, follow these steps: + +1. **Start Erigon with Caplin Enabled**: + If Caplin is running as the consensus layer (CL), use the `--caplin.blobs-immediate-backfill` flag to ensure the last 18 days of blobs are backfilled, which is critical for proper synchronization with the op-node, assuming you start from a snapshot. + ```bash + ./build/bin/erigon --caplin.blobs-immediate-backfill + ``` +2. **Run the Op-Node**: +Configure the op-node with the `--l1.trustrpc` flag to trust the Erigon RPC layer as the L1 node. This setup ensures smooth communication and synchronization. + +This configuration enables the op-node to function effectively with Erigon serving as both the L1 node and the CL.