From 35f943916458fd2809d2e5e9b6b6c0b62465d8b9 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Wed, 13 Aug 2025 04:25:02 +0800 Subject: [PATCH 1/2] Update chain-dev-net.mdx --- .../tutorials/chain-dev-net.mdx | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/pages/operators/chain-operators/tutorials/chain-dev-net.mdx b/pages/operators/chain-operators/tutorials/chain-dev-net.mdx index ca05f63c3..2c0a27be9 100644 --- a/pages/operators/chain-operators/tutorials/chain-dev-net.mdx +++ b/pages/operators/chain-operators/tutorials/chain-dev-net.mdx @@ -69,14 +69,28 @@ accepts a YAML file which configures how many network participants there are, wh the network's topology. An example YAML file is below: ```yaml +# Check https://github.com/ethpandaops/optimism-package for more detail. + optimism_package: - chains: # you can define multiple L2s, which will be deployed against the same L1 as a single Superchain - - participants: # each participant is a node in the network. here we've defined two, one running op-geth and one running op-reth - - el_type: op-geth # this node will be the sequencer since it's first in the list - - el_type: op-reth - network_params: - name: rollup-1 # can be anything as long as it is unique - network_id: 12345 # can be anything as long as it is unique + # An array of L2 networks to run. + chains: + # Chains are keyed by their network name. + rollup-1: + # Specification of the optimism-participants in the network. + participants: + # Nodes are keyed by their name. + node0: + # EL(Execution Layer) Specific flags. + el: + type: op-geth + # CL(Consensus Layer) Specific flags + cl: + type: op-node + node1: + el: + type: op-reth + cl: + type: op-node ``` Save the above configuration to a file. For the rest of this tutorial, we'll assume you've saved it to `network-config.yaml`. From 460eb347efdfc971d27b892d621dbef5845e48b1 Mon Sep 17 00:00:00 2001 From: Blessing Krofegha Date: Fri, 15 Aug 2025 14:30:41 +0100 Subject: [PATCH 2/2] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pages/operators/chain-operators/tutorials/chain-dev-net.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/operators/chain-operators/tutorials/chain-dev-net.mdx b/pages/operators/chain-operators/tutorials/chain-dev-net.mdx index 2c0a27be9..cded9ca3d 100644 --- a/pages/operators/chain-operators/tutorials/chain-dev-net.mdx +++ b/pages/operators/chain-operators/tutorials/chain-dev-net.mdx @@ -69,7 +69,7 @@ accepts a YAML file which configures how many network participants there are, wh the network's topology. An example YAML file is below: ```yaml -# Check https://github.com/ethpandaops/optimism-package for more detail. +# Check https://github.com/ethpandaops/optimism-package for more details. optimism_package: # An array of L2 networks to run.