Skip to content

triedb/pathdb: trie-node lookup index for O(1) diff-layer resolution#2312

Open
lucca30 wants to merge 3 commits into
developfrom
lmartins/pathdb-node-index
Open

triedb/pathdb: trie-node lookup index for O(1) diff-layer resolution#2312
lucca30 wants to merge 3 commits into
developfrom
lmartins/pathdb-node-index

triedb/pathdb: cover node-index error paths, cut removeNodes complexity

2b0f99d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 20, 2026 in 1s

54.07% (+0.01%) compared to ccc20e9

View this Pull Request on Codecov

54.07% (+0.01%) compared to ccc20e9

Details

Codecov Report

❌ Patch coverage is 97.05882% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.07%. Comparing base (ccc20e9) to head (2b0f99d).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
triedb/pathdb/reader.go 72.72% 2 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2312      +/-   ##
===========================================
+ Coverage    54.05%   54.07%   +0.01%     
===========================================
  Files          907      907              
  Lines       161982   162087     +105     
===========================================
+ Hits         87564    87650      +86     
- Misses       69000    69030      +30     
+ Partials      5418     5407      -11     
Files with missing lines Coverage Δ
triedb/pathdb/layertree.go 87.29% <100.00%> (+0.77%) ⬆️
triedb/pathdb/lookup.go 94.78% <100.00%> (+3.11%) ⬆️
triedb/pathdb/reader.go 32.12% <72.72%> (+4.37%) ⬆️

... and 20 files with indirect coverage changes

Files with missing lines Coverage Δ
triedb/pathdb/layertree.go 87.29% <100.00%> (+0.77%) ⬆️
triedb/pathdb/lookup.go 94.78% <100.00%> (+3.11%) ⬆️
triedb/pathdb/reader.go 32.12% <72.72%> (+4.37%) ⬆️

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.