Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove nethermind restriction #126

Merged
merged 14 commits into from
Aug 14, 2023
7 changes: 2 additions & 5 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def parse_input(input_args):
el_client_type = participant["el_client_type"]
cl_client_type = participant["cl_client_type"]

if index == 0 and el_client_type in (BESU_NODE_NAME, NETHERMIND_NODE_NAME):
fail("besu/nethermind cant be the first participant")
if index == 0 and el_client_type in (BESU_NODE_NAME):
fail("besu cant be the first participant")

if cl_client_type in (NIMBUS_NODE_NAME) and (result["network_params"]["seconds_per_slot"] < 12):
fail("nimbus can't be run with slot times below 12 seconds")
Expand Down Expand Up @@ -111,9 +111,6 @@ def parse_input(input_args):
if required_num_validators > actual_num_validators:
fail("required_num_validators - {0} is greater than actual_num_validators - {1}".format(required_num_validators, actual_num_validators))

# Remove if nethermind doesn't break as second node we already test above if its the first node
if len(result["participants"]) >= 2 and result["participants"][1]["el_client_type"] == NETHERMIND_NODE_NAME:
fail("nethermind can't be the first or second node")

if result.get("mev_type") in ("mock", "full"):
result = enrich_mev_extra_params(result, MEV_BOOST_SERVICE_NAME_PREFIX, FLASHBOTS_MEV_BOOST_PORT)
Expand Down
Loading