Skip to content

fix: get seen AttData key from SignedAggregateAndProof electra - #6802

Merged
twoeths merged 3 commits into
electra-forkfrom
te/getSeenAttDataKeyFromSignedAggregateAndProofElectra
May 17, 2024
Merged

fix: get seen AttData key from SignedAggregateAndProof electra#6802
twoeths merged 3 commits into
electra-forkfrom
te/getSeenAttDataKeyFromSignedAggregateAndProofElectra

Conversation

@twoeths

@twoeths twoeths commented May 17, 2024

Copy link
Copy Markdown
Member

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

@nflaig nflaig left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@nflaig nflaig left a comment

Copy link
Copy Markdown
Member

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
@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
g11tech pushed a commit to g11tech/lodestar that referenced this pull request Jun 19, 2024
…Safe#6802)

* fix: get seen AttData key from SignedAggregateAndProof electra

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

* fix: add toBase64() util
g11tech pushed a commit that referenced this pull request Jun 25, 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
g11tech pushed a commit that referenced this pull request Jun 25, 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
g11tech pushed a commit that referenced this pull request Jul 1, 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
g11tech pushed a commit that referenced this pull request Jul 30, 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
g11tech pushed a commit that referenced this pull request Jul 31, 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
g11tech pushed a commit that referenced this pull request Aug 2, 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
g11tech pushed a commit that referenced this pull request Aug 9, 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
g11tech pushed a commit that referenced this pull request Aug 9, 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
g11tech pushed a commit that referenced this pull request Aug 23, 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
g11tech pushed a commit that referenced this pull request Aug 27, 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
philknows pushed a commit that referenced this pull request Sep 3, 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
@wemeetagain

Copy link
Copy Markdown
Member

🎉 This PR is included in v1.22.0 🎉

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