Skip to content

Commit f084711

Browse files
authored
fix: use v2 endoint to get the head block (#153)
1 parent 55c1f59 commit f084711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def run(plan, args):
7373
first_client_beacon_name = first_cl_client.beacon_service_name
7474
mev_flood_module.launch_mev_flood(plan, mev_params.mev_flood_image, el_uri)
7575
epoch_recipe = GetHttpRequestRecipe(
76-
endpoint = "/eth/v1/beacon/blocks/head",
76+
endpoint = "/eth/v2/beacon/blocks/head",
7777
port_id = HTTP_PORT_ID_FOR_FACT,
7878
extract = {
7979
"epoch": ".data.message.body.attestations[0].data.target.epoch"

0 commit comments

Comments
 (0)