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 @@ -89,6 +89,14 @@ pub struct BuilderConfig {
8989 ) ]
9090 pub tx_broadcast_urls : Vec < Cow < ' static , str > > ,
9191
92+ /// Flashbots endpoint for privately submitting rollup blocks.
93+ #[ from_env(
94+ var = "FLASHBOTS_ENDPOINT" ,
95+ desc = "Flashbots endpoint for privately submitting rollup blocks" ,
96+ optional
97+ ) ]
98+ pub flashbots_endpoint : url:: Url ,
99+
92100 /// Address of the Zenith contract on Host.
93101 #[ from_env( var = "ZENITH_ADDRESS" , desc = "address of the Zenith contract on Host" ) ]
94102 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