Skip to content

Commit

Permalink
Fix build in no_std (#158)
Browse files Browse the repository at this point in the history
* fix build in no_std

* re-export IsPrecompileResult
  • Loading branch information
nanocryk authored Mar 21, 2023
1 parent faeb242 commit 5fb8a49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/executor/stack/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub use self::executor::{
};
pub use self::memory::{MemoryStackAccount, MemoryStackState, MemoryStackSubstate};
pub use self::precompile::{
PrecompileFailure, PrecompileFn, PrecompileHandle, PrecompileOutput, PrecompileSet,
IsPrecompileResult, PrecompileFailure, PrecompileFn, PrecompileHandle, PrecompileOutput,
PrecompileSet,
};
pub use ethereum::Log;
2 changes: 1 addition & 1 deletion src/executor/stack/precompile.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{Context, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed, Transfer};
use alloc::collections::BTreeMap;
use alloc::{collections::BTreeMap, vec::Vec};
use primitive_types::{H160, H256};

/// A precompile result.
Expand Down

0 comments on commit 5fb8a49

Please sign in to comment.