Skip to content

Conversation

@kevaundray
Copy link
Contributor

Issue Addressed

This is a parallel PR to #7755 that includes more of the logic needed to for example sync.

Proposed Changes

Please list or describe the changes introduced by this PR.

Additional Info

Please provide any additional information. For example, future considerations
or information useful for reviewers.

@kevaundray kevaundray marked this pull request as ready for review October 29, 2025 00:08
@kevaundray kevaundray requested a review from jxs as a code owner October 29, 2025 00:08
if O::observe() {
observe_gossip_execution_proof(&execution_proof, chain)?;
}
return Err(GossipExecutionProofError::PriorKnownUnpublished);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Gossip has a de-duplication mechanism based on the message content. Is there a single possible ExecutionProof per subnet and slot that is valid? If yes, the observe cache feels unnecessary.

Copy link
Contributor Author

@kevaundray kevaundray Oct 29, 2025

Choose a reason for hiding this comment

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

Yep -- there is only one subnet now but there are multiple proofs for the slot. So there is a single possible ExecutionProof for a (proof_id, slot_number, beacon_block_root) combination

peer_id: PeerId,
execution_proof: Option<Arc<ExecutionProof>>,
seen_timestamp: Duration,
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would not touch sync for now, get the core logic in first

@kevaundray
Copy link
Contributor Author

closing, spoke with team :)

@kevaundray kevaundray closed this Oct 29, 2025
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.

2 participants