@@ -2,7 +2,6 @@ use std::{borrow::Cow, convert::Infallible, sync::Arc};
22
33use alloy_consensus:: { BlockHeader , Header } ;
44use alloy_eips:: Decodable2718 ;
5- use alloy_evm:: Database ;
65use alloy_hardforks:: EthereumHardforks ;
76use alloy_primitives:: Bytes ;
87use alloy_rpc_types_eth:: Withdrawals ;
@@ -17,8 +16,7 @@ use reth::{
1716use reth_ethereum:: EthPrimitives ;
1817use reth_ethereum_forks:: Hardforks ;
1918use reth_evm:: {
20- ConfigureEngineEvm , ConfigureEvm , EvmEnv , EvmEnvFor , EvmFactory , EvmFor , ExecutableTxIterator ,
21- ExecutionCtxFor ,
19+ ConfigureEngineEvm , ConfigureEvm , EvmEnv , EvmEnvFor , ExecutableTxIterator , ExecutionCtxFor ,
2220} ;
2321use reth_evm_ethereum:: RethReceiptBuilder ;
2422use reth_node_api:: ExecutionPayload ;
@@ -248,12 +246,6 @@ impl ConfigureEvm for TaikoEvmConfig {
248246 extra_data : ctx. extra_data ,
249247 } )
250248 }
251-
252- /// Returns a new EVM with the given database configured with the given environment settings,
253- /// including the spec id and transaction environment.
254- fn evm_with_env < DB : Database > ( & self , db : DB , evm_env : EvmEnvFor < Self > ) -> EvmFor < Self , DB > {
255- self . evm_factory ( ) . create_evm ( db, evm_env)
256- }
257249}
258250
259251/// Context relevant for execution of a next block w.r.t Taiko.
0 commit comments