Skip to content

Implement gloas stateless block building api - #9568

Open
eserilev wants to merge 26 commits into
sigp:unstablefrom
eserilev:stateless-block-building-api
Open

Implement gloas stateless block building api#9568
eserilev wants to merge 26 commits into
sigp:unstablefrom
eserilev:stateless-block-building-api

Conversation

@eserilev

@eserilev eserilev commented Jul 3, 2026

Copy link
Copy Markdown
Member

Issue Addressed

#8828

This implements the API but does not change the VC to leverage stateless block production. In a separate PR we should make updates to the VC

eserilev added 4 commits July 3, 2026 15:21
…ateless-block-building-api

# Conflicts:
#	beacon_node/beacon_chain/src/block_production/gloas.rs
#	beacon_node/http_api/src/beacon/execution_payload_envelopes.rs
#	beacon_node/http_api/src/produce_block.rs
@eserilev eserilev added the ready-for-review The code is ready for review label Jul 4, 2026
@mergify

mergify Bot commented Jul 4, 2026

Copy link
Copy Markdown

Some required checks have failed. Could you please take a look @eserilev? 🙏

@mergify mergify Bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Jul 4, 2026
@mergify mergify Bot added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Jul 4, 2026
@eserilev

eserilev commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

It seems we might be deprecating the blinded payload stuff here https://github.com/ethereum/beacon-APIs/pull/624/changes

@mergify

mergify Bot commented Jul 14, 2026

Copy link
Copy Markdown

This pull request has merge conflicts. Could you please resolve them @eserilev? 🙏

@mergify mergify Bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Jul 14, 2026
@mergify mergify Bot added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Jul 14, 2026
@shane-moore

Copy link
Copy Markdown
Member

Hey, I updated #9276 to use the post-beacon-APIs #624 API, including removal of the public blinded-envelope transport. Since there is quite a bit of overlap, it would probably be cleanest to merge #9276 first and then rebase this PR on top, leaving this PR focused on the stateless additions. Just a thought, open to any other approaches.

@eserilev

eserilev commented Jul 18, 2026

Copy link
Copy Markdown
Member Author

shoot sorry @shane-moore i didn't see your other PR. yes lets review yours first and get that merged

@shane-moore

Copy link
Copy Markdown
Member

@eserilev, sg! I just brought the stateful path more aligned to latest beacon api specs yesterday. Tried to avoid it crossing swords with your stateless PR but figured in the end that yours can just inherit the beacon api updates I made 🤙

@mergify

mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown

This pull request has merge conflicts. Could you please resolve them @eserilev? 🙏

@mergify mergify Bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Jul 20, 2026
@eserilev eserilev added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Jul 20, 2026
Comment thread common/eth2/src/lib.rs
contents: &SignedExecutionPayloadEnvelopeContents<E>,
fork_name: ForkName,
) -> Result<(), Error> {
let path = self.post_beacon_execution_payload_envelopes_path(None)?;

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.

Should we pass broadcast_validation through here as well, like we do for the stateful helpers above? The query parameter applies to both request forms, and even if gossip is the sensible default here, it seems better for the stateless helpers to be consistent.

@jimmygchen jimmygchen left a comment

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.

Minor comment above, looks good!

@mergify

mergify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gloas HTTP-API ready-for-review The code is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants