diff --git a/Cargo.lock b/Cargo.lock index 129ec7fe34..78b305cc08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5448,13 +5448,11 @@ dependencies = [ "parking_lot 0.12.1", "paste", "rand 0.8.5", - "reth-consensus-common", "reth-interfaces", "reth-metrics-derive", "reth-primitives", "reth-provider", "reth-rlp", - "ruint", "serde", "thiserror", "tokio", diff --git a/crates/storage/provider/Cargo.toml b/crates/storage/provider/Cargo.toml index 3283e7abf1..7d1a7580f3 100644 --- a/crates/storage/provider/Cargo.toml +++ b/crates/storage/provider/Cargo.toml @@ -17,7 +17,7 @@ reth-trie = { path = "../../trie" } # async tokio = { version = "1.21", features = ["sync", "macros", "rt-multi-thread"] } -tokio-stream = "0.1" +tokio-stream = { version = "0.1", features = ["sync"] } # tracing tracing = "0.1" diff --git a/crates/transaction-pool/Cargo.toml b/crates/transaction-pool/Cargo.toml index 30b2faa8ab..3fe5d139bf 100644 --- a/crates/transaction-pool/Cargo.toml +++ b/crates/transaction-pool/Cargo.toml @@ -18,7 +18,6 @@ normal = [ [dependencies] # reth -reth-consensus-common = { path = "../consensus/common" } reth-primitives = { path = "../primitives" } reth-provider = { path = "../storage/provider" } reth-interfaces = { path = "../interfaces" } @@ -43,10 +42,6 @@ fnv = "1.0.7" bitflags = "1.3" auto_impl = "1.0" -# ruint -# Using the uint! requires the crate to be imported -ruint = "1.7.0" - # testing rand = { version = "0.8", optional = true } paste = { version = "1.0", optional = true } diff --git a/crates/transaction-pool/src/lib.rs b/crates/transaction-pool/src/lib.rs index af85ea2048..71c4b4b33f 100644 --- a/crates/transaction-pool/src/lib.rs +++ b/crates/transaction-pool/src/lib.rs @@ -4,7 +4,8 @@ rust_2018_idioms, unreachable_pub, missing_debug_implementations, - rustdoc::broken_intra_doc_links + rustdoc::broken_intra_doc_links, + unused_crate_dependencies )] #![doc(test( no_crate_inject, @@ -97,6 +98,7 @@ use crate::{ pool::PoolInner, traits::{NewTransactionEvent, PoolSize}, }; +use aquamarine as _; use reth_primitives::{Address, TxHash, U256}; use reth_provider::StateProviderFactory; use std::{collections::HashMap, sync::Arc};