-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Added from<alloy_rpc_types_eth::Transaction> for TransactionSigned #14350
Added from<alloy_rpc_types_eth::Transaction> for TransactionSigned #14350
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,
two suggestions
where | ||
T: Into<AnyTxEnvelope>, |
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 think I miscommunicated this in the issue we want
where | |
T: Into<AnyTxEnvelope>, | |
where | |
T: Into<TransactionSigned>, |
here so that the impl just becomes tx.inner.into()
and tx.inner.try_into()
we want both a From
and a TryFrom
impl
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, turns out we only need the from impl
…aradigmxyz#14350) Co-authored-by: Matthias Seitz <[email protected]>
Fixes #14349