@@ -1349,13 +1349,11 @@ pub fn convert_to_anvil_receipt(receipt: AnyTransactionReceipt) -> Option<Receip
13491349impl FromRecoveredTx < TypedTransaction > for TxEnv {
13501350 fn from_recovered_tx ( tx : & TypedTransaction , caller : Address ) -> Self {
13511351 match tx {
1352- TypedTransaction :: Legacy ( signed_tx) => Self :: from_recovered_tx ( signed_tx. tx ( ) , caller) ,
1353- TypedTransaction :: EIP2930 ( signed_tx) => Self :: from_recovered_tx ( signed_tx. tx ( ) , caller) ,
1354- TypedTransaction :: EIP1559 ( signed_tx) => Self :: from_recovered_tx ( signed_tx. tx ( ) , caller) ,
1355- TypedTransaction :: EIP4844 ( signed_tx) => {
1356- Self :: from_recovered_tx ( signed_tx. tx ( ) . tx ( ) , caller)
1357- }
1358- TypedTransaction :: EIP7702 ( signed_tx) => Self :: from_recovered_tx ( signed_tx. tx ( ) , caller) ,
1352+ TypedTransaction :: Legacy ( signed_tx) => Self :: from_recovered_tx ( signed_tx, caller) ,
1353+ TypedTransaction :: EIP2930 ( signed_tx) => Self :: from_recovered_tx ( signed_tx, caller) ,
1354+ TypedTransaction :: EIP1559 ( signed_tx) => Self :: from_recovered_tx ( signed_tx, caller) ,
1355+ TypedTransaction :: EIP4844 ( signed_tx) => Self :: from_recovered_tx ( signed_tx, caller) ,
1356+ TypedTransaction :: EIP7702 ( signed_tx) => Self :: from_recovered_tx ( signed_tx, caller) ,
13591357 TypedTransaction :: Deposit ( tx) => Self :: from_recovered_tx ( tx, caller) ,
13601358 }
13611359 }
0 commit comments