chore: dont depend on reth-primitives (#8762)

This commit is contained in:
Matthias Seitz
2024-06-12 01:56:03 +02:00
committed by GitHub
parent 2bc1642049
commit 1c148e7f03
3 changed files with 11 additions and 3 deletions

View File

@ -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 }

View File

@ -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};