alpenlabs / strata

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

zkvm improvements #381

Closed prajwolrg closed 1 month ago

prajwolrg commented 1 month ago

Description

Type of Change

Checklist

Related Issues

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 45.10638% with 129 lines in your changes missing coverage. Please review.

Project coverage is 57.00%. Comparing base (2486f5c) to head (a394e82).

Files with missing lines Patch % Lines
crates/zkvm/adapters/sp1/src/prover.rs 0.00% 58 Missing :warning:
crates/zkvm/zkvm/src/lib.rs 27.58% 21 Missing :warning:
crates/zkvm/adapters/risc0/src/prover.rs 0.00% 18 Missing :warning:
crates/proof-impl/btc-blockspace/src/block.rs 90.32% 6 Missing :warning:
crates/zkvm/adapters/sp1/src/verifier.rs 57.14% 6 Missing :warning:
crates/consensus-logic/src/fork_choice_manager.rs 0.00% 4 Missing :warning:
crates/zkvm/adapters/risc0/src/verifier.rs 33.33% 4 Missing :warning:
crates/proof-impl/l1-batch/src/lib.rs 0.00% 3 Missing :warning:
crates/state/src/batch.rs 0.00% 2 Missing :warning:
crates/state/src/block_validation.rs 0.00% 2 Missing :warning:
... and 5 more
@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
- Coverage   57.35%   57.00%   -0.35%     
==========================================
  Files         255      257       +2     
  Lines       26953    27183     +230     
==========================================
+ Hits        15459    15497      +38     
- Misses      11494    11686     +192     
Files with missing lines Coverage Δ
crates/proof-impl/btc-blockspace/src/logic.rs 97.36% <100.00%> (+1.07%) :arrow_up:
crates/test-utils/src/l2.rs 99.12% <100.00%> (+0.02%) :arrow_up:
crates/consensus-logic/src/l1_handler.rs 0.00% <0.00%> (ø)
crates/db/src/types.rs 60.60% <0.00%> (ø)
crates/primitives/src/block_credential.rs 0.00% <0.00%> (ø)
crates/proof-impl/btc-blockspace/src/filter.rs 50.00% <75.00%> (-2.00%) :arrow_down:
crates/proof-impl/cl-stf/src/lib.rs 25.00% <0.00%> (ø)
crates/state/src/batch.rs 2.89% <0.00%> (ø)
crates/state/src/block_validation.rs 76.00% <0.00%> (ø)
crates/proof-impl/l1-batch/src/lib.rs 0.00% <0.00%> (ø)
... and 7 more

... and 8 files with indirect coverage changes

prajwolrg commented 1 month ago

Closing in favor of #390