-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update builder code to Capella #11904
Conversation
|
||
// SubmitBlindedBlockCapella calls the builder API endpoint that binds the validator to the builder and submits the block. | ||
// The response is the full ExecutionPayloadCapella used to create the blinded block. | ||
func (c *Client) SubmitBlindedBlockCapella(ctx context.Context, sb *ethpb.SignedBlindedBeaconBlockCapella) (*v1.ExecutionPayloadCapella, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be v2 path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked to Alex, the existing one supports Capella
// GetHeader is used by a proposing validator to request an ExecutionPayloadHeader from the Builder node. | ||
func (c *Client) GetHeader(ctx context.Context, slot types.Slot, parentHash [32]byte, pubkey [48]byte) (*ethpb.SignedBuilderBid, error) { | ||
// GetHeader is used by a proposing validator to request an execution payload header from the Builder node. | ||
func (c *Client) GetHeader(ctx context.Context, slot types.Slot, parentHash [32]byte, pubkey [48]byte) (SignedBid, error) { | ||
path, err := execHeaderPath(slot, parentHash, pubkey) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be v2 path as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked to Alex, the existing one supports Capella
What type of PR is this?
Feature
What does this PR do? Why is it needed?
Implements ethereum/builder-specs#60
Which issues(s) does this PR fix?
Part of #11077