vyperlang / vyper

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

feat[lang]: blobhash #3979

Closed tserg closed 3 months ago

tserg commented 3 months ago

What I did

Support blobhash(uint256).

How I did it

How to verify it

Commit message

This commit adds access to the `BLOBHASH` opcode via a new `blobhash()` 
builtin. The opcode was introduced in EIP-4844.

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

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.81%. Comparing base (7d28a50) to head (d6ba9a2).

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3979 +/- ## ======================================= Coverage 90.81% 90.81% ======================================= Files 98 98 Lines 14867 14877 +10 Branches 3309 3311 +2 ======================================= + Hits 13501 13511 +10 Misses 945 945 Partials 421 421 ```

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

charles-cooper commented 3 months ago

dup of https://github.com/vyperlang/vyper/pull/3962 -- relevant changes from this PR have already been incorporated there (https://github.com/vyperlang/vyper/pull/3962/commits/26d6fdbdc24c906eb4356c5208a4d7b8f6af2cfe)