Skip to content

Gloas get payload envelope beacon API#9038

Merged
mergify[bot] merged 5 commits into
sigp:unstablefrom
eserilev:gloas-sse-event-and-beacon-api
Mar 31, 2026
Merged

Gloas get payload envelope beacon API#9038
mergify[bot] merged 5 commits into
sigp:unstablefrom
eserilev:gloas-sse-event-and-beacon-api

Conversation

@eserilev
Copy link
Copy Markdown
Member

@eserilev eserilev commented Mar 27, 2026

And a new beacon api endpoint
/eth/v1/beacon/execution_payload_envelope/{block_id}

This is required for dora to work properly for ePBS

@eserilev eserilev added gloas HTTP-API ready-for-review The code is ready for review labels Mar 27, 2026
@eserilev eserilev changed the title implement min needed changes for dora Gloas SSE events and get payload envelope beacon API Mar 27, 2026
@dknopik dknopik mentioned this pull request Mar 27, 2026
40 tasks
Copy link
Copy Markdown
Member

@dknopik dknopik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing ethereum/beacon-APIs#588 - which looks like it might be relevant.

I weighted in on the open question in there, did not see this PR before, sorry!

Comment on lines +1034 to +1039
if let Some(event_handler) = chain.event_handler.as_ref()
&& event_handler.has_execution_payload_bid_subscribers()
&& let Ok(bid) = block.message().body().signed_execution_payload_bid()
{
event_handler.register(EventKind::ExecutionPayloadBid(Box::new(bid.clone())));
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intention of the bid metric is more that it should be emitted when a valid bid is received from gossip or the API. Both of course are not implemented yet - so I do not think we can implement this metric now

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yep youre right

@eserilev
Copy link
Copy Markdown
Member Author

@dknopik i think ill leave the ethereum/beacon-APIs#588 stuff to a separate PR as its not required for dora functionality. this PR was just extracting stuff that was originally in the epbs-devnet-0 branch. agree with your comment in the 588 review though, no need to apologize thanks for taking a look!

@eserilev
Copy link
Copy Markdown
Member Author

eserilev commented Mar 28, 2026

@dknopik sorry it was late at night for me when I first responded to your comments and I think I misread. I'm going to leave out the SSE stuff in this PR and just include the 'GET' payload envelope beacon api change. If you want to implement the SSE changes please feel free!

@eserilev eserilev changed the title Gloas SSE events and get payload envelope beacon API Gloas get payload envelope beacon API Mar 29, 2026
Copy link
Copy Markdown
Member

@chong-he chong-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

There is no test yet for this endpoint as highlighted in TODO which can be added later.

Copy link
Copy Markdown
Member

@macladson macladson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me as well!

@macladson macladson added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Mar 31, 2026
@mergify mergify Bot added the queued label Mar 31, 2026
@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 31, 2026

Merge Queue Status

This pull request spent 30 minutes 50 seconds in the queue, including 28 minutes 45 seconds running CI.

Required conditions to merge

mergify Bot added a commit that referenced this pull request Mar 31, 2026
@mergify mergify Bot merged commit f6f3765 into sigp:unstable Mar 31, 2026
38 checks passed
@mergify mergify Bot removed the queued label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gloas HTTP-API ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants