nervosnetwork / ckb-light-client

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

fix: resolve rpc get_cells_capacity compatibility issue #90

Closed quake closed 2 years ago

quake commented 2 years ago

the returning data of get_cells_capacity should be same as ckb-indexer rpc.

codecov-commenter commented 2 years ago

Codecov Report

Base: 77.39% // Head: 77.42% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (046f823) compared to base (3446877). Patch coverage: 92.30% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #90 +/- ## =========================================== + Coverage 77.39% 77.42% +0.03% =========================================== Files 23 23 Lines 4525 4536 +11 =========================================== + Hits 3502 3512 +10 - Misses 1023 1024 +1 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `77.42% <92.30%> (+0.03%)` | :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/90?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork) | Coverage Δ | | |---|---|---| | [src/storage.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/90/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% <ø> (ø)` | | | [src/service.rs](https://codecov.io/gh/nervosnetwork/ckb-light-client/pull/90/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nervosnetwork#diff-c3JjL3NlcnZpY2UucnM=) | `65.74% <92.30%> (+0.37%)` | :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.