19
19
//! use reth_engine_primitives::PayloadValidator;
20
20
//! use reth_evm::{execute::BlockExecutorProvider, ConfigureEvm};
21
21
//! use reth_network_api::{NetworkInfo, Peers};
22
- //! use reth_primitives::{Header, TransactionSigned};
22
+ //! use reth_primitives::{Header, PooledTransactionsElement, TransactionSigned};
23
23
//! use reth_provider::{AccountReader, CanonStateSubscriptions, ChangeSetReader, FullRpcProvider};
24
24
//! use reth_rpc::EthApi;
25
25
//! use reth_rpc_builder::{
55
55
//! Header = reth_primitives::Header,
56
56
//! > + AccountReader
57
57
//! + ChangeSetReader,
58
- //! Pool: TransactionPool<Transaction: PoolTransaction<Consensus = TransactionSigned>>
59
- //! + Unpin
58
+ //! Pool: TransactionPool<
59
+ //! Transaction: PoolTransaction<
60
+ //! Consensus = TransactionSigned,
61
+ //! Pooled = PooledTransactionsElement,
62
+ //! >,
63
+ //! > + Unpin
60
64
//! + 'static,
61
65
//! Network: NetworkInfo + Peers + Clone + 'static,
62
66
//! Events:
98
102
//! use reth_engine_primitives::{EngineTypes, PayloadValidator};
99
103
//! use reth_evm::{execute::BlockExecutorProvider, ConfigureEvm};
100
104
//! use reth_network_api::{NetworkInfo, Peers};
101
- //! use reth_primitives::{Header, TransactionSigned};
105
+ //! use reth_primitives::{Header, PooledTransactionsElement, TransactionSigned};
102
106
//! use reth_provider::{AccountReader, CanonStateSubscriptions, ChangeSetReader, FullRpcProvider};
103
107
//! use reth_rpc::EthApi;
104
108
//! use reth_rpc_api::EngineApiServer;
141
145
//! Header = reth_primitives::Header,
142
146
//! > + AccountReader
143
147
//! + ChangeSetReader,
144
- //! Pool: TransactionPool<Transaction: PoolTransaction<Consensus = TransactionSigned>>
145
- //! + Unpin
148
+ //! Pool: TransactionPool<
149
+ //! Transaction: PoolTransaction<
150
+ //! Consensus = TransactionSigned,
151
+ //! Pooled = PooledTransactionsElement,
152
+ //! >,
153
+ //! > + Unpin
146
154
//! + 'static,
147
155
//! Network: NetworkInfo + Peers + Clone + 'static,
148
156
//! Events:
@@ -222,7 +230,7 @@ use reth_consensus::FullConsensus;
222
230
use reth_engine_primitives:: { EngineTypes , PayloadValidator } ;
223
231
use reth_evm:: { execute:: BlockExecutorProvider , ConfigureEvm } ;
224
232
use reth_network_api:: { noop:: NoopNetwork , NetworkInfo , Peers } ;
225
- use reth_primitives:: NodePrimitives ;
233
+ use reth_primitives:: { NodePrimitives , PooledTransactionsElement } ;
226
234
use reth_provider:: {
227
235
AccountReader , BlockReader , CanonStateSubscriptions , ChainSpecProvider , ChangeSetReader ,
228
236
EvmEnvProvider , FullRpcProvider , ProviderBlock , ProviderHeader , ProviderReceipt ,
@@ -240,7 +248,7 @@ use reth_rpc_eth_api::{
240
248
use reth_rpc_eth_types:: { EthConfig , EthStateCache , EthSubscriptionIdProvider } ;
241
249
use reth_rpc_layer:: { AuthLayer , Claims , CompressionLayer , JwtAuthValidator , JwtSecret } ;
242
250
use reth_tasks:: { pool:: BlockingTaskGuard , TaskSpawner , TokioTaskExecutor } ;
243
- use reth_transaction_pool:: { noop:: NoopTransactionPool , TransactionPool } ;
251
+ use reth_transaction_pool:: { noop:: NoopTransactionPool , PoolTransaction , TransactionPool } ;
244
252
use serde:: { Deserialize , Serialize } ;
245
253
use tower:: Layer ;
246
254
use tower_http:: cors:: CorsLayer ;
@@ -315,6 +323,7 @@ where
315
323
Receipt = <BlockExecutor :: Primitives as NodePrimitives >:: Receipt ,
316
324
Header = <BlockExecutor :: Primitives as NodePrimitives >:: BlockHeader ,
317
325
> ,
326
+ Pool : TransactionPool < Transaction : PoolTransaction < Pooled = PooledTransactionsElement > > ,
318
327
> ,
319
328
BlockExecutor : BlockExecutorProvider ,
320
329
{
@@ -706,6 +715,7 @@ where
706
715
Receipt = <Events :: Primitives as NodePrimitives >:: Receipt ,
707
716
Header = <Events :: Primitives as NodePrimitives >:: BlockHeader ,
708
717
> ,
718
+ Pool : TransactionPool < Transaction : PoolTransaction < Pooled = PooledTransactionsElement > > ,
709
719
> ,
710
720
{
711
721
let Self {
@@ -831,6 +841,7 @@ where
831
841
Block = <Events :: Primitives as NodePrimitives >:: Block ,
832
842
Header = <Events :: Primitives as NodePrimitives >:: BlockHeader ,
833
843
> ,
844
+ Pool : TransactionPool < Transaction : PoolTransaction < Pooled = PooledTransactionsElement > > ,
834
845
> ,
835
846
Pool : TransactionPool < Transaction = <EthApi :: Pool as TransactionPool >:: Transaction > ,
836
847
{
@@ -1371,6 +1382,7 @@ where
1371
1382
Receipt = <BlockExecutor :: Primitives as NodePrimitives >:: Receipt ,
1372
1383
Header = <BlockExecutor :: Primitives as NodePrimitives >:: BlockHeader ,
1373
1384
> ,
1385
+ Pool : TransactionPool < Transaction : PoolTransaction < Pooled = PooledTransactionsElement > > ,
1374
1386
> ,
1375
1387
BlockExecutor : BlockExecutorProvider ,
1376
1388
Consensus : reth_consensus:: FullConsensus < BlockExecutor :: Primitives > + Clone + ' static ,
0 commit comments