Skip to content

squash

4694f08
Select commit
Loading
Failed to load commit list.
Closed

refactor(triedb): add clean cache to the rawDB engine #3359

squash
4694f08
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 25, 2026 in 0s

75.09% (target 70.00%)

View this Pull Request on Codecov

75.09% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 83.33333% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.09%. Comparing base (d49202a) to head (4694f08).

Files with missing lines Patch % Lines
core/trie2/triedb/rawdb/database.go 81.48% 3 Missing and 2 partials ⚠️
core/trie2/triedb/rawdb/cache.go 89.47% 1 Missing and 1 partial ⚠️
core/trie2/triedb/database.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3359      +/-   ##
==========================================
- Coverage   75.53%   75.09%   -0.45%     
==========================================
  Files         380      381       +1     
  Lines       35698    36062     +364     
==========================================
+ Hits        26965    27079     +114     
- Misses       6856     7092     +236     
- Partials     1877     1891      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.