Skip to content

Commit 6e9d054

Browse files
authored
Merge pull request #824 from opfocus/main
Update create-l2-rollup.mdx
2 parents ffbb7cc + 26dbdcc commit 6e9d054

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pages/builders/chain-operators/tutorials/create-l2-rollup.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ cd ~/optimism/op-node
594594
--verifier.l1-confs=4 \
595595
--rollup.config=./rollup.json \
596596
--rpc.addr=0.0.0.0 \
597-
--rpc.port=8547 \
598597
--p2p.disable \
599598
--rpc.enable-admin \
600599
--p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY \
@@ -662,13 +661,13 @@ cd ~/optimism/op-batcher
662661
--rpc.addr=0.0.0.0 \
663662
--rpc.port=8548 \
664663
--rpc.enable-admin \
665-
--max-channel-duration=1 \
664+
--max-channel-duration=25 \
666665
--l1-eth-rpc=$L1_RPC_URL \
667666
--private-key=$GS_BATCHER_PRIVATE_KEY
668667
```
669668

670669
<Callout type="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.
672671
When it is low, transactions are written to L1 frequently and other nodes can synchronize from L1 quickly.
673672
When it is high, transactions are written to L1 less frequently and the batcher spends less ETH.
674673
If you want to reduce costs, either set this value to 0 to disable it or increase it to a higher value.
@@ -698,8 +697,8 @@ cd ~/optimism/op-proposer
698697
./bin/op-proposer \
699698
--poll-interval=12s \
700699
--rpc.port=8560 \
701-
--rollup-rpc=http://localhost:8547 \
702-
--l2oo-address=$(cat ../packages/contracts-bedrock/deployments/getting-started/L2OutputOracleProxy.json | jq -r .address) \
700+
--rollup-rpc=http://localhost:9545 \
701+
--l2oo-address=$(cat ../packages/contracts-bedrock/deployments/getting-started/.deploy | jq -r .L2OutputOracleProxy) \
703702
--private-key=$GS_PROPOSER_PRIVATE_KEY \
704703
--l1-eth-rpc=$L1_RPC_URL
705704
```
@@ -728,7 +727,7 @@ cd ~/optimism/packages/contracts-bedrock
728727
{<h3>Get the address of the L1StandardBridgeProxy contract</h3>}
729728

730729
```bash
731-
cat deployments/getting-started/L1StandardBridgeProxy.json | jq -r .address
730+
cat deployments/getting-started/.deploy | jq -r .L1StandardBridgeProxy
732731
```
733732

734733
{<h3>Send some Sepolia ETH to the L1StandardBridgeProxy contract</h3>}

0 commit comments

Comments
 (0)