Skip to content

Conversation

@bomanaps
Copy link
Member

@bomanaps bomanaps requested review from g11tech and noopur23 January 28, 2026 16:20
const num_agg_sigs = aggregation.attestation_signatures.len();
zeam_metrics.metrics.lean_pq_sig_aggregated_signatures_total.incrBy(num_agg_sigs);

var total_attestations_in_agg: u64 = 0;
Copy link
Member

Choose a reason for hiding this comment

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

why is this just not attestations.len

Copy link
Member Author

Choose a reason for hiding this comment

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

Attestations with the same data_root are grouped into a single aggregated signature, so aggregation.attestation_signatures.len() counts the actual aggregated signatures produced while attestations.len() would count the raw input attestations before grouping.

Copy link
Member Author

Choose a reason for hiding this comment

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

For example 10 input attestations might produce only 2 aggregated signatures if they group by data_root.

@bomanaps bomanaps requested a review from g11tech January 29, 2026 17:13
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.

2 participants