chore: make op-evm compile with no-std (#11834)

This commit is contained in:
Matthias Seitz
2024-10-17 15:54:32 +02:00
committed by GitHub
parent 52407b18de
commit 6ba4bbe4aa
7 changed files with 22 additions and 11 deletions

View File

@ -3,8 +3,10 @@
use crate::{
l1::ensure_create2_deployer, OpChainSpec, OptimismBlockExecutionError, OptimismEvmConfig,
};
use alloc::{boxed::Box, sync::Arc, vec::Vec};
use alloy_consensus::Transaction as _;
use alloy_primitives::{BlockNumber, U256};
use core::fmt::Display;
use reth_chainspec::{ChainSpec, EthereumHardforks};
use reth_evm::{
execute::{
@ -27,7 +29,6 @@ use revm_primitives::{
db::{Database, DatabaseCommit},
BlockEnv, CfgEnvWithHandlerCfg, EnvWithHandlerCfg, ResultAndState,
};
use std::{fmt::Display, sync::Arc};
use tracing::trace;
/// Provides executors to execute regular optimism blocks