10
10
#![ warn( unused_crate_dependencies) ]
11
11
12
12
use alloy_consensus:: Transaction ;
13
- use reth_network:: { config:: rng_secret_key, EthNetworkPrimitives , NetworkConfig , NetworkManager } ;
14
- use reth_provider:: test_utils:: NoopProvider ;
15
- use reth_transaction_pool:: {
16
- blobstore:: InMemoryBlobStore , validate:: ValidTransaction , CoinbaseTipOrdering ,
17
- EthPooledTransaction , PoolTransaction , TransactionListenerKind , TransactionOrigin ,
18
- TransactionPool , TransactionValidationOutcome , TransactionValidator ,
13
+ use reth_ethereum:: {
14
+ network:: { config:: rng_secret_key, EthNetworkPrimitives , NetworkConfig , NetworkManager } ,
15
+ pool:: {
16
+ blobstore:: InMemoryBlobStore , validate:: ValidTransaction , CoinbaseTipOrdering ,
17
+ EthPooledTransaction , PoolTransaction , TransactionListenerKind , TransactionOrigin ,
18
+ TransactionPool , TransactionValidationOutcome , TransactionValidator ,
19
+ } ,
20
+ provider:: test_utils:: NoopProvider ,
19
21
} ;
20
22
21
23
#[ tokio:: main]
@@ -26,7 +28,7 @@ async fn main() -> eyre::Result<()> {
26
28
// remote or able to validate transaction against the latest state.
27
29
let client = NoopProvider :: default ( ) ;
28
30
29
- let pool = reth_transaction_pool :: Pool :: new (
31
+ let pool = reth_ethereum :: pool :: Pool :: new (
30
32
OkValidator :: default ( ) ,
31
33
CoinbaseTipOrdering :: default ( ) ,
32
34
InMemoryBlobStore :: default ( ) ,
@@ -68,7 +70,7 @@ async fn main() -> eyre::Result<()> {
68
70
/// A transaction validator that determines all transactions to be valid.
69
71
///
70
72
/// An actual validator impl like
71
- /// [TransactionValidationTaskExecutor](reth_transaction_pool ::TransactionValidationTaskExecutor)
73
+ /// [TransactionValidationTaskExecutor](reth_ethereum::pool ::TransactionValidationTaskExecutor)
72
74
/// would require up to date db access.
73
75
///
74
76
/// CAUTION: This validator is not safe to use since it doesn't actually validate the transaction's
0 commit comments