-
-
Notifications
You must be signed in to change notification settings - Fork 804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat[lang]!: change the signature of block.prevrandao
#3879
feat[lang]!: change the signature of block.prevrandao
#3879
Conversation
`block.prevrandao` is an opcode alias for `difficulty`. however, it returns a bytes object at the evm level (cf. for instance py-evm returns the value of `block.mixhash`). this commit changes the signature of block.prevrandao to be more consistent with the VM semantics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the docs return param here, otherwise LGTM.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3879 +/- ##
==========================================
- Coverage 86.36% 86.33% -0.04%
==========================================
Files 92 92
Lines 14024 14024
Branches 3081 3081
==========================================
- Hits 12112 12107 -5
- Misses 1484 1489 +5
Partials 428 428 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as this goes out in a breaking change release
block.prevrandao
block.prevrandao
add optional ! which indicates a breaking change
`block.prevrandao` is an opcode alias for `difficulty`. however, it returns a bytes object at the evm level (cf. for instance py-evm returns the value of `block.mixhash`). this commit changes the signature of `block.prevrandao` to be more consistent with the VM semantics. also update PR title regex per conventional commit specification - add optional `!` which indicates a breaking change
block.prevrandao
is an opcode alias fordifficulty
. however, it returns a bytes object at the evm level (cf. for instance py-evm returns the value ofblock.mixhash
). this commit changes the signature of block.prevrandao to be more consistent with the VM semantics.What I did
How I did it
How to verify it
Commit message
Description for the changelog
Cute Animal Picture