You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/troubleshooting.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,3 +46,38 @@ let l1_head_number = l1_head_number + 100;
46
46
The error occurs in the derivation pipeline when attempting to validate L2 blocks. The L1 head must be sufficiently ahead of the batch posting block to ensure all required data is available and the safe head state is consistent. The buffer of 20 blocks is added empirically to handle most cases where RPCs may have an incorrect view of the safe head state and have minimum overhead for the derivation process.
This error occurs when your RPC provider is rate-limiting requests due to too many concurrent calls. OP Succinct makes concurrent RPC requests to fetch block data efficiently, which can exceed the limits of free or low-tier RPC plans.
66
+
67
+
**Solution:**
68
+
Set the `RPC_CONCURRENCY` environment variable to a lower value:
69
+
70
+
```bash
71
+
# For low-tier RPC plans, try 3-5 concurrent requests
72
+
export RPC_CONCURRENCY=5
73
+
74
+
# For very restrictive plans
75
+
export RPC_CONCURRENCY=3
76
+
```
77
+
78
+
The default is `10` concurrent requests. Reducing this value will make operations slower but more reliable for rate-limited RPC endpoints.
79
+
80
+
**Recommendations:**
81
+
- Free RPC tiers: Set `RPC_CONCURRENCY=3`
82
+
- Basic paid tiers: Set `RPC_CONCURRENCY=5`
83
+
- Professional tiers: Default `10` should work, or increase for faster performance
Copy file name to clipboardExpand all lines: book/validity/proposer.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ Before starting the proposer, ensure you have deployed the relevant contracts an
39
39
| Parameter | Description |
40
40
|-----------|-------------|
41
41
|`L1_BEACON_RPC`| L1 Consensus (Beacon) Node. Could be required for integrations that access consensus-layer data. |
42
+
|`RPC_CONCURRENCY`| Default: `10`. Maximum number of concurrent RPC requests. Lower this value (e.g., `3`-`5`) if you're hitting 429 rate limit errors from your RPC provider. |
42
43
|`NETWORK_RPC_URL`| Default: `https://rpc.production.succinct.xyz`. RPC URL for the Succinct Prover Network. |
43
44
|`DATABASE_URL`| Default: `postgres://op-succinct@postgres:5432/op-succinct`. The address of a Postgres database for storing the intermediate proposer state. |
44
45
|`DGF_ADDRESS`| Address of the `DisputeGameFactory` contract. Note: If set, the proposer will create a dispute game with the DisputeGameFactory, rather than the `OPSuccinctL2OutputOracle`. Compatible with `OptimismPortal2`. |
0 commit comments