From 8f2ff53f40983f65a2a5a311f7e395ce6379ef93 Mon Sep 17 00:00:00 2001 From: Bharath Vedartham Date: Sun, 18 Feb 2024 18:10:09 +0530 Subject: [PATCH] parameterize mev-boost args --- main.star | 1 + src/mev/mev_boost/mev_boost_launcher.star | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/main.star b/main.star index 52d2f0dc2..b1ebc4dbf 100644 --- a/main.star +++ b/main.star @@ -45,6 +45,7 @@ GRAFANA_DASHBOARD_PATH_URL = "/d/QdTOwy-nz/eth2-merge-kurtosis-module-dashboard? FIRST_NODE_FINALIZATION_FACT = "cl-boot-finalization-fact" HTTP_PORT_ID_FOR_FACT = "http" +MEV_BOOST_SHOULD_CHECK_RELAY = True MOCK_MEV_TYPE = "mock" FULL_MEV_TYPE = "full" PATH_TO_PARSED_BEACON_STATE = "/genesis/output/parsedBeaconState.json" diff --git a/src/mev/mev_boost/mev_boost_launcher.star b/src/mev/mev_boost/mev_boost_launcher.star index 495abf497..f92cd1525 100644 --- a/src/mev/mev_boost/mev_boost_launcher.star +++ b/src/mev/mev_boost/mev_boost_launcher.star @@ -29,7 +29,7 @@ def launch( service_name, network_id, mev_boost_image, - mev_boost_args + mev_boost_args, global_node_selectors, ): config = get_config( @@ -46,6 +46,7 @@ def launch( mev_boost_service.ip_address, input_parser.FLASHBOTS_MEV_BOOST_PORT ) + def get_config( mev_boost_launcher, network_id, @@ -80,5 +81,7 @@ def get_config( ) -def new_mev_boost_launcher(relay_end_points): - return struct(relay_end_points=relay_end_points) +def new_mev_boost_launcher(should_check_relay, relay_end_points): + return struct( + should_check_relay=should_check_relay, relay_end_points=relay_end_points + )