Skip to content

Commit 48ea8d5

Browse files
committed
wrap flashbots url in option
1 parent 329ff1b commit 48ea8d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")]

src/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)