pub fn build_evm_config<C>(
chain_spec: Arc<C>,
jit: &JitArgs,
dump_dir: Option<PathBuf>,
) -> Result<(EthEvmConfig<C>, Option<Arc<JitMetrics>>), Report>where
C: EthereumHardforks,Available on crate features
jit and node-api and node only.Expand description
Builds an EthEvmConfig with evm2 JIT from CLI JitArgs.
This is the shared setup used by both EthereumExecutorBuilder and reth re-execute.
Returns the EVM config and metrics recorder if JIT starts enabled.