Skip to content

Commit

Permalink
add multi l2 config to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Jun 17, 2024
1 parent 47b4518 commit 4585858
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,34 @@ ethereum_package:
- dora
- blockscout
```

Additionally, you can spin up multipl L2 networks by providing a list of L2 configuration parameters like so:

```yaml
optimism_package:
- participants:
- el_type: op-geth
additional_services:
- blockscout
network_params:
preset: minimal
network_id: "3151909"
name: op_rollup_one
- participants:
- el_type: op-geth
network_params:
network_id: "3151910"
name: op_rollup_two
additional_services:
- blockscout
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
- blockscout
```
Note: if configuring multiple L2s, make sure that the `network_id` is set to differentiate networks.

0 comments on commit 4585858

Please sign in to comment.