Skip to content

Commit

Permalink
added op-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloxster committed Jan 4, 2025
1 parent 964f2d3 commit e2f165d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
13 changes: 13 additions & 0 deletions src/op-node.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit e2f165d

Please sign in to comment.