Skip to content

feat(autobahn): prepare a restored node's epoch registry from a checkpoint - #4860

Open
blindchaser wants to merge 15 commits into
mainfrom
yiren/giga-ss5-epoch-seed
Open

blindchaser wants to merge 15 commits into
mainfrom
yiren/giga-ss5-epoch-seed

refactor(epoch): restore the epoch registry from the epoch_registry v…

06bbf5a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 17, 2026 in 0s

61.64% (+0.04%) compared to 552d731

View this Pull Request on Codecov

61.64% (+0.04%) compared to 552d731

Details

Codecov Report

❌ Patch coverage is 80.25478% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.64%. Comparing base (552d731) to head (06bbf5a).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
sei-db/state_db/sc/flatkv/snapshot_read.go 80.57% 27 Missing ⚠️
sei-tendermint/internal/p2p/giga_router_common.go 47.05% 18 Missing ⚠️
sei-tendermint/node/epoch_seed.go 83.87% 5 Missing ⚠️
sei-tendermint/node/testonly.go 0.00% 4 Missing ⚠️
sei-tendermint/node/setup.go 62.50% 3 Missing ⚠️
sei-db/state_db/sc/flatkv/importer.go 95.91% 2 Missing ⚠️
sei-tendermint/internal/autobahn/epoch/registry.go 93.33% 2 Missing ⚠️
sei-tendermint/internal/evmonlyapp/epoch_state.go 83.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4860      +/-   ##
==========================================
+ Coverage   61.59%   61.64%   +0.04%     
==========================================
  Files        2079     2082       +3     
  Lines      161891   162138     +247     
==========================================
+ Hits        99715    99946     +231     
- Misses      62171    62187      +16     
  Partials        5        5              
Files with missing lines Coverage Δ
sei-db/state_db/sc/flatkv/store_meta.go 78.23% <100.00%> (-0.38%) ⬇️
sei-tendermint/internal/autobahn/epoch/snapshot.go 97.36% <100.00%> (+0.03%) ⬆️
sei-tendermint/internal/autobahn/epoch/testonly.go 78.26% <100.00%> (+6.83%) ⬆️
sei-tendermint/node/autobahn_layout.go 94.44% <100.00%> (+2.77%) ⬆️
sei-tendermint/internal/evmonlyapp/epoch_state.go 92.30% <83.33%> (-7.70%) ⬇️
sei-db/state_db/sc/flatkv/importer.go 94.67% <95.91%> (+0.25%) ⬆️
sei-tendermint/internal/autobahn/epoch/registry.go 96.55% <93.33%> (-1.98%) ⬇️
sei-tendermint/node/setup.go 64.74% <62.50%> (+0.09%) ⬆️
sei-tendermint/node/testonly.go 0.00% <0.00%> (ø)
sei-tendermint/node/epoch_seed.go 83.87% <83.87%> (ø)
... and 2 more

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