Skip to content

bls-sigverify: eliminate allocations for sending metrics - #15235

Merged
akhi3030 merged 1 commit into
anza-xyz:masterfrom
akhi3030:bls-sig-eliminate-metrics-allocations
Sep 21, 2026
Merged

akhi3030 merged 1 commit into
anza-xyz:masterfrom
akhi3030:bls-sig-eliminate-metrics-allocations

Conversation

@akhi3030

@akhi3030 akhi3030 commented Sep 14, 2026 •

Copy link
Copy Markdown

Problem

With recent changes, bls-sigverify is now sending one metrics event per batch of votes it verifies. So the metrics event no longer need to be in a Vec.

Summary of Changes

Removes the Vec when sending the metrics event.

Testing

No new tests added

@akhi3030
akhi3030 marked this pull request as ready for review September 14, 2026 15:30
@akhi3030
akhi3030 requested a review from a team as a code owner September 14, 2026 15:30
@codecov-commenter

codecov-commenter commented Sep 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.3%. Comparing base (c1513f1) to head (1756566).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #15235     +/-   ##
=========================================
- Coverage    82.3%    82.3%   -0.1%     
=========================================
  Files         929      929             
  Lines      369989   369985      -4     
=========================================
- Hits       304708   304698     -10     
- Misses      65281    65287      +6     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread votor/src/event_handler.rs Resolved
@akhi3030
akhi3030 force-pushed the bls-sig-eliminate-metrics-allocations branch from 2327413 to c04d990 Compare September 15, 2026 16:02
@akhi3030
akhi3030 force-pushed the bls-sig-eliminate-metrics-allocations branch from c04d990 to 1756566 Compare September 21, 2026 07:51
@akhi3030
akhi3030 added this pull request to the merge queue Sep 21, 2026
Merged via the queue into anza-xyz:master with commit 68af5c6 Sep 21, 2026
47 checks passed
@akhi3030
akhi3030 deleted the bls-sig-eliminate-metrics-allocations branch September 21, 2026 15: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.

3 participants