Skip to content

Commit

Permalink
chore: add ToString for no_std add exports some types in no_std (blue…
Browse files Browse the repository at this point in the history
…alloy#1128)

* fix: add ToString for no_std

* fmt

* support no_std for some types
  • Loading branch information
yjhmelody authored and fubuloubu committed Apr 11, 2024
1 parent 1adc352 commit cf47d51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion crates/revm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
1 change: 1 addition & 0 deletions crates/revm/src/optimism/handler_register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DB: Database, EXT>(handler: &mut EvmHandler<'_, EXT, DB>) {
Expand Down

0 comments on commit cf47d51

Please sign in to comment.