From 11c26939c53a6db0d8816254f6b7ac535535e754 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Tue, 5 Dec 2023 14:08:55 +0100 Subject: [PATCH] feat: allow 0 genesis delay (#383) --- examples/dencun.yaml | 1 - examples/verkle-gen-nethermind.yaml | 14 ++++++++++---- src/package_io/input_parser.star | 3 --- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/examples/dencun.yaml b/examples/dencun.yaml index 31158c30d..3aaee6787 100644 --- a/examples/dencun.yaml +++ b/examples/dencun.yaml @@ -25,7 +25,6 @@ participants: cl_client_image: ethpandaops/nimbus:unstable-6dee4d5 network_params: deneb_fork_epoch: 1 -launch_additional_services: true additional_services: - el_forkmon - tx_spammer diff --git a/examples/verkle-gen-nethermind.yaml b/examples/verkle-gen-nethermind.yaml index 81dc72bc5..63da51762 100644 --- a/examples/verkle-gen-nethermind.yaml +++ b/examples/verkle-gen-nethermind.yaml @@ -3,20 +3,26 @@ participants: el_client_image: ethpandaops/geth:gballet-kaustinen-with-shapella-fc8f4b9 cl_client_type: lighthouse cl_client_image: ethpandaops/lighthouse:verkle-trees-capella-2ffb8a9 - count: 2 + - el_client_type: geth + el_client_image: ethpandaops/geth:gballet-kaustinen-with-shapella-fc8f4b9 + cl_client_type: lodestar + cl_client_image: ethpandaops/lodestar:g11tech-verge-815364b - el_client_type: nethermind - el_client_image: nethermindeth/nethermind:kaustinen + el_client_image: nethermindeth/nethermind:kaustinen-648c6b8 cl_client_type: lodestar cl_client_image: ethpandaops/lodestar:g11tech-verge-815364b validator_count: 0 + el_client_log_level: "debug" - el_client_type: nethermind - el_client_image: nethermindeth/nethermind:kaustinen + el_client_image: nethermindeth/nethermind:kaustinen-648c6b8 cl_client_type: lodestar cl_client_image: ethpandaops/lodestar:g11tech-verge-815364b validator_count: 0 + el_client_log_level: "debug" network_params: electra_fork_epoch: 0 - seconds_per_slot: 3 + genesis_delay: 0 + seconds_per_slot: 8 additional_services: - el_forkmon - tx_spammer diff --git a/src/package_io/input_parser.star b/src/package_io/input_parser.star index df5e92690..5b09f51bf 100644 --- a/src/package_io/input_parser.star +++ b/src/package_io/input_parser.star @@ -323,9 +323,6 @@ def parse_network_params(input_args): if result["network_params"]["seconds_per_slot"] == 0: fail("seconds_per_slot is 0 needs to be > 0 ") - if result["network_params"]["genesis_delay"] == 0: - fail("genesis_delay is 0 needs to be > 0 ") - if result["network_params"]["deneb_fork_epoch"] == 0: fail("deneb_fork_epoch is 0 needs to be > 0 ")