-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bloxster
committed
Jan 4, 2025
1 parent
964f2d3
commit e2f165d
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |