Repository navigation
ledger: blockstore tests: start test shreds at FEC set boundaries - #15951
Merged
alexpyattaev merged 1 commit intoOct 10, 2026
Merged
Conversation
Some blockstore tests shredded from indices not aligned to 32 shreds, fix these to produce valid shreds that would actually pass ingest.
alexpyattaev
commented
Oct 9, 2026
| Hash::default(), // merkle_root | ||
| 6, // next_shred_index, | ||
| 6, // next_code_index | ||
| 32, // next_shred_index, |
Author
There was a problem hiding this comment.
just lining up to 32, real FECs can not start at index 6
| Hash::default(), // merkle_root | ||
| last_idx, // next_shred_index, | ||
| last_idx, // next_code_index | ||
| last_idx + 1, // next_shred_index, |
Author
There was a problem hiding this comment.
next FEC can not reuse index of last FEC
alexpyattaev
marked this pull request as ready for review
October 9, 2026 19:36
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #15951 +/- ##
==========================================
+ Coverage 72.0% 82.2% +10.2%
==========================================
Files 931 938 +7
Lines 300448 373067 +72619
==========================================
+ Hits 216378 306782 +90404
+ Misses 84070 66285 -17785 🚀 New features to boost your workflow:
|
steviez
approved these changes
Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Some blockstore tests shredded from indices not aligned to 32 shreds, fix these to produce valid shreds that would actually pass ingest.
ref #11790
Summary of Changes
adjust tests in blockstore
adjust tests in blockstore_processor
Testing
CI