Skip to content

fix: tests outside of ol/stf should use make_genesis_state

4d6250c
Select commit
Loading
Failed to load commit list.
Merged

STR 2066 Revise and harden OL STF tests #1760

fix: tests outside of ol/stf should use make_genesis_state
4d6250c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 21, 2026 in 0s

80.01% (+0.25%) compared to d1d88bd

View this Pull Request on Codecov

80.01% (+0.25%) compared to d1d88bd

Details

Codecov Report

❌ Patch coverage is 92.54120% with 86 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.01%. Comparing base (d1d88bd) to head (4d6250c).

Files with missing lines Patch % Lines
crates/ol/stf/src/test_utils.rs 89.42% 86 Missing ⚠️
@@            Coverage Diff             @@
##             main    #1760      +/-   ##
==========================================
+ Coverage   79.76%   80.01%   +0.25%     
==========================================
  Files         674      674              
  Lines       74805    75685     +880     
==========================================
+ Hits        59665    60559     +894     
+ Misses      15140    15126      -14     
Files with missing lines Coverage Δ
bin/prover-perf/src/programs/checkpoint.rs 84.78% <100.00%> (ø)
crates/consensus-logic/src/fcm/service.rs 94.25% <100.00%> (-0.01%) ⬇️
crates/ledger-types/src/errors.rs 75.00% <ø> (+31.25%) ⬆️
crates/ol/da/src/scheme.rs 100.00% <100.00%> (ø)
crates/ol/da/src/types/payload.rs 91.01% <100.00%> (+3.65%) ⬆️
crates/ol/stf/src/chain_processing.rs 100.00% <100.00%> (+25.53%) ⬆️
crates/ol/stf/src/context.rs 90.64% <100.00%> (+0.64%) ⬆️
crates/ol/stf/src/manifest_processing.rs 94.07% <100.00%> (+6.95%) ⬆️
crates/ol/stf/src/proof_verification.rs 98.75% <100.00%> (+3.65%) ⬆️
crates/ol/stf/src/transaction_processing.rs 99.14% <100.00%> (+3.69%) ⬆️
... and 3 more

... and 10 files with indirect coverage changes

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