Skip to content

Refactor ChainQuery to be more flexible - #2139

Open
evanlinjin wants to merge 8 commits into
bitcoindevkit:masterfrom
evanlinjin:refactor/sans-io-mtp-chain-query
Open

Refactor ChainQuery to be more flexible #2139
evanlinjin wants to merge 8 commits into
bitcoindevkit:masterfrom
evanlinjin:refactor/sans-io-mtp-chain-query

test(core): consolidate `resolve_candidates` tests into one scenario …

0ecd768
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 23, 2026 in 1s

78.70% (+0.04%) compared to 6d03fc3

View this Pull Request on Codecov

78.70% (+0.04%) compared to 6d03fc3

Details

Codecov Report

❌ Patch coverage is 92.39631% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.70%. Comparing base (6d03fc3) to head (0ecd768).

Files with missing lines Patch % Lines
crates/chain/src/canonical_view_task.rs 90.76% 10 Missing and 2 partials ⚠️
crates/chain/src/canonical.rs 85.41% 7 Missing ⚠️
crates/chain/src/canonical_task.rs 93.10% 5 Missing and 1 partial ⚠️
crates/chain/src/local_chain.rs 93.75% 2 Missing and 1 partial ⚠️
crates/core/src/block_queries.rs 97.16% 3 Missing ⚠️
crates/chain/src/indexed_tx_graph.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2139      +/-   ##
==========================================
+ Coverage   78.65%   78.70%   +0.04%     
==========================================
  Files          30       31       +1     
  Lines        5909     6104     +195     
  Branches      279      279              
==========================================
+ Hits         4648     4804     +156     
- Misses       1185     1227      +42     
+ Partials       76       73       -3     

☔ 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.