Skip to content

Serve historical reads below the FlatKV seed height from memIAVL - #4421

Closed
masih wants to merge 2 commits into
mainfrom
masih/1790896145-flatkv-pre-seed-reads
Closed

masih wants to merge 2 commits into
mainfrom
masih/1790896145-flatkv-pre-seed-reads

Validate the FlatKV seeded version at open and add a seidb tool to re…

ea94da5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 2, 2026 in 1s

56.46% (+0.78%) compared to 4c4d935

View this Pull Request on Codecov

56.46% (+0.78%) compared to 4c4d935

Details

Codecov Report

❌ Patch coverage is 69.53125% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.46%. Comparing base (4c4d935) to head (ea94da5).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...d/seidb/operations/flatkv_record_seeded_version.go 34.21% 25 Missing ⚠️
sei-db/state_db/sc/flatkv/store_meta.go 84.05% 11 Missing ⚠️
sei-db/state_db/sc/flatkv/snapshot.go 66.66% 1 Missing ⚠️
sei-db/state_db/sc/flatkv/store.go 83.33% 1 Missing ⚠️
sei-db/tools/cmd/seidb/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4421      +/-   ##
==========================================
+ Coverage   55.68%   56.46%   +0.78%     
==========================================
  Files        2177     2131      -46     
  Lines      169048   166740    -2308     
==========================================
+ Hits        94130    94151      +21     
+ Misses      74913    72584    -2329     
  Partials        5        5              
Files with missing lines Coverage Δ
sei-db/state_db/sc/composite/store.go 79.32% <100.00%> (+0.25%) ⬆️
sei-db/state_db/sc/flatkv/store_constants.go 100.00% <ø> (ø)
sei-db/state_db/sc/flatkv/snapshot.go 75.91% <66.66%> (-0.07%) ⬇️
sei-db/state_db/sc/flatkv/store.go 79.66% <83.33%> (+0.03%) ⬆️
sei-db/tools/cmd/seidb/main.go 0.00% <0.00%> (ø)
sei-db/state_db/sc/flatkv/store_meta.go 81.50% <84.05%> (+0.70%) ⬆️
...d/seidb/operations/flatkv_record_seeded_version.go 34.21% <34.21%> (ø)

... and 92 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.