nervosnetwork / ckb-light-client

CKB light client reference implementation
MIT License
14 stars 16 forks source link

fix: return correct number in get_scripts rpc #86

Closed TheWaWaR closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Base: 76.77% // Head: 77.36% // Increases project coverage by +0.59% :tada:

Coverage data is based on head (120f1fc) compared to base (dbdb72e). Patch coverage: 93.31% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #86 +/- ## =========================================== + Coverage 76.77% 77.36% +0.59% =========================================== Files 23 23 Lines 4435 4516 +81 =========================================== + Hits 3405 3494 +89 + Misses 1030 1022 -8 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `77.36% <93.31%> (+0.59%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | Coverage Δ | | |---|---|---| | [src/protocols/light\_client/peers.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvcGVlcnMucnM=) | `85.71% <87.28%> (+1.36%)` | :arrow_up: | | [...ocols/light\_client/components/send\_blocks\_proof.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvY29tcG9uZW50cy9zZW5kX2Jsb2Nrc19wcm9vZi5ycw==) | `94.85% <94.59%> (+0.86%)` | :arrow_up: | | [...light\_client/components/send\_transactions\_proof.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvY29tcG9uZW50cy9zZW5kX3RyYW5zYWN0aW9uc19wcm9vZi5ycw==) | `91.30% <98.11%> (ø)` | | | [src/protocols/filter/block\_filter.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9maWx0ZXIvYmxvY2tfZmlsdGVyLnJz) | `86.42% <100.00%> (+0.41%)` | :arrow_up: | | [...otocols/filter/components/block\_filters\_process.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9maWx0ZXIvY29tcG9uZW50cy9ibG9ja19maWx0ZXJzX3Byb2Nlc3MucnM=) | `96.39% <100.00%> (+2.05%)` | :arrow_up: | | [src/protocols/light\_client/mod.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvbW9kLnJz) | `77.38% <100.00%> (-0.38%)` | :arrow_down: | | [src/service.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3NlcnZpY2UucnM=) | `64.99% <100.00%> (-0.24%)` | :arrow_down: | | [src/storage.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3N0b3JhZ2UucnM=) | `96.46% <100.00%> (+0.88%)` | :arrow_up: | | ... and [3 more](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/86/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.