ProofEngine + P2P additions
New ProofEngine interface, modelled on the Engine API, + gossip type.
class ProofEngine(Protocol):
def verify_execution_proof(self, proof: ExecutionProof) -> bool: ...
def notify_new_payload(self, request: NewPayloadRequest) -> None: ...
def notify_forkchoice_updated(self, head: Hash32, safe: Hash32, finalized: Hash32) -> None: ...
def request_proofs(self, request: NewPayloadRequest, attrs: ProofAttributes) -> Root: ...
class SignedExecutionProof(Container):
message: ExecutionProof
validator_index: ValidatorIndex
signature: BLSSignature
Req/resp: ExecutionProofsByRange · ExecutionProofsByRoot · ExecutionProofStatus
Discovery: new eproof ENR key advertises execution proof support.