ethereum / execution-specs

Specification for the Execution Layer. Tracking network upgrades.
Creative Commons Zero v1.0 Universal
806 stars 222 forks source link

Replace ensure with if-statements (Prague) #944

Closed SamWilsn closed 1 month ago

SamWilsn commented 2 months ago

What was wrong?

Related to Issue #588

How was it fixed?

See #932

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

codecov-commenter commented 2 months ago

Codecov Report

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

:exclamation: No coverage uploaded for pull request base (forks/prague@afa50ad). Click here to learn what that means.

Files Patch % Lines
src/ethereum/prague/fork.py 0.00% 52 Missing :warning:
src/ethereum/prague/vm/instructions/system.py 0.00% 8 Missing :warning:
src/ethereum/prague/vm/instructions/storage.py 0.00% 6 Missing :warning:
...rague/vm/precompiled_contracts/point_evaluation.py 0.00% 6 Missing :warning:
src/ethereum/prague/vm/instructions/stack.py 0.00% 4 Missing :warning:
src/ethereum/prague/vm/interpreter.py 0.00% 4 Missing :warning:
...ereum/prague/vm/precompiled_contracts/alt_bn128.py 0.00% 4 Missing :warning:
...thereum/prague/vm/precompiled_contracts/blake2f.py 0.00% 4 Missing :warning:
src/ethereum/prague/state.py 0.00% 2 Missing :warning:
src/ethereum/prague/vm/instructions/environment.py 0.00% 2 Missing :warning:
... and 2 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## forks/prague #944 +/- ## =============================================== Coverage ? 70.60% =============================================== Files ? 684 Lines ? 37890 Branches ? 0 =============================================== Hits ? 26751 Misses ? 11139 Partials ? 0 ``` | [Flag](https://app.codecov.io/gh/ethereum/execution-specs/pull/944/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ethereum/execution-specs/pull/944/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `70.60% <1.04%> (?)` | | 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=ethereum#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.