Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: get seen AttData key from SignedAggregateAndProof electra #6802

Merged

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented May 17, 2024

Motivation

Our AggregateAndProof gossip validation was getting worse in electra devnet-0

Screenshot 2024-05-17 at 18 06 36

Description

It never hit the cache since we get the wrong Attestation Data key.

  • phase0: AttestationData
  • electra: AttestationData + CommitteeBits

@twoeths twoeths requested a review from a team as a code owner May 17, 2024 15:08
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

Buffer.from needs to add byteOffset and byteLength

@twoeths twoeths force-pushed the te/getSeenAttDataKeyFromSignedAggregateAndProofElectra branch from ac22e53 to 9b003aa Compare May 17, 2024 15:35
@twoeths twoeths merged commit 6573be5 into electra-fork May 17, 2024
12 of 17 checks passed
@twoeths twoeths deleted the te/getSeenAttDataKeyFromSignedAggregateAndProofElectra branch May 17, 2024 15:47
g11tech pushed a commit that referenced this pull request May 24, 2024
* fix: get seen AttData key from SignedAggregateAndProof electra

* chore: revert the naming change to COMMITTEE_BITS_SIZE and add comment

* fix: add toBase64() util
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.

None yet

4 participants