Skip to content

feat(spice): per-block batch light-client variant (experiment)#15968

Draft
darioush wants to merge 7 commits into
near:masterfrom
darioush:darioush/spice-lc-fanout
Draft

feat(spice): per-block batch light-client variant (experiment)#15968
darioush wants to merge 7 commits into
near:masterfrom
darioush:darioush/spice-lc-fanout

fix(spice): restore last_certified_block check, set it in create_chunk

db58834
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 24, 2026 in 1s

72.52% (+0.02%) compared to ae46722

View this Pull Request on Codecov

72.52% (+0.02%) compared to ae46722

Details

Codecov Report

❌ Patch coverage is 85.82524% with 73 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.52%. Comparing base (ae46722) to head (db58834).

Files with missing lines Patch % Lines
chain/chain/src/spice/core.rs 83.44% 8 Missing and 17 partials ⚠️
chain/chain/src/chain.rs 64.86% 6 Missing and 7 partials ⚠️
chain/client/src/view_client_actor.rs 81.69% 5 Missing and 8 partials ⚠️
core/store/src/merkle_proof.rs 89.83% 3 Missing and 3 partials ⚠️
core/primitives/src/test_utils.rs 73.33% 4 Missing ⚠️
chain/chain/src/store/mod.rs 90.62% 1 Missing and 2 partials ⚠️
chain/chain/src/chain_update.rs 75.00% 1 Missing and 1 partial ⚠️
chain/client/src/client.rs 75.00% 0 Missing and 2 partials ⚠️
chain/jsonrpc/src/lib.rs 50.00% 2 Missing ⚠️
core/primitives/src/block_header.rs 95.65% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15968      +/-   ##
==========================================
+ Coverage   72.49%   72.52%   +0.02%     
==========================================
  Files         946      946              
  Lines      204277   204704     +427     
  Branches   204277   204704     +427     
==========================================
+ Hits       148094   148461     +367     
- Misses      51215    51240      +25     
- Partials     4968     5003      +35     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.