mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: dont depend on reth-primitives (#8762)
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -6975,10 +6975,12 @@ dependencies = [
|
||||
name = "reth-execution-errors"
|
||||
version = "0.2.0-beta.9"
|
||||
dependencies = [
|
||||
"alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=14ed25d)",
|
||||
"alloy-primitives",
|
||||
"reth-consensus",
|
||||
"reth-primitives",
|
||||
"reth-prune-types",
|
||||
"reth-storage-errors",
|
||||
"revm-primitives",
|
||||
"thiserror-no-std",
|
||||
]
|
||||
|
||||
|
||||
@ -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 }
|
||||
|
||||
|
||||
|
||||
@ -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};
|
||||
|
||||
Reference in New Issue
Block a user