Skip to content

Commit

Permalink
fix up all tests not to re-define ethereum package
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Jul 5, 2024
1 parent 95608ed commit 9cfb9bd
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 76 deletions.
8 changes: 0 additions & 8 deletions .github/tests/blockscout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,3 @@ optimism_package:
network_id: '3151910'
additional_services:
- blockscout
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- blockscout
14 changes: 0 additions & 14 deletions .github/tests/multiple_l2s.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
optimism_package:
- participants:
- el_type: op-geth
network_params:
name: op-rollup-one
network_id: '3151909'
additional_services: []
- participants:
- el_type: op-geth
network_params:
name: op-rollup-two
network_id: '3151910'
additional_services: []
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/op-erigon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@ optimism_package:
participants:
- el_type: op-erigon
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/op-geth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@ optimism_package:
participants:
- el_type: op-geth
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/op-nethermind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,3 @@ optimism_package:
- el_type: op-geth
- el_type: op-nethermind
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
- el_type: nethermind
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/op-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,3 @@ optimism_package:
cl_type: op-node
- el_type: op-nethermind
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/op-reth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@ optimism_package:
participants:
- el_type: op-reth
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
8 changes: 0 additions & 8 deletions .github/tests/single_l2.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
optimism_package:
participants:
- count: 2
ethereum_package:
participants:
- el_type: geth
- el_type: reth
network_params:
preset: minimal
additional_services:
- dora
5 changes: 4 additions & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def run(plan, args):
A full deployment of Optimism L2(s)
"""
plan.print("Parsing the L1 input args")
ethereum_args = args.get("ethereum_package", {})
# If no args are provided, use the default values with minimal preset
ethereum_args = args.get(
"ethereum_package", {"network_params": {"preset": "minimal"}}
)
optimism_args = args.get("optimism_package", {})
# Deploy the L1
plan.print("Deploying a local L1")
Expand Down
5 changes: 0 additions & 5 deletions network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@ optimism_package:
- el_type: op-nethermind
additional_services:
- blockscout
ethereum_package:
network_params:
preset: minimal
additional_services:
- dora

0 comments on commit 9cfb9bd

Please sign in to comment.