@@ -34,6 +34,7 @@ pub struct Config {
3434 pub rpc_l2_execution_layer_timeout : Duration ,
3535 pub rpc_driver_preconf_timeout : Duration ,
3636 pub rpc_driver_status_timeout : Duration ,
37+ pub rpc_driver_retry_timeout : Duration ,
3738 // Taiko contracts
3839 pub taiko_anchor_address : Address ,
3940 pub taiko_bridge_address : Address ,
@@ -218,6 +219,12 @@ impl Config {
218219 . map_err ( |e| anyhow:: anyhow!( "RPC_DRIVER_STATUS_TIMEOUT_MS must be a number: {}" , e) ) ?;
219220 let rpc_driver_status_timeout = Duration :: from_millis ( rpc_driver_status_timeout) ;
220221
222+ let rpc_driver_retry_timeout = std:: env:: var ( "RPC_DRIVER_RETRY_TIMEOUT_MS" )
223+ . unwrap_or ( "1000" . to_string ( ) )
224+ . parse :: < u64 > ( )
225+ . map_err ( |e| anyhow:: anyhow!( "RPC_DRIVER_RETRY_TIMEOUT_MS must be a number: {}" , e) ) ?;
226+ let rpc_driver_retry_timeout = Duration :: from_millis ( rpc_driver_retry_timeout) ;
227+
221228 let rpc_l2_execution_layer_timeout = std:: env:: var ( "RPC_L2_EXECUTION_LAYER_TIMEOUT_MS" )
222229 . unwrap_or ( "1000" . to_string ( ) )
223230 . parse :: < u64 > ( )
@@ -467,6 +474,7 @@ impl Config {
467474 rpc_l2_execution_layer_timeout,
468475 rpc_driver_preconf_timeout,
469476 rpc_driver_status_timeout,
477+ rpc_driver_retry_timeout,
470478 taiko_anchor_address,
471479 taiko_bridge_address,
472480 max_bytes_size_of_batch,
@@ -520,6 +528,7 @@ jwt secret file path: {}
520528rpc L2 EL timeout: {}ms
521529rpc driver preconf timeout: {}ms
522530rpc driver status timeout: {}ms
531+ rpc driver retry timeout: {}ms
523532taiko anchor address: {}
524533taiko bridge address: {}
525534max bytes per tx list from taiko driver: {}
@@ -580,6 +589,7 @@ watchdog max counter: {}
580589 config. rpc_l2_execution_layer_timeout. as_millis( ) ,
581590 config. rpc_driver_preconf_timeout. as_millis( ) ,
582591 config. rpc_driver_status_timeout. as_millis( ) ,
592+ config. rpc_driver_retry_timeout. as_millis( ) ,
583593 config. taiko_anchor_address,
584594 config. taiko_bridge_address,
585595 config. max_bytes_per_tx_list,
0 commit comments