delvtech / pypechain

Static Python bindings for Ethereum smart contracts.
Apache License 2.0
9 stars 2 forks source link

Add Errors to generated types files. #101

Closed sentilesdal closed 10 months ago

sentilesdal commented 10 months ago

Add Errors to the generated types files. See ExampleTypes.py file for a good example.

codecov-commenter commented 10 months ago

Codecov Report

Attention: 37 lines in your changes are missing coverage. Please review.

Comparison is base (9810497) 66.76% compared to head (9ed4c31) 67.01%.

Files Patch % Lines
pypechain/utilities/abi.py 50.00% 26 Missing :warning:
pypechain/render/contract.py 16.66% 10 Missing :warning:
pypechain/render/types.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #101 +/- ## ========================================== + Coverage 66.76% 67.01% +0.24% ========================================== Files 46 46 Lines 1974 2101 +127 ========================================== + Hits 1318 1408 +90 - Misses 656 693 +37 ``` | [Flag](https://app.codecov.io/gh/delvtech/pypechain/pull/101/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/delvtech/pypechain/pull/101/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | `67.01% <71.96%> (+0.24%)` | :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=delvtech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.