Skip to content

Commit c38bff9

Browse files
authored
fix: Nimbus can't run when slot time is below 12s (#100)
1 parent cb0fc69 commit c38bff9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/package_io/parse_input.star

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ DEFAULT_CL_IMAGES = {
1515

1616
BESU_NODE_NAME = "besu"
1717
NETHERMIND_NODE_NAME = "nethermind"
18+
NIMBUS_NODE_NAME = "nimbus"
1819

1920
ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants")
2021

@@ -52,6 +53,9 @@ def parse_input(input_args):
5253
if index == 0 and el_client_type in (BESU_NODE_NAME, NETHERMIND_NODE_NAME):
5354
fail("besu/nethermind cant be the first participant")
5455

56+
if cl_client_type in (NIMBUS_NODE_NAME) and (result["network_params"]["seconds_per_slot"] < 12):
57+
fail("nimbus can't be run with slot times below 12 seconds")
58+
5559
el_image = participant["el_client_image"]
5660
if el_image == "":
5761
default_image = DEFAULT_EL_IMAGES.get(el_client_type, "")

0 commit comments

Comments
 (0)