File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ pub struct BuilderConfig {
9595 desc = "Flashbots endpoint for privately submitting rollup blocks" ,
9696 optional
9797 ) ]
98- pub flashbots_endpoint : url:: Url ,
98+ pub flashbots_endpoint : Option < url:: Url > ,
9999
100100 /// Address of the Zenith contract on Host.
101101 #[ from_env( var = "ZENITH_ADDRESS" , desc = "address of the Zenith contract on Host" ) ]
Original file line number Diff line number Diff line change @@ -32,7 +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
35+ flashbots_endpoint : Some ( "http://localhost:9062" . parse ( ) . unwrap ( ) ) , // NB: Flashbots API default
3636 zenith_address : Address :: default ( ) ,
3737 quincey_url : "http://localhost:8080" . into ( ) ,
3838 builder_port : 8080 ,
You can’t perform that action at this time.
0 commit comments