-
Notifications
You must be signed in to change notification settings - Fork 237
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: Add 7702 tx enum #1059
feat: Add 7702 tx enum #1059
Conversation
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.
thanks for this!
this type is will be supported by devnet1 soon, but I think we can actually include it already, though we should wait until devnet is up
@mattsse thanks, it’s fine to leave this until devnet is ready :) |
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.
lgtm, I will rebase it and resolve the conflicts:) thanks for your contribution
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.
lgtm
Motivation
The 7702 tx type has been added at #1046, so it would be better to support 7702 tx enum in the consensus layer as well.
Solution
Adds a new variant
Eip7702
to theTypedTransaction
enum inconsensus
.According to the above change, also adds
authorization_list
field to theTransactionRequest
and its accessor to theTransactionBuilder
PR Checklist