Skip to content

feat(seid): add statesync export and import - #4861

Draft
blindchaser wants to merge 8 commits into
yiren/giga-ss5-epoch-seedfrom
yiren/giga-ss5-cli
Draft

blindchaser wants to merge 8 commits into
yiren/giga-ss5-epoch-seedfrom
yiren/giga-ss5-cli

refactor(seid): verify the proof against the in-memory checkpoint epochs

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

61.68% (+0.03%) compared to 06bbf5a

View this Pull Request on Codecov

61.68% (+0.03%) compared to 06bbf5a

Details

Codecov Report

❌ Patch coverage is 72.57653% with 215 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.68%. Comparing base (06bbf5a) to head (4f4fafe).

Files with missing lines Patch % Lines
cmd/seid/cmd/statesync/command.go 14.28% 90 Missing ⚠️
cmd/seid/cmd/statesync/import.go 81.04% 40 Missing ⚠️
cmd/seid/cmd/statesync/export.go 81.20% 28 Missing ⚠️
cmd/seid/cmd/statesync/pack.go 78.00% 22 Missing ⚠️
cmd/seid/cmd/statesync/extract.go 85.58% 16 Missing ⚠️
sei-tendermint/internal/p2p/state_sync_proof.go 0.00% 12 Missing ⚠️
sei-tendermint/node/restore_anchor.go 81.81% 4 Missing ⚠️
sei-tendermint/node/testonly.go 89.47% 2 Missing ⚠️
cmd/seid/cmd/statesync/manifest.go 97.43% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                      Coverage Diff                      @@
##           yiren/giga-ss5-epoch-seed    #4861      +/-   ##
=============================================================
+ Coverage                      61.64%   61.68%   +0.03%     
=============================================================
  Files                           2082     2090       +8     
  Lines                         162138   162949     +811     
=============================================================
+ Hits                           99946   100511     +565     
- Misses                         62187    62433     +246     
  Partials                           5        5              
Files with missing lines Coverage Δ
cmd/seid/cmd/root.go 73.66% <100.00%> (+0.11%) ⬆️
giga/config/config.go 91.62% <ø> (ø)
sei-tendermint/autobahn/statesyncproof/proof.go 93.93% <100.00%> (+0.49%) ⬆️
sei-tendermint/node/setup.go 65.05% <100.00%> (+0.30%) ⬆️
cmd/seid/cmd/statesync/manifest.go 97.43% <97.43%> (ø)
sei-tendermint/node/testonly.go 73.91% <89.47%> (+73.91%) ⬆️
sei-tendermint/node/restore_anchor.go 81.81% <81.81%> (ø)
sei-tendermint/internal/p2p/state_sync_proof.go 0.00% <0.00%> (ø)
cmd/seid/cmd/statesync/extract.go 85.58% <85.58%> (ø)
cmd/seid/cmd/statesync/pack.go 78.00% <78.00%> (ø)
... and 3 more

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