Skip to content

Commit

Permalink
chore: dont depend on reth-primitives (paradigmxyz#8762)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jun 11, 2024
1 parent 2bc1642 commit 1c148e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion crates/evm/execution-errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ workspace = true
[dependencies]
# reth
reth-consensus.workspace = true
reth-primitives.workspace = true
reth-storage-errors.workspace = true
reth-prune-types.workspace = true

alloy-primitives.workspace = true
alloy-eips.workspace = true
revm-primitives.workspace = true

thiserror-no-std = { workspace = true, default-features = false }


Expand Down
4 changes: 3 additions & 1 deletion crates/evm/execution-errors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
#[cfg(not(feature = "std"))]
extern crate alloc;

use alloy_eips::BlockNumHash;
use alloy_primitives::B256;
use reth_consensus::ConsensusError;
use reth_primitives::{revm_primitives::EVMError, BlockNumHash, B256};
use reth_prune_types::PruneSegmentError;
use reth_storage_errors::provider::ProviderError;
use revm_primitives::EVMError;

#[cfg(not(feature = "std"))]
use alloc::{boxed::Box, string::String};
Expand Down

0 comments on commit 1c148e7

Please sign in to comment.