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/tutorials/create-l2-rollup.mdx
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -594,7 +594,6 @@ cd ~/optimism/op-node
594
594
--verifier.l1-confs=4 \
595
595
--rollup.config=./rollup.json \
596
596
--rpc.addr=0.0.0.0 \
597
-
--rpc.port=8547 \
598
597
--p2p.disable \
599
598
--rpc.enable-admin \
600
599
--p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY \
@@ -662,13 +661,13 @@ cd ~/optimism/op-batcher
662
661
--rpc.addr=0.0.0.0 \
663
662
--rpc.port=8548 \
664
663
--rpc.enable-admin \
665
-
--max-channel-duration=1 \
664
+
--max-channel-duration=25 \
666
665
--l1-eth-rpc=$L1_RPC_URL \
667
666
--private-key=$GS_BATCHER_PRIVATE_KEY
668
667
```
669
668
670
669
<Callouttype="info">
671
-
The `--max-channel-duration=n` setting tells the batcher to write all the data to L1 every `n` L1 blocks.
670
+
The [`--max-channel-duration=n`](/builders/chain-operators/configuration/batcher#set-your--op_batcher_max_channel_duration) setting tells the batcher to write all the data to L1 every `n` L1 blocks.
672
671
When it is low, transactions are written to L1 frequently and other nodes can synchronize from L1 quickly.
673
672
When it is high, transactions are written to L1 less frequently and the batcher spends less ETH.
674
673
If you want to reduce costs, either set this value to 0 to disable it or increase it to a higher value.
0 commit comments