nervosnetwork / ckb-light-client

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

chore: refactor get/fetch transaction rpc result #108

Closed quake closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Base: 77.78% // Head: 77.93% // Increases project coverage by +0.15% :tada:

Coverage data is based on head (6c49cf0) compared to base (55d9a7d). Patch coverage: 66.21% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #108 +/- ## =========================================== + Coverage 77.78% 77.93% +0.15% =========================================== Files 23 23 Lines 4667 4714 +47 =========================================== + Hits 3630 3674 +44 - Misses 1037 1040 +3 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `77.93% <66.21%> (+0.15%)` | :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/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | Coverage Δ | | |---|---|---| | [src/protocols/relayer.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9yZWxheWVyLnJz) | `7.51% <38.46%> (+7.51%)` | :arrow_up: | | [src/service.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3NlcnZpY2UucnM=) | `66.54% <72.13%> (+0.21%)` | :arrow_up: | | [src/protocols/light\_client/prelude.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvcHJlbHVkZS5ycw==) | `70.58% <0.00%> (-7.19%)` | :arrow_down: | | [src/protocols/light\_client/peers.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvcGVlcnMucnM=) | `85.73% <0.00%> (+0.02%)` | :arrow_up: | | [...s/light\_client/components/send\_last\_state\_proof.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/108/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3Byb3RvY29scy9saWdodF9jbGllbnQvY29tcG9uZW50cy9zZW5kX2xhc3Rfc3RhdGVfcHJvb2YucnM=) | `84.85% <0.00%> (+0.09%)` | :arrow_up: | 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.