EIP-8025 -- Honest Prover¶
Note: This document is a work-in-progress for researchers and implementers.
Table of contents¶
- Table of contents
- Introduction
- Helpers
- New
get_execution_proof_signature - Execution proof
- Constructing the
SignedExecutionProof
Introduction¶
This document represents the prover guide accompanying EIP-8025. Provers are active validators who voluntarily generate and submit execution proofs without direct protocol-level compensation. They provide a public good by enabling stateless validation during the optional proof phase.
Note: Provers are a transitional mechanism. In future mandatory proof forks, builders will be required to produce and gossip execution proofs as part of their block production duties, and the prover role will be deprecated.
Note: This specification is built upon Fulu and imports proof types from proof-engine.md.
Helpers¶
New get_execution_proof_signature¶
Execution proof¶
Constructing the SignedExecutionProof¶
An honest prover who is an active validator and wants to generate execution
proofs for a BeaconBlock performs the following steps:
- At startup, subscribe to:
-
Blockevents from the beacon node via SSE. - Proof completion events from the proof engine via SSE. The concrete SSE event shape is defined by the proof engine API specification. - Upon receiving a
Blockevent: - Fetch the fullBeaconBlockvia RPC. - ConstructNewPayloadRequestfrom the block. - CreateProofAttributeswith desired proof types. - Callnew_payload_request_root = proof_engine.request_proofs(new_payload_request, proof_attributes)to initiate proof generation, tracking the request bynew_payload_request_root. - Upon receiving a proof completion event for a tracked
new_payload_request_root: - Fetch the completedExecutionProoffrom the proof engine. - Letvalidator_indexbe the prover's validator index. - Letsignature = get_execution_proof_signature(state, proof, prover_privkey). - Letsigned_proof = SignedExecutionProof(message=proof, validator_index=validator_index, signature=signature). - Broadcastsigned_proofon theexecution_proofgossip topic.