Skip to content

Builder Api to construct payload envelope#584

Closed
bharath-123 wants to merge 8 commits intoethereum:masterfrom
bharath-123:get-payload-envelope-builder
Closed

Builder Api to construct payload envelope#584
bharath-123 wants to merge 8 commits intoethereum:masterfrom
bharath-123:get-payload-envelope-builder

Conversation

@bharath-123
Copy link
Copy Markdown
Contributor

@bharath-123 bharath-123 commented Mar 6, 2026

This PR attempts to resolve #575

We introduce a builder prefixed api called ConstructExecutionPayloadEnvelope which takes in the beacon block root of the given slot, execution payload and execution requests. It returns an ExecutionPayloadEnvelope which will have to be signed by the builder and published to the PTC.

@bharath-123 bharath-123 force-pushed the get-payload-envelope-builder branch from 4b114cc to 057e9ba Compare March 6, 2026 10:54
Comment thread apis/builder/get_execution_payload_envelope.yaml Outdated
Comment thread apis/builder/get_execution_payload_envelope.yaml Outdated
Comment thread beacon-node-oapi.yaml Outdated
@bharath-123 bharath-123 marked this pull request as ready for review March 6, 2026 17:28
@bharath-123 bharath-123 force-pushed the get-payload-envelope-builder branch from 114e715 to e5eed30 Compare March 11, 2026 12:56
@potuz
Copy link
Copy Markdown

potuz commented Mar 11, 2026

Why does this endpoint need the full block? if it's just for verification it should need just the bid, payload and requests, isn't it?

Comment thread apis/builder/execution_payload_envelope.yaml Outdated
@nflaig nflaig added the Gloas api's needed in Gloas fork. label Mar 11, 2026
@bharath-123 bharath-123 changed the title Builder Apis to construct and publish payload envelope Builder Apis to construct payload envelope Mar 12, 2026
@bharath-123
Copy link
Copy Markdown
Contributor Author

Why does this endpoint need the full block? if it's just for verification it should need just the bid, payload and requests, isn't it?

Not sure what you mean by verification here.

This endpoint is for the builders to construct the full ExecutionPayloadEnvelope with the post beacon state root if their bid gets included in the block. I think the beacon block root would be required to construct the correct envelope corresponding to the beacon block.

The builder can sign the envelope externally.

I think passing the beacon block root, payload and execution requests should be good?

@bharath-123 bharath-123 changed the title Builder Apis to construct payload envelope Builder Api to construct payload envelope Mar 19, 2026
@nflaig
Copy link
Copy Markdown
Member

nflaig commented Apr 16, 2026

this is no longer required due to ethereum/consensus-specs#5094, builders should be able to easily construct the ExecutionPayloadEnvelope themselves as it is no longer required to do a state transition to compute the state_root

@bharath-123
Copy link
Copy Markdown
Contributor Author

Yes I will close this PR for now!

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

Labels

Gloas api's needed in Gloas fork.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Builder api to construct envelope from their execution payload

3 participants