diff --git a/crates/revm/src/lib.rs b/crates/revm/src/lib.rs index 3dfa14a197..d22a009460 100644 --- a/crates/revm/src/lib.rs +++ b/crates/revm/src/lib.rs @@ -30,7 +30,6 @@ pub mod optimism; pub use builder::EvmBuilder; pub use context::{Context, ContextWithHandlerCfg, EvmContext}; -#[cfg(feature = "std")] pub use db::{ CacheState, DBBox, State, StateBuilder, StateDBBox, TransitionAccount, TransitionState, }; diff --git a/crates/revm/src/optimism/handler_register.rs b/crates/revm/src/optimism/handler_register.rs index 4a5bce4c74..375d8f3e23 100644 --- a/crates/revm/src/optimism/handler_register.rs +++ b/crates/revm/src/optimism/handler_register.rs @@ -14,6 +14,7 @@ use crate::{ Context, FrameResult, }; use core::ops::Mul; +use std::string::ToString; use std::sync::Arc; pub fn optimism_handle_register(handler: &mut EvmHandler<'_, EXT, DB>) {