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

fix: fix a bug in `AssembledTransaction.simulate` #1000

Closed overcat closed 3 days ago

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 98.19%. Comparing base (23b7fdd) to head (2bdd4df). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
stellar_sdk/contract/assembled_transaction.py 20.00% 4 Missing :warning:
...tellar_sdk/contract/assembled_transaction_async.py 0.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/1000/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/1000?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) ```diff @@ Coverage Diff @@ ## main #1000 +/- ## ======================================= Coverage 98.19% 98.19% ======================================= Files 261 261 Lines 14028 14028 ======================================= Hits 13775 13775 Misses 253 253 ``` | [Flag](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/1000/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/1000/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | `98.19% <16.66%> (ø)` | | 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 with missing lines](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/1000?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN) | Coverage Δ | | |---|---|---| | [...tellar\_sdk/contract/assembled\_transaction\_async.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/1000?src=pr&el=tree&filepath=stellar_sdk%2Fcontract%2Fassembled_transaction_async.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-c3RlbGxhcl9zZGsvY29udHJhY3QvYXNzZW1ibGVkX3RyYW5zYWN0aW9uX2FzeW5jLnB5) | `79.42% <0.00%> (ø)` | | | [stellar\_sdk/contract/assembled\_transaction.py](https://app.codecov.io/gh/StellarCN/py-stellar-base/pull/1000?src=pr&el=tree&filepath=stellar_sdk%2Fcontract%2Fassembled_transaction.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StellarCN#diff-c3RlbGxhcl9zZGsvY29udHJhY3QvYXNzZW1ibGVkX3RyYW5zYWN0aW9uLnB5) | `79.76% <20.00%> (ø)` | |

🚨 Try these New Features: