-
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
Remove TXCREATE #992
Remove TXCREATE #992
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #992 +/- ##
==========================================
- Coverage 94.13% 93.84% -0.30%
==========================================
Files 146 146
Lines 16259 15439 -820
==========================================
- Hits 15305 14488 -817
+ Misses 954 951 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
b454b49
to
c148044
Compare
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.
compute_initcode_list_cost
should be able to be removed nowtx.initcodes
Transaction::Type::initcodes
- possibly state test export and loader facilities?
https://github.com/ethereum/evmone/pull/702/files is my source, so maybe some are obsolete or maybe I haven't picked up all, sorry if these are already handled and I've missed
tx.to = To; | ||
pre.insert(*tx.to, {.nonce = 1, .code = factory_container}); | ||
|
||
expect.tx_error = INIT_CODE_COUNT_LIMIT_EXCEEDED; |
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.
This and a few other errors can be undefined now
case INIT_CODE_SIZE_LIMIT_EXCEEDED:
return "max initcode size exceeded";
case INIT_CODE_EMPTY:
return "initcode empty";
case INIT_CODE_COUNT_LIMIT_EXCEEDED:
return "max initcode count exceeded";
case INIT_CODE_COUNT_ZERO:
return "initcode list empty";
d5b2bfa
to
5f24411
Compare
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.
Very nice, thanks.
Please add a PR description before merging.
5f24411
to
814b8cc
Compare
TXCREATE
and initcode transactions are not scheduled for any upgrade currently, and it doesn't make sense to maintain this code at the moment.