diff --git a/bolt-sidecar/src/config/mod.rs b/bolt-sidecar/src/config/mod.rs index 1b1f6686e..6a3012185 100644 --- a/bolt-sidecar/src/config/mod.rs +++ b/bolt-sidecar/src/config/mod.rs @@ -111,7 +111,7 @@ pub struct Config { /// The engine API url pub engine_api_url: Url, /// URL for the commit-boost sidecar - pub commit_boost_address: Option, + pub commit_boost_url: Option, /// The JWT secret token to authenticate calls to the commit-boost pub commit_boost_jwt_hex: Option, /// Private key to use for signing preconfirmation requests @@ -141,7 +141,7 @@ impl Default for Config { Self { rpc_port: DEFAULT_RPC_PORT, constraints_proxy_port: DEFAULT_CONSTRAINTS_PROXY_PORT, - commit_boost_address: None, + commit_boost_url: None, commit_boost_jwt_hex: None, constraints_url: "http://localhost:3030".parse().expect("Valid URL"), beacon_api_url: "http://localhost:5052".parse().expect("Valid URL"), @@ -216,7 +216,7 @@ impl TryFrom for Config { if let Some(commit_boost_url) = &opts.signing.commit_boost_url { if let Ok(url) = Url::parse(commit_boost_url) { if let Ok(socket_addrs) = url.socket_addrs(|| None) { - config.commit_boost_address = Some(socket_addrs[0].to_string()); + config.commit_boost_url = Some(socket_addrs[0].to_string()); } } } diff --git a/bolt-sidecar/src/driver.rs b/bolt-sidecar/src/driver.rs index 1ebea0e4e..6d9d1daae 100644 --- a/bolt-sidecar/src/driver.rs +++ b/bolt-sidecar/src/driver.rs @@ -82,7 +82,7 @@ impl SidecarDriver { let state_client = StateClient::new(cfg.execution_api_url.clone()); let commit_boost_signer = CommitBoostSigner::new( - cfg.commit_boost_address.clone().expect("CommitBoost URL must be provided"), + cfg.commit_boost_url.clone().expect("CommitBoost URL must be provided"), &cfg.commit_boost_jwt_hex.clone().expect("CommitBoost JWT must be provided"), ) .await?;