chainwayxyz / citrea

Citrea, Bitcoin's First ZK Rollup 🍊🍋
https://citrea.xyz
GNU General Public License v3.0
129 stars 26 forks source link

Light client prover rpc #1480

Closed ercecan closed 1 week ago

ercecan commented 1 week ago

Description

Implements light client prover rpc

Linked Issues

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 9.19540% with 79 lines in your changes missing coverage. Please review.

Project coverage is 75.8%. Comparing base (08cbdb0) to head (3016d87). Report is 1 commits behind head on nightly.

Files with missing lines Patch % Lines
crates/light-client-prover/src/rpc.rs 3.2% 30 Missing :warning:
crates/light-client-prover/src/runner.rs 0.0% 26 Missing :warning:
...ereign-sdk/full-node/db/sov-db/src/schema/types.rs 0.0% 23 Missing :warning:
Additional details and impacted files | [Files with missing lines](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz) | Coverage Δ | | |---|---|---| | [crates/batch-prover/src/rpc.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Fbatch-prover%2Fsrc%2Frpc.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL2JhdGNoLXByb3Zlci9zcmMvcnBjLnJz) | `49.2% <100.0%> (ø)` | | | [...sovereign-sdk/rollup-interface/src/node/rpc/mod.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Frollup-interface%2Fsrc%2Fnode%2Frpc%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvcm9sbHVwLWludGVyZmFjZS9zcmMvbm9kZS9ycGMvbW9kLnJz) | `86.3% <100.0%> (+0.1%)` | :arrow_up: | | [...n-sdk/rollup-interface/src/state\_machine/zk/mod.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Frollup-interface%2Fsrc%2Fstate_machine%2Fzk%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvcm9sbHVwLWludGVyZmFjZS9zcmMvc3RhdGVfbWFjaGluZS96ay9tb2QucnM=) | `88.8% <100.0%> (ø)` | | | [...ereign-sdk/full-node/db/sov-db/src/schema/types.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Fsovereign-sdk%2Ffull-node%2Fdb%2Fsov-db%2Fsrc%2Fschema%2Ftypes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL3NvdmVyZWlnbi1zZGsvZnVsbC1ub2RlL2RiL3Nvdi1kYi9zcmMvc2NoZW1hL3R5cGVzLnJz) | `51.6% <0.0%> (-9.2%)` | :arrow_down: | | [crates/light-client-prover/src/runner.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Flight-client-prover%2Fsrc%2Frunner.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL2xpZ2h0LWNsaWVudC1wcm92ZXIvc3JjL3J1bm5lci5ycw==) | `0.0% <0.0%> (ø)` | | | [crates/light-client-prover/src/rpc.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480?src=pr&el=tree&filepath=crates%2Flight-client-prover%2Fsrc%2Frpc.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL2xpZ2h0LWNsaWVudC1wcm92ZXIvc3JjL3JwYy5ycw==) | `3.2% <3.2%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/chainwayxyz/citrea/pull/1480/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz)