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

Update the attestations containers #8026

Closed
mehdi-aouadi opened this issue Feb 28, 2024 · 0 comments
Closed

Update the attestations containers #8026

mehdi-aouadi opened this issue Feb 28, 2024 · 0 comments
Assignees
Labels
EIP7549 Epic Electra Issues required to implement Electra upgrade

Comments

@mehdi-aouadi
Copy link
Contributor

mehdi-aouadi commented Feb 28, 2024

Containers

Modified containers

Attestation

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

IndexedAttestation

class IndexedAttestation(Container):
    # [Modified in EIP7549]
    attesting_indices: List[ValidatorIndex, MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT]
    data: AttestationData
    signature: BLSSignature

EDIT

The aggregation_bits has been flattened

Attestation

class Attestation(Container):
    aggregation_bits: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EIP7549 Epic Electra Issues required to implement Electra upgrade
Projects
None yet
1 participant