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

add electra attestation container #8

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

mehdi-aouadi
Copy link
Owner

@mehdi-aouadi mehdi-aouadi commented Mar 6, 2024

PR Description

Add Electra attestation containers:

  • AttestationElectra
  • AttestationElectraSchema
class Attestation(Container):
     aggregation_bits: List[Bitlist[MAX_VALIDATORS_PER_COMMITTEE], MAX_COMMITTEES_PER_SLOT]  # [Modified in EIP7549]
     data: AttestationData
     committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT]  # [New in EIP7549]
     signature: BLSSignature

Add corresponding property tests and random data generation.

Fixed Issue(s)

fixes Consensys#8026

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@mehdi-aouadi mehdi-aouadi merged commit b4eaa72 into EIP-7549 Mar 6, 2024
4 checks passed
@mehdi-aouadi mehdi-aouadi deleted the 8026-1-containers branch March 6, 2024 09:41
@mehdi-aouadi mehdi-aouadi restored the 8026-1-containers branch March 6, 2024 10:02
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.

1 participant