Commit 14be1175 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: default config (#632)

parent ded68bdc
......@@ -9,7 +9,7 @@ participants:
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: nimbus
- el_type: geth # temp remove nimbus-eth1 till they fix their bugs
cl_type: grandine
additional_services:
- assertoor
......
......@@ -3,6 +3,7 @@ participants:
cl_type: teku
- el_type: nethermind
cl_type: prysm
cl_image: ethpandaops/prysm-beacon-chain:webfix
- el_type: erigon
cl_type: nimbus
- el_type: besu
......
......@@ -378,7 +378,7 @@ def input_parser(plan, input_args):
def parse_network_params(plan, input_args):
result = default_input_args()
result = default_input_args(input_args)
if input_args.get("network_params", {}).get("preset") == "minimal":
result["network_params"] = default_minimal_network_params()
......@@ -397,8 +397,6 @@ def parse_network_params(plan, input_args):
if "vc" in input_args["participants_matrix"]:
vc_matrix = input_args["participants_matrix"]["vc"]
participants = []
for el in el_matrix:
for cl in cl_matrix:
participant = {k: v for k, v in el.items()}
......@@ -708,9 +706,13 @@ def get_client_node_selectors(participant_node_selectors, global_node_selectors)
return node_selectors
def default_input_args():
def default_input_args(input_args):
network_params = default_network_params()
participants = []
if "participants_matrix" not in input_args:
participants = [default_participant()]
else:
participants = []
participants_matrix = []
return {
"participants": participants,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment