Skip to content

ExecutionPayloadEnvelopesByRange & ExecutionPayloadEnvelopesByRoot Boilerplate#20

Closed
shane-moore wants to merge 2 commits intogloas-containers-additionsfrom
gloas-envelopes-by-range-req-resp
Closed

ExecutionPayloadEnvelopesByRange & ExecutionPayloadEnvelopesByRoot Boilerplate#20
shane-moore wants to merge 2 commits intogloas-containers-additionsfrom
gloas-envelopes-by-range-req-resp

Conversation

@shane-moore
Copy link
Copy Markdown
Owner

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

Changes

  • added boilerplate for ExecutionPayloadEnvelopesByRange v1 per spec
  • added boilerplate for ExecutionPayloadEnvelopesByRoot v1 per spec

Todo:

  • inbound requests will need to fetch stored envelopes from the BN as mentioned in a todo
  • creating outbound requests will need to be orchestrated via range sync/backfill sync pipelines as mentioned in a todo

@shane-moore shane-moore changed the title add envelopes by range req resp for gloas ExecutionPayloadEnvelopesByRange Boilerplate Oct 1, 2025
@shane-moore shane-moore force-pushed the gloas-envelopes-by-range-req-resp branch 2 times, most recently from 61fceb8 to 2abfbda Compare October 2, 2025 15:16
@shane-moore shane-moore mentioned this pull request Oct 2, 2025
@shane-moore shane-moore force-pushed the gloas-containers-additions branch from fafc062 to f3e822b Compare October 16, 2025 21:17
@shane-moore shane-moore force-pushed the gloas-envelopes-by-range-req-resp branch from 2abfbda to e02685a Compare October 17, 2025 00:59
@shane-moore shane-moore changed the title ExecutionPayloadEnvelopesByRange Boilerplate ExecutionPayloadEnvelopesByRange & ExecutionPayloadEnvelopesByRoot Boilerplate Oct 30, 2025
@shane-moore
Copy link
Copy Markdown
Owner Author

Closing — fully upstreamed.

sigp#8896 ("Gloas serve envelope rpc", commit c7055b604, merged 2026-03-25) implements both protocols and goes further than this PR's boilerplate by actually serving them.

Concrete evidence in upstream/unstable:

  • beacon_node/lighthouse_network/src/rpc/methods.rs: PayloadEnvelopesByRangeRequest (line 368), PayloadEnvelopesByRootRequest (line 521), RpcSuccessResponse::PayloadEnvelopesByRange (line 627)
  • rpc/codec.rs lines 80-81, 362-363, 556-562, 671-695 cover encode/decode for both v1 protocols
  • rpc/config.rs lines 92-93, 146-147, 181-186, 216-279 register rate-limit quotas
  • rpc/handler.rs:957 dispatches RequestType::PayloadEnvelopesByRange
  • New PayloadEnvelopeStreamer plus 386 lines of tests, integrated with rpc_methods, router, and beacon_processor

Naming differs slightly (upstream uses PayloadEnvelopesByRange/Root vs this PR's ExecutionPayloadEnvelopesByRange/Root) but protocol IDs and behavior are equivalent.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant