Skip to content

Commit

Permalink
feat: snooper support (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Aug 11, 2023
1 parent 4d7df4b commit d2cccf4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ To configure the package behaviour, you can modify your `eth2-package-params.yam
// This value will be overridden by participant-specific values
"global_client_log_level": "info",
// EngineAPI Snooper
"snooper_enabled": false,
// Supports three valeus
// Default: None - no mev boost, mev builder, mev flood or relays are spun up
// mock - mock-builder & mev-boost are spun up
Expand Down
7 changes: 4 additions & 3 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def parse_input(input_args):
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")
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 Expand Up @@ -169,7 +169,8 @@ def default_input_args():
"wait_for_finalization": False,
"wait_for_verifications": False,
"verifications_epoch_limit": 5,
"global_client_log_level": "info"
"global_client_log_level": "info",
"snooper_enabled": False,
}

def default_network_params():
Expand Down

0 comments on commit d2cccf4

Please sign in to comment.