Skip to content

Fix turbine to sign last fec set if last slot in entry #6887

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

maheshr
Copy link

@maheshr maheshr commented Jul 8, 2025

Problem

Addressing issue #6698
Turbine creates more resigned shreds than necessary

Summary of Changes

Changed make_shreds_from_data to have only last fec_set signed if last in slot. Updated unit tests to only check fec_set when last in slot.

@maheshr maheshr requested a review from gregcusack July 8, 2025 21:43
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 71.09375% with 37 lines in your changes missing coverage. Please review.

Project coverage is 83.2%. Comparing base (833b05b) to head (cf64542).

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #6887     +/-   ##
=========================================
- Coverage    83.2%    83.2%   -0.1%     
=========================================
  Files         852      852             
  Lines      376951   377027     +76     
=========================================
- Hits       313888   313876     -12     
- Misses      63063    63151     +88     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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