Commit 373c6c9b authored by Parithosh Jayanthi's avatar Parithosh Jayanthi Committed by GitHub

fix: Remove nethermind restriction (#126)

parent 48fdc612
...@@ -51,8 +51,8 @@ def parse_input(input_args): ...@@ -51,8 +51,8 @@ def parse_input(input_args):
el_client_type = participant["el_client_type"] el_client_type = participant["el_client_type"]
cl_client_type = participant["cl_client_type"] cl_client_type = participant["cl_client_type"]
if index == 0 and el_client_type in (BESU_NODE_NAME, NETHERMIND_NODE_NAME): if index == 0 and el_client_type in (BESU_NODE_NAME):
fail("besu/nethermind cant be the first participant") fail("besu cant be the first participant")
if cl_client_type in (NIMBUS_NODE_NAME) and (result["network_params"]["seconds_per_slot"] < 12): 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") fail("nimbus can't be run with slot times below 12 seconds")
...@@ -111,9 +111,6 @@ def parse_input(input_args): ...@@ -111,9 +111,6 @@ def parse_input(input_args):
if required_num_validators > actual_num_validators: 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)) 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"): if result.get("mev_type") in ("mock", "full"):
result = enrich_mev_extra_params(result, MEV_BOOST_SERVICE_NAME_PREFIX, FLASHBOTS_MEV_BOOST_PORT) result = enrich_mev_extra_params(result, MEV_BOOST_SERVICE_NAME_PREFIX, FLASHBOTS_MEV_BOOST_PORT)
......
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