@@ -99,7 +99,7 @@ use reth_node_builder::{
9999use reth_node_core:: args:: { DiscoveryArgs , NetworkArgs , RpcServerArgs , TxPoolArgs } ;
100100use reth_provider:: providers:: BlockchainProvider ;
101101use reth_rpc_server_types:: RpcModuleSelection ;
102- use reth_tasks:: TaskManager ;
102+ use reth_tasks:: TaskExecutor ;
103103use rollup_node_sequencer:: L1MessageInclusionMode ;
104104use std:: { path:: PathBuf , sync:: Arc } ;
105105use tokio:: sync:: Mutex ;
@@ -155,7 +155,11 @@ where
155155 . with_rpc ( RpcServerArgs :: default ( ) . with_http ( ) . with_http_api ( RpcModuleSelection :: All ) )
156156 . with_unused_ports ( )
157157 . set_dev ( is_dev)
158- . with_txpool ( TxPoolArgs { no_local_transactions_propagation, ..Default :: default ( ) } ) ;
158+ . with_txpool ( TxPoolArgs {
159+ no_local_transactions_propagation,
160+ max_account_slots : 16_384 ,
161+ ..Default :: default ( )
162+ } ) ;
159163
160164 // Check if we already have provided a database for a node (reboot scenario)
161165 let db = if let Some ( ( _, provided_db) ) = & reboot_info {
@@ -201,10 +205,10 @@ where
201205
202206 let span = span ! ( Level :: INFO , "node" , node_index) ;
203207 let _enter = span. enter ( ) ;
204- let task_manager = TaskManager :: current ( ) ;
208+ let task_executor = TaskExecutor :: default ( ) ;
205209 let testing_node = NodeBuilder :: new ( node_config. clone ( ) )
206210 . with_database ( db. clone ( ) )
207- . with_launch_context ( task_manager . executor ( ) ) ;
211+ . with_launch_context ( task_executor . clone ( ) ) ;
208212 let testing_config = testing_node. config ( ) . clone ( ) ;
209213 let node = ScrollRollupNode :: new ( scroll_node_config. clone ( ) , testing_config) . await ;
210214 let RethNodeHandle { node, node_exit_future } = testing_node
@@ -241,7 +245,7 @@ where
241245 }
242246 }
243247
244- let node = ScrollNodeTestComponents :: new ( node, task_manager , node_exit_future) . await ;
248+ let node = ScrollNodeTestComponents :: new ( node, task_executor , node_exit_future) . await ;
245249
246250 nodes. push ( node) ;
247251 }
@@ -252,7 +256,7 @@ where
252256/// Generate a transfer transaction with the given wallet.
253257pub async fn generate_tx ( wallet : Arc < Mutex < Wallet > > ) -> Bytes {
254258 let mut wallet = wallet. lock ( ) . await ;
255- let tx_fut = TransactionTestContext :: transfer_tx_nonce_bytes (
259+ let tx_fut = TransactionTestContext :: transfer_tx_bytes_with_nonce (
256260 wallet. chain_id ,
257261 wallet. inner . clone ( ) ,
258262 wallet. inner_nonce ,
0 commit comments