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: pages/builders/chain-operators/configuration/batcher.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The batcher policy defines high-level constraints and responsibilities regarding
27
27
***Data Availability Types**:
28
28
***Calldata** is generally simpler but can be more expensive on mainnet Ethereum, depending on gas prices.
29
29
***Blobs** are typically lower cost when your chain has enough transaction volume to fill large chunks of data.
30
-
* The `op-batcher` can toggle between these approaches by setting the `--data-availability-type=<blobs|calldata>` flag or with the `OP_BATCHER_DATA_AVAILABILITY_TYPE` env variable.
30
+
* The `op-batcher` can toggle between these approaches by setting the `--data-availability-type=<blobs|calldata|auto>` flag or with the `OP_BATCHER_DATA_AVAILABILITY_TYPE` env variable. Setting this flag to `auto` will allow the batcher to automatically switch between `calldata` and `blobs` based on the current L1 gas price.
31
31
32
32
***Batch Submission Frequency** (`OP_BATCHER_MAX_CHANNEL_DURATION` and related flags):
33
33
* Standard OP Chains frequently target a maximum channel duration between 1–6 hours.
@@ -287,6 +287,10 @@ is `shadow`.
287
287
288
288
### data-availability-type
289
289
290
+
<Callouttype="info">
291
+
Setting this flag to `auto` will allow the batcher to automatically switch between `calldata` and `blobs` based on the current L1 gas price.
292
+
</Callout>
293
+
290
294
The data availability type to use for submitting batches to the L1. Valid
291
295
options: `calldata`, `blobs`, and `auto`. The default value is `calldata`.
0 commit comments