-
Notifications
You must be signed in to change notification settings - Fork 71
feat(evm): Add specializations for Signed types for OpTransaction<TxEnv>
#209
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(evm): Add specializations for Signed types for OpTransaction<TxEnv>
#209
Conversation
…TxEnv>` Added implementations for FromRecoveredTx and FromTxWithEncoded traits for TxEip1559, TxEip2930, TxEip4844, TxEip7702, and TxLegacy.
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.
CI fails due to clippy, this is fixed in #210.
mattsse
left a comment
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.
cool, almost there
mattsse
left a comment
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.
we need to change the FromRecoveredTx to Signed<...> instead
… for `Signed<>` types instead of raw types
mattsse
left a comment
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.
one more suggestions
…n types - make signed tx type impls forward tx.tx() to raw type impls
mattsse
left a comment
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.
all of this lgtm
Motivation
Close #207
Solution
Added implementations of
FromRecoveredTxandFromTxWithEncodedtraits forTxEip1559,TxEip2930,TxEip4844,TxEip7702, andTxLegacy. Then updatedOpTxEnvelope's one.PR Checklist