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 {
92
92
) ]
93
93
pub tx_broadcast_urls : Vec < Cow < ' static , str > > ,
94
94
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
+
95
103
/// Address of the Zenith contract on Host.
96
104
#[ from_env( var = "ZENITH_ADDRESS" , desc = "address of the Zenith contract on Host" ) ]
97
105
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> {
32
32
. try_into ( )
33
33
. unwrap ( ) ,
34
34
tx_broadcast_urls : vec ! [ "http://localhost:9000" . into( ) ] ,
35
+ flashbots_endpoint : "http://localhost:9062" . parse ( ) . unwrap ( ) , // NB: Flashbots API default
35
36
zenith_address : Address :: default ( ) ,
36
37
quincey_url : "http://localhost:8080" . into ( ) ,
37
38
builder_port : 8080 ,
You can’t perform that action at this time.
0 commit comments