-
Notifications
You must be signed in to change notification settings - Fork 249
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 authorization list to rpc transaction and tx receipt types #1051
feat: add authorization list to rpc transaction and tx receipt types #1051
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.
ty!
/// The authorization list is a list of tuples that store the address to code which the signer | ||
/// desires to execute in the context of their EOA. | ||
#[serde(skip_serializing_if = "Option::is_none")] | ||
pub authorization_list: Option<Vec<Authorization>>, |
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 believe we actually want the SignedAuthoriazion here because we also need the signature
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.
Updated. Some pipelines are failing so I will probably need to enable a feature
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.
Seems fixed!
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
…lloy-rs#1051) * feat: add authorization list to rpc transaction and tx receipt types * fix: add default impl Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * fix: use signed authorization for rpc transaction type * fix: enable arbitrary and k256 features for development * fix: cargo hack fix * chore: flatten signature --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
…lloy-rs#1051) * feat: add authorization list to rpc transaction and tx receipt types * fix: add default impl Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * fix: use signed authorization for rpc transaction type * fix: enable arbitrary and k256 features for development * fix: cargo hack fix * chore: flatten signature --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Motivation
Adds 7702 authorization list to rpc transaction and transaction receipt types.
Related: #1032
Solution
PR Checklist