-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Component
Anvil
Describe the feature you would like
we currently do:
| pub fn to_revm_tx_env(&self) -> OpTransaction<TxEnv> { |
but all of this is already implemented here:
and
this means we can more or less simplify this with
impl FromRecoveredTx<TypedTransaction> for TxEnv {
fn from_recovered_tx(tx: &TypedTransaction, sender: Address) -> Self {
todo!()
}
}
impl FromRecoveredTx<TypedTransaction> for OpTransaction<TxEnv> {
fn from_recovered_tx(tx: &TypedTransaction, sender: Address) -> Self {
todo!()
}
}
TODO
- implement these alloy_evm traits
- replace
to_revm_tx_enventirely
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog