Skip to content

Commit

Permalink
fix: use v2 endoint to get the head block (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed Aug 28, 2023
1 parent 55c1f59 commit f084711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run(plan, args):
first_client_beacon_name = first_cl_client.beacon_service_name
mev_flood_module.launch_mev_flood(plan, mev_params.mev_flood_image, el_uri)
epoch_recipe = GetHttpRequestRecipe(
endpoint = "/eth/v1/beacon/blocks/head",
endpoint = "/eth/v2/beacon/blocks/head",
port_id = HTTP_PORT_ID_FOR_FACT,
extract = {
"epoch": ".data.message.body.attestations[0].data.target.epoch"
Expand Down

0 comments on commit f084711

Please sign in to comment.