Skip to content

EIP-8025#569

Open
frisitano wants to merge 2 commits intoethereum:masterfrom
frisitano:feat/eip8025
Open

EIP-8025#569
frisitano wants to merge 2 commits intoethereum:masterfrom
frisitano:feat/eip8025

Conversation

@frisitano
Copy link
Copy Markdown

@frisitano frisitano commented Jan 15, 2026

Implements the beacon and prover API's for EIP-8025.

CL PR: ethereum/consensus-specs#4828

@frisitano frisitano marked this pull request as draft January 15, 2026 23:34
@frisitano frisitano marked this pull request as ready for review January 15, 2026 23:34
description: |
Retrieves execution proofs known by the node.
parameters:
- name: new_payload_request_root
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why new_payload_request_root versus beacon root?

Copy link
Copy Markdown
Author

@frisitano frisitano Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I had used new_payload_request_root as that had been the theme of this batch of PR's. Now I take a moment to think, I see value in using the beacon root here and also for p2p req/resp in the CL specs. What is your opinion?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I lean more towards beacon root since this is used in a lot of other places like DataColumnsByRoot

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I will update it. Does it also make sense to migrate to beacon root for p2p req/resp?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking the flow, I think having it in p2p requires/resp also makes sense in terms of simplicity -- my thinking was that the CL will need to have a map from beacon root to new_payload_request_root or whatever the public input is for the proof anyways

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I think the beacon root is generally more available. For example, in the context of performing sync we are more likely to have the beacon root available than the new_payload_request_root.

schema:
type: array
items:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/EIP8025.ExecutionProof'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just leaving a comment here if we need to add ProofGenId for proper connection from the request? (mentioned here)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replied in CL PR.

@@ -0,0 +1,30 @@
post:
operationId: submitExecutionProofs
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe basic question from my side: should this have the same name?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are in different contexts, so it's fine to have different names imo. Above, we have the HTTP endpoint that the prover receives requested proofs from the proof engine. Linked is the p2p req/res api. I think it's reasonable to have different naming.

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.

3 participants