-
Notifications
You must be signed in to change notification settings - Fork 302
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
EOF: TXCREATE instruction #702
Conversation
3f4d668
to
6fb21e1
Compare
cdd53d5
to
64374ea
Compare
bfe5b1e
to
1197381
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #702 +/- ##
==========================================
+ Coverage 98.27% 98.32% +0.05%
==========================================
Files 129 129
Lines 14650 15515 +865
==========================================
+ Hits 14397 15255 +858
- Misses 253 260 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
45f792f
to
d869e2b
Compare
787bc15
to
8f2e254
Compare
544d807
to
bb66969
Compare
f5f0a21
to
7341929
Compare
327f5ca
to
7ba50d5
Compare
4a02f97
to
3599674
Compare
fd27842
to
17c09c7
Compare
|
||
initcontainer = | ||
state.get_tx_initcode_by_hash(intx::be::store<evmc::bytes32>(initcode_hash)); | ||
if (initcontainer.empty()) |
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.
Can you actually provide an empty initcontainer in the transaction?
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.
Actually you cannot, we forgot to remove this with the introduction of this rule.
You cannot, but state.get_tx_initcode_by_hash()
returns empty bytes_view
when initcontainer not found.
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.
Please document this.
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.
I would change get_tx_initcode_by_hash
returning std::optional
cb87439
to
9b4d832
Compare
Co-authored-by: pdobacz <[email protected]>
Co-authored-by: pdobacz <[email protected]>
Including support in state test runner and in export from state transition tests.
Based on #553