Skip to content

Commit b24f06d

Browse files
committed
amend
1 parent 8019170 commit b24f06d

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

docs/guides/deploy/mainnet.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,25 @@ Ev-node is the sequencer that creates blocks, propagates them to other peers, an
2727
| Header Namespace | Required. Namespace for block headers. |
2828
| Data Namespace | Required. Namespace for block data. Two namespaces are recommended, but one can be used. |
2929
| Forced Inclusion Namespace | Optional. For censorship resistance. |
30-
| DA Block Time | Controls blob submission frequency. Should be **higher** than the underlying DA block time. |
30+
| DA Block Time | Used for syncing with the DA layer. Set this to the block time of the underlying DA chain. |
31+
32+
#### Batching Strategy
33+
34+
Blob submission to the DA layer is controlled by the batching strategy, not the DA block time. Choose a strategy based on your latency vs. cost trade-off:
35+
36+
| Strategy | Behavior |
37+
|---|---|
38+
| `immediate` | Submits as soon as any items are available. Lowest latency, highest cost. |
39+
| `size` | Waits until the batch reaches a size threshold (fraction of max blob size). |
40+
| `time` | Waits for a time interval (`batch_max_delay`) before submitting. Default strategy. |
41+
| `adaptive` | Submits when either the size threshold or the max delay is reached, whichever comes first. |
42+
43+
Related configuration flags:
44+
45+
- `da.batching_strategy` -- Strategy name (default: `time`)
46+
- `da.batch_size_threshold` -- Fraction of max blob size before submitting, 0.0-1.0 (default: 0.8). Applies to `size` and `adaptive`.
47+
- `da.batch_max_delay` -- Maximum wait time before submitting regardless of size (default: DA block time). Applies to `time` and `adaptive`.
48+
- `da.batch_min_items` -- Minimum items to accumulate before considering submission (default: 1).
3149

3250
#### DA Account Funding
3351

0 commit comments

Comments
 (0)