-
Notifications
You must be signed in to change notification settings - Fork 333
EOF: Add rlp_encode of InitcodeTransaction #1192
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
Conversation
| tx.to.has_value() ? tx.to.value() : bytes_view(), tx.value, tx.data, | ||
| tx.access_list, tx.authorization_list, tx.v, tx.r, tx.s); | ||
| } | ||
| else // Transaction::Type::initcodes |
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 is kinda weird pattern that for any new tx type we need to convert a comment to if. Maybe change it to proper else if and return something dummy for the default path (can be also unreachable()).
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 be done by separate PR.
| tx.to.has_value() ? tx.to.value() : bytes_view(), tx.value, tx.data, | ||
| tx.access_list, tx.authorization_list, tx.v, tx.r, tx.s); | ||
| } | ||
| else // Transaction::Type::initcodes |
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 be done by separate PR.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1192 +/- ##
==========================================
- Coverage 94.91% 94.89% -0.03%
==========================================
Files 171 171
Lines 19675 19681 +6
==========================================
+ Hits 18675 18676 +1
- Misses 1000 1005 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
We need to release and update EEST to tickle the rlp encoding lines for the new tx type. Making a self not to double check that is the case |
No description provided.