Skip to content

Commit 14be117

Browse files
authored
fix: default config (ethereum#632)
1 parent ded68bd commit 14be117

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/tests/mix-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ participants:
99
cl_type: lighthouse
1010
- el_type: reth
1111
cl_type: lodestar
12-
- el_type: nimbus
12+
- el_type: geth # temp remove nimbus-eth1 till they fix their bugs
1313
cl_type: grandine
1414
additional_services:
1515
- assertoor

.github/tests/mix-with-tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ participants:
33
cl_type: teku
44
- el_type: nethermind
55
cl_type: prysm
6+
cl_image: ethpandaops/prysm-beacon-chain:webfix
67
- el_type: erigon
78
cl_type: nimbus
89
- el_type: besu

src/package_io/input_parser.star

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def input_parser(plan, input_args):
378378

379379

380380
def parse_network_params(plan, input_args):
381-
result = default_input_args()
381+
result = default_input_args(input_args)
382382
if input_args.get("network_params", {}).get("preset") == "minimal":
383383
result["network_params"] = default_minimal_network_params()
384384

@@ -397,8 +397,6 @@ def parse_network_params(plan, input_args):
397397
if "vc" in input_args["participants_matrix"]:
398398
vc_matrix = input_args["participants_matrix"]["vc"]
399399

400-
participants = []
401-
402400
for el in el_matrix:
403401
for cl in cl_matrix:
404402
participant = {k: v for k, v in el.items()}
@@ -708,9 +706,13 @@ def get_client_node_selectors(participant_node_selectors, global_node_selectors)
708706
return node_selectors
709707

710708

711-
def default_input_args():
709+
def default_input_args(input_args):
712710
network_params = default_network_params()
713-
participants = []
711+
if "participants_matrix" not in input_args:
712+
participants = [default_participant()]
713+
else:
714+
participants = []
715+
714716
participants_matrix = []
715717
return {
716718
"participants": participants,

0 commit comments

Comments
 (0)