Skip to content

fix: use correct subnet when validating gossip attestations#7543

Merged
nflaig merged 3 commits intoholesky-rescuefrom
nflaig/fix-attestation-subnet
Mar 11, 2025
Merged

fix: use correct subnet when validating gossip attestations#7543
nflaig merged 3 commits intoholesky-rescuefrom
nflaig/fix-attestation-subnet

Conversation

@nflaig
Copy link
Copy Markdown
Member

@nflaig nflaig commented Mar 10, 2025

Fix a bug in gossip validation of electra attestations

@nflaig nflaig requested a review from a team as a code owner March 10, 2025 15:27
serializedData: param.gossipData.serializedData,
attSlot: param.gossipData.msgSlot,
attDataBase64: param.gossipData.indexed,
subnet: param.topic.subnet,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think doing this is not enough.

Because gossipValidatorBatchFn is still hardcoding all params to have the same topic. See

@twoeths
Copy link
Copy Markdown
Contributor

twoeths commented Mar 11, 2025

we should pick this work to unstable once this get merged, see #7546

@nflaig nflaig merged commit fb59152 into holesky-rescue Mar 11, 2025
@nflaig nflaig deleted the nflaig/fix-attestation-subnet branch March 11, 2025 02:00
@nflaig nflaig restored the nflaig/fix-attestation-subnet branch March 11, 2025 02:06
@nflaig nflaig deleted the nflaig/fix-attestation-subnet branch March 11, 2025 02:06
@nflaig nflaig restored the nflaig/fix-attestation-subnet branch March 11, 2025 02:10
nflaig added a commit that referenced this pull request Mar 11, 2025
Fix a bug in gossip validation of electra attestations
@nflaig nflaig deleted the nflaig/fix-attestation-subnet branch March 11, 2025 02:12
@nflaig
Copy link
Copy Markdown
Member Author

nflaig commented Mar 11, 2025

we should pick this work to unstable once this get merged, see #7546

wemeetagain pushed a commit that referenced this pull request Mar 13, 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.

4 participants