Skip to content

gloas VC block production - #8313

Closed
shane-moore wants to merge 2 commits into
sigp:gloas-validatorfrom
shane-moore:gloas-vc-publish-block
Closed

gloas VC block production#8313
shane-moore wants to merge 2 commits into
sigp:gloas-validatorfrom
shane-moore:gloas-vc-publish-block

Conversation

@shane-moore

@shane-moore shane-moore commented Oct 28, 2025

Copy link
Copy Markdown
Member

Changes

  • added VC side block production flow for gloas to support self-building for the devnet-0 release, per spec

How This Works

In Gloas, the publish_block flow in the VC is modified to add the get, sign, and publish of a payload envelope, which occus when the BeaconBlock.body.signed_execution_payload_bid.message.builder_index is the same as the proposer's validator index.

Additionally, when requesting a block from the BN, we will no longer receive blobs or kzg commitments. Instead, payload envelopes and blobs will be released by the proposer in the self-building scenario or otherwise by the in-protocol builder. There is no longer a concept of requesting unblinded or blinded blocks since all CL blocks just contain bids.

Client-side endpoints were added to support requesting gloas block and additionally envelopes. All the new and modified epbs beacon api endpoints are defined in PR.

Todo's (left comments in the code as well)

  • the server side (BN) response to the api's modified and added in this PR will need to be handled since we're only touching the VC in this PR. This is contingent on the upcoming envelope_verification.rs flow since we request an envelope to sign and gossip during block production. Additionally, the produce_block call to the BN will no longer respond with blobs for example, so we'll need to modify this endpoint. Additionally, the BN endpoint that receives the signed block to broadcast flow will need to be modified as well.
  • add tests for produce_block_v4 and other new endpoints on the server side

@ethDreamer
@eserilev

@chong-he chong-he added the gloas label Oct 28, 2025
@shane-moore
shane-moore changed the base branch from gloas-envelope-processing to gloas-validator December 2, 2025 02:01
@shane-moore
shane-moore force-pushed the gloas-vc-publish-block branch from e4aafe1 to c13666f Compare December 2, 2025 02:30
@shane-moore
shane-moore force-pushed the gloas-vc-publish-block branch from c13666f to f35f5eb Compare December 19, 2025 20:52
@shane-moore
shane-moore force-pushed the gloas-vc-publish-block branch 2 times, most recently from ebb844e to f348717 Compare December 30, 2025 03:26
@shane-moore
shane-moore force-pushed the gloas-vc-publish-block branch from f348717 to de5f0c3 Compare December 30, 2025 03:54
mergify Bot pushed a commit that referenced this pull request Jan 1, 2026
I was resolving CI issues for my gloas block production [PR ](#8313), and noticed the `make audit-CI` [check](https://github.com/sigp/lighthouse/actions/runs/20588442102/job/59129268003) was failing due to:
```
Crate:     ruint
Version:   1.17.0
Title:     Unsoundness of safe `reciprocal_mg10`
Date:      2025-12-22
ID:        RUSTSEC-2025-0137
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0137
Solution:  Upgrade to >=1.17.1
```


  Using the latest stable rust, `1.92.0`, I ran `cargo update ruint` -> `cargo check` -> `make audit-CI`, which passed


Co-Authored-By: shane-moore <skm1790@gmail.com>
@ethDreamer ethDreamer added the work-in-progress PR is a work-in-progress label Jan 7, 2026
@michaelsproul michaelsproul mentioned this pull request Jan 20, 2026
40 tasks
@jimmygchen

Copy link
Copy Markdown
Member

@eserilev do we need this one?

@eserilev

Copy link
Copy Markdown
Member

@jimmygchen no we do not, we already have state-full gloas block production merged to unstable. We need stateless block production eventually. Shane has a spec PR for this (I think in the beacon api repo) but I don't think it's been merged yet

@shane-moore

Copy link
Copy Markdown
Member Author

@jimmygchen no we do not, we already have state-full gloas block production merged to unstable. We need stateless block production eventually. Shane has a spec PR for this (I think in the beacon api repo) but I don't think it's been merged yet

yep, open beacon api pr ethereum/beacon-APIs#580. it's pending a few discussions that will become a priority later, such as what will happen with builder_boost_factor for the block proposal endpoint considering the future from my understanding will be per-builder boost values set in the node config that we'll want to pass along to the BN. but yah, stay tuned for that

@jimmygchen jimmygchen added do-not-merge and removed work-in-progress PR is a work-in-progress labels Apr 16, 2026
@eserilev

Copy link
Copy Markdown
Member

closing as we already have this in unstable. thanks Shane!

@eserilev eserilev closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants