Skip to content

Commit 0b35867

Browse files
authored
fix: set an authrpc address for the opstack (#109)
1 parent cc825c1 commit 0b35867

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

examples/op-stack-rollup-boost.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example shows how to deploy an Op Stack with rollup-boost with an external block builder (op-reth).
44

5-
First, download the op-reth binary:
5+
First, download the `op-reth` binary:
66

77
```bash
88
$ go run main.go artifacts op-reth
@@ -35,7 +35,10 @@ The `--external-builder` flag is used to specify the URL of the external block b
3535
Third, we can start the `op-reth` binary as the external block builder:
3636

3737
```bash
38-
$ $HOME/.playground/op-reth-v1.3.12 node --http --http.port 2222 --authrpc.port 4444 --authrpc.jwtsecret $HOME/.playground/devnet/jwtsecret --chain $HOME/.playground/devnet/l2-genesis.json --datadir /tmp/builder --disable-discovery --port 30333 --trusted-peers enode://3479db4d9217fb5d7a8ed4d61ac36e120b05d36c2eefb795dc42ff2e971f251a2315f5649ea1833271e020b9adc98d5db9973c7ed92d6b2f1f2223088c3d852f@127.0.0.1:30304
38+
$ $HOME/.playground/op-reth-v1.3.12 node --http --http.port 2222 \
39+
--authrpc.addr 0.0.0.0 --authrpc.port 4444 --authrpc.jwtsecret $HOME/.playground/devnet/jwtsecret \
40+
--chain $HOME/.playground/devnet/l2-genesis.json --datadir /tmp/builder --disable-discovery --port 30333 \
41+
--trusted-peers enode://3479db4d9217fb5d7a8ed4d61ac36e120b05d36c2eefb795dc42ff2e971f251a2315f5649ea1833271e020b9adc98d5db9973c7ed92d6b2f1f2223088c3d852f@127.0.0.1:30304
3942
```
4043

4144
The command above starts op-reth as an external block builder with the following key parameters:
@@ -44,7 +47,7 @@ The command above starts op-reth as an external block builder with the following
4447
- `--authrpc.jwtsecret`: Uses the JWT secret generated during Op Stack deployment
4548
- `--trusted-peers`: Connects to our Op Stack's EL node using the deterministic enode address
4649

47-
Once op-reth is running, it will connect to the Op Stack and begin participating in block building. You can verify it's working by checking the logs of both the sequencer and op-reth for successful block proposals.
50+
Once `op-reth` is running, it will connect to the Op Stack and begin participating in block building. You can verify it's working by checking the logs of both the sequencer and op-reth for successful block proposals.
4851

4952
## Internal block builder
5053

0 commit comments

Comments
 (0)