alpenlabs / strata

Rust implementation of the Strata protocol
https://docs.stratabtc.org
Apache License 2.0
23 stars 1 forks source link

STR-196 consolidate provider store traits #456

Open sapinb opened 1 week ago

sapinb commented 1 week ago

Description

Type of Change

Checklist

Related Issues

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 34.93450% with 149 lines in your changes missing coverage. Please review.

Project coverage is 56.91%. Comparing base (603442d) to head (0bd4dfd). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
bin/strata-client/src/rpc_server.rs 0.00% 32 Missing :warning:
crates/consensus-logic/src/duty/block_assembly.rs 0.00% 20 Missing :warning:
crates/consensus-logic/src/genesis.rs 0.00% 14 Missing :warning:
crates/consensus-logic/src/csm/state_tracker.rs 45.00% 11 Missing :warning:
bin/strata-client/src/l1_reader.rs 0.00% 6 Missing :warning:
...rates/consensus-logic/src/csm/client_transition.rs 53.84% 6 Missing :warning:
crates/consensus-logic/src/csm/worker.rs 0.00% 6 Missing :warning:
crates/consensus-logic/src/duty/extractor.rs 0.00% 6 Missing :warning:
crates/storage/src/ops/checkpoint.rs 0.00% 6 Missing :warning:
crates/consensus-logic/src/duty/worker.rs 0.00% 5 Missing :warning:
... and 13 more
@@            Coverage Diff             @@
##             main     #456      +/-   ##
==========================================
- Coverage   56.93%   56.91%   -0.02%     
==========================================
  Files         266      252      -14     
  Lines       28002    27919      -83     
==========================================
- Hits        15942    15890      -52     
+ Misses      12060    12029      -31     
Files with missing lines Coverage Δ
crates/btcio/src/broadcaster/state.rs 97.64% <100.00%> (ø)
crates/btcio/src/broadcaster/task.rs 87.69% <100.00%> (+0.26%) :arrow_up:
crates/btcio/src/writer/test_utils.rs 100.00% <100.00%> (ø)
crates/consensus-logic/src/unfinalized_tracker.rs 92.78% <100.00%> (-0.04%) :arrow_down:
crates/db/src/stubs/chain_state.rs 0.00% <ø> (ø)
crates/db/src/stubs/l2.rs 0.00% <ø> (ø)
crates/db/src/traits.rs 100.00% <ø> (ø)
crates/rocksdb-store/src/broadcaster/db.rs 100.00% <100.00%> (ø)
crates/rocksdb-store/src/chain_state/db.rs 98.70% <ø> (ø)
crates/rocksdb-store/src/checkpoint/db.rs 100.00% <ø> (ø)
... and 28 more

... and 31 files with indirect coverage changes