Builder API updates for Glamsterdam #138
Draft
+304
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR begins work and discussions on the builder-spec for ePBS for off-protocol builders. This PR defines the interfaces between proposer and off-protocol relays/builders
ePBS introduces the following protocol upgrades:
A high level description of the design is available at: https://hackmd.io/SecxqKCKTTCQE0NA9AMBnA
We introduce 3 new APIs(we have room for bikeshedding these names):
getExecutionPayloadBid: GET/eth/v1/builder/execution_payload_bid/{slot}/{parent_hash}/{pubkey}This API is called by the proposer to the builder/relay. The builder/relay returns an execution payload bid along with payload root, execution_requests root.
submitSignedBeaconBlock: POST/eth/v1/builder/beacon_blockThis API is called by the proposer to the builder/relay when the proposer commits to the bid received from
getExecutionPayloadBid. The proposer sends the signed beacon block with the execution payload embedded to it. The relay returns a blinded execution payload envelope for the proposer to sign.We might want to move type definitions of
BlindedExecutionPayloadEnvelopeandSignedBlindedExecutionPayloadEnvelopeto beacon-apis repo.Closes: #137