Skip to content

fix: V1 trunk proofs + count==0 hash verification bypass - #646

Merged
QuantumExplorer merged 8 commits into
developfrom
fix/trunk-proof-count-zero-bypass
Mar 11, 2026
Merged

fix: V1 trunk proofs + count==0 hash verification bypass#646
QuantumExplorer merged 8 commits into
developfrom
fix/trunk-proof-count-zero-bypass

test: increase patch coverage with 6 additional tests and fix tree el…

7e26c15
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 11, 2026 in 0s

90.69% (-0.14%) compared to 344b957

View this Pull Request on Codecov

90.69% (-0.14%) compared to 344b957

Details

Codecov Report

❌ Patch coverage is 89.90228% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.69%. Comparing base (344b957) to head (7e26c15).

Files with missing lines Patch % Lines
grovedb/src/operations/proof/verify.rs 89.40% 25 Missing ⚠️
grovedb/src/operations/proof/generate.rs 91.54% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #646      +/-   ##
===========================================
- Coverage    90.83%   90.69%   -0.14%     
===========================================
  Files          182      182              
  Lines        51909    52193     +284     
===========================================
+ Hits         47150    47339     +189     
- Misses        4759     4854      +95     
Components Coverage Δ
grovedb-core 88.79% <89.90%> (-0.28%) ⬇️
merk 91.93% <ø> (ø)
storage 86.36% <ø> (ø)
commitment-tree 96.43% <ø> (ø)
mmr 96.76% <ø> (ø)
bulk-append-tree 89.65% <ø> (ø)
element 97.56% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.