Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix: nimbus fails early with <12 seconds per slot (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Jul 7, 2023
1 parent ba3a2bc commit 07d81fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DEFAULT_CL_IMAGES = {

BESU_NODE_NAME = "besu"
NETHERMIND_NODE_NAME = "nethermind"
NIMBUS_NODE_NAME = "nimbus"

ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants")

Expand Down Expand Up @@ -46,6 +47,8 @@ def parse_input(input_args):

if index == 0 and el_client_type in (BESU_NODE_NAME, NETHERMIND_NODE_NAME):
fail("besu/nethermind 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")
el_image = participant["el_client_image"]
if el_image == "":
default_image = DEFAULT_EL_IMAGES.get(el_client_type, "")
Expand Down

0 comments on commit 07d81fa

Please sign in to comment.