File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ pub struct BuilderConfig {
9292    ) ]  
9393    pub  tx_broadcast_urls :  Vec < Cow < ' static ,  str > > , 
9494
95+     /// Flashbots endpoint for privately submitting rollup blocks. 
96+ #[ from_env(  
97+         var = "FLASHBOTS_ENDPOINT" ,  
98+         desc = "Flashbots endpoint for privately submitting rollup blocks" ,  
99+         optional 
100+     ) ]  
101+     pub  flashbots_endpoint :  url:: Url , 
102+ 
95103    /// Address of the Zenith contract on Host. 
96104#[ from_env( var = "ZENITH_ADDRESS" ,  desc = "address of the Zenith contract on Host" ) ]  
97105    pub  zenith_address :  Address , 
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ pub fn setup_test_config() -> Result<BuilderConfig> {
3232            . try_into ( ) 
3333            . unwrap ( ) , 
3434        tx_broadcast_urls :  vec ! [ "http://localhost:9000" . into( ) ] , 
35+         flashbots_endpoint :  "http://localhost:9062" . parse ( ) . unwrap ( ) ,  // NB: Flashbots API default  
3536        zenith_address :  Address :: default ( ) , 
3637        quincey_url :  "http://localhost:8080" . into ( ) , 
3738        builder_port :  8080 , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments