Skip to content

Commit

Permalink
feat(sidecar): add execution api url, engine api url
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Jun 27, 2024
1 parent d689404 commit b729f97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 9 additions & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,15 @@ def run(plan, args={}):
mev_params,
global_node_selectors,
mev_boost_context,
all_cl_contexts[0].beacon_http_url
all_cl_contexts[0].beacon_http_url,
"http://{0}:{1}".format(
all_el_contexts[0].ip_addr,
all_el_contexts[0].rpc_port_num,
),
'http://{0}:{1}'".format(
all_el_contexts[0].ip_addr,
all_el_contexts[0].engine_rpc_port_num
)
)

if len(args_with_right_defaults.additional_services) == 0:
Expand Down
10 changes: 8 additions & 2 deletions src/mev/mev_sidecar/mev_sidecar_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def launch_mev_sidecar(
mev_params,
node_selectors,
mev_boost_context,
beacon_client_url
beacon_client_url,
execution_api_url,
engine_api_url
):
image = mev_params.mev_sidecar_image

Expand All @@ -40,7 +42,11 @@ def launch_mev_sidecar(
"--mevboost-url",
mev_boost_context_util.mev_boost_endpoint(mev_boost_context),
"--beacon-client-url",
beacon_client_url
beacon_client_url,
"--execution-api",
execution_api_url,
"--engine-api-url",
engine_api_url
],
# + mev_params.mev_relay_api_extra_args,
ports={
Expand Down

0 comments on commit b729f97

Please sign in to comment.