vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.83k stars 789 forks source link

fix[codegen]: fix double evals in sqrt, slice, blueprint #3976

Closed cyberthirst closed 3 months ago

cyberthirst commented 3 months ago

What I did

fix for:

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

![Put a link to a cute animal picture inside the parenthesis-->]()

codecov-commenter commented 3 months ago

Codecov Report

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

Project coverage is 51.01%. Comparing base (626cdf9) to head (df7c7c6). Report is 1 commits behind head on master.

:exclamation: Current head df7c7c6 differs from pull request most recent head 7e4e4b7. Consider uploading reports for the commit 7e4e4b7 to get more accurate results

Files Patch % Lines
vyper/builtins/functions.py 3.33% 29 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3976 +/- ## =========================================== - Coverage 90.97% 51.01% -39.96% =========================================== Files 106 105 -1 Lines 15288 15267 -21 Branches 3367 3365 -2 =========================================== - Hits 13908 7789 -6119 - Misses 942 6852 +5910 - Partials 438 626 +188 ```

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