-
Notifications
You must be signed in to change notification settings - Fork 285
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
Add BLOBHASH instruction #668
Conversation
4b95a75
to
968caea
Compare
|
||
execute(blobhash(1) + ret_top()); | ||
EXPECT_OUTPUT_INT(0); | ||
} |
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.
You could also test it with 0xff...ff
, here and in other tests
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.
Added.
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.
What about other tests?
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.
Added to all.
Looks good to me, but Silkworm EVMC mismatch error on CI |
5a1029a
to
9908478
Compare
Fixed now. Starting from #669 we use Silkworm with EVMC 11. It does not support |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #668 +/- ##
==========================================
+ Coverage 97.56% 97.58% +0.01%
==========================================
Files 92 93 +1
Lines 8547 8610 +63
==========================================
+ Hits 8339 8402 +63
Misses 208 208
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Implement
BLOBHASH
instruction and add support for blob transactions in state tests.