Skip to content

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Nov 8, 2024

Description

Introducing separate container for aggregated attestation in a committee. The new container replaces the unnecessary committee bits with committee index. It also has 63x shorter max length than Attestation on aggregation_bits which yields max size going from 16.23kb to 0.48kb. This ensures aggregates with 63 committees worth of zeros in aggregation bits with not be deserialized.

The current Attestation represents aggregated attestation both on-chain and in a committee. Having a dedicated container for committee attestation improves readability and removes the need to maintain a one-bit-set committee bit list.

@ppopth
Copy link
Member

ppopth commented Nov 27, 2024

Referencing #3900 (comment) and #3787 which have kind of similar ideas.

Copy link
Member

@ppopth ppopth left a comment

Choose a reason for hiding this comment

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

Looks good to me after all

Co-authored-by: Pop Chunhapanya <[email protected]>
@ensi321 ensi321 force-pushed the aggregate-attestation branch from 10caa33 to 44989b0 Compare December 20, 2024 00:15
@leolara
Copy link
Member

leolara commented Jun 10, 2025

Please, fix that one of the checks is failing

@jtraglia jtraglia changed the base branch from dev to master July 9, 2025 22: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.

4 participants