Skip to content

Commit

Permalink
parameterize mev-boost args
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed Feb 18, 2024
1 parent 3ec7423 commit 8f2ff53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 6 additions & 3 deletions src/mev/mev_boost/mev_boost_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
Expand Down Expand Up @@ -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
)

0 comments on commit 8f2ff53

Please sign in to comment.