Skip to content

Commit

Permalink
fix: Remove nethermind restriction (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
parithosh authored Aug 14, 2023
1 parent 48fdc61 commit 373c6c9
Showing 1 changed file with 2 additions and 5 deletions.
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

0 comments on commit 373c6c9

Please sign in to comment.