StellarCN / py-stellar-base

Stellar client library for the Python language
https://stellar-sdk.readthedocs.io
Apache License 2.0
348 stars 173 forks source link

improve: the functions in `stellar_xdr.scval` can accept `sc_val` of `base64` and `bytes` types. #932

Closed overcat closed 6 months ago

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 98.88889% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 98.62%. Comparing base (8ce7f9c) to head (40af471).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932/graphs/tree.svg?width=650&height=150&src=pr&token=kHAKcotfqv&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN)](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) ```diff @@ Coverage Diff @@ ## main #932 +/- ## ========================================== - Coverage 98.62% 98.62% -0.01% ========================================== Files 253 253 Lines 13299 13368 +69 ========================================== + Hits 13116 13184 +68 - Misses 183 184 +1 ``` | [Flag](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | `98.62% <98.88%> (-0.01%)` | :arrow_down: | 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=StellarCN#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | Coverage Δ | | |---|---|---| | [tests/test\_scval.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932?src=pr&el=tree&filepath=tests%2Ftest_scval.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-dGVzdHMvdGVzdF9zY3ZhbC5weQ==) | `100.00% <100.00%> (ø)` | | | [stellar\_sdk/scval.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/932?src=pr&el=tree&filepath=stellar_sdk%2Fscval.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-c3RlbGxhcl9zZGsvc2N2YWwucHk=) | `91.03% <97.91%> (+0.72%)` | :arrow_up: |