diff --git a/crates/apollo_consensus_orchestrator/src/build_proposal.rs b/crates/apollo_consensus_orchestrator/src/build_proposal.rs index 7881c31dbf8..f73c1198082 100644 --- a/crates/apollo_consensus_orchestrator/src/build_proposal.rs +++ b/crates/apollo_consensus_orchestrator/src/build_proposal.rs @@ -93,8 +93,8 @@ pub(crate) enum BuildProposalError { RetrospectiveBlockHashError(#[from] RetrospectiveBlockHashError), #[error("Failed to send proposal part: {0}")] SendError(String), - #[error("EthToStrkOracle error: {0}")] - EthToStrkOracle(#[from] PriceOracleClientError), + #[error("PriceOracle error: {0}")] + PriceOracle(#[from] PriceOracleClientError), #[error("L1GasPriceProvider error: {0}")] L1GasPriceProvider(#[from] L1GasPriceClientError), #[error("Proposal interrupted.")] diff --git a/crates/apollo_consensus_orchestrator/src/validate_proposal.rs b/crates/apollo_consensus_orchestrator/src/validate_proposal.rs index e806465ae9e..f885e5f8ae1 100644 --- a/crates/apollo_consensus_orchestrator/src/validate_proposal.rs +++ b/crates/apollo_consensus_orchestrator/src/validate_proposal.rs @@ -110,8 +110,8 @@ pub(crate) enum ValidateProposalError { // Consensus may exit early (e.g. sync). #[error("Failed to send commitment to consensus: {0}")] SendError(ProposalCommitment), - #[error("EthToStrkOracle error: {0}")] - EthToStrkOracle(#[from] PriceOracleClientError), + #[error("PriceOracle error: {0}")] + PriceOracle(#[from] PriceOracleClientError), #[error("L1GasPriceProvider error: {0}")] L1GasPriceProvider(#[from] L1GasPriceClientError), #[error("ProposalInit conversion error: {0}")] diff --git a/crates/apollo_l1_gas_price/src/price_oracle.rs b/crates/apollo_l1_gas_price/src/price_oracle.rs index 7a45afff86f..6aac25e5db3 100644 --- a/crates/apollo_l1_gas_price/src/price_oracle.rs +++ b/crates/apollo_l1_gas_price/src/price_oracle.rs @@ -70,7 +70,7 @@ pub struct PriceOracleClient { impl PriceOracleClient { pub fn new(config: PriceOracleConfig) -> Self { info!( - "Creating EthToStrkOracleClient with: urls={:?} lag_interval_seconds={}", + "Creating PriceOracleClient with: urls={:?} lag_interval_seconds={}", config.url_header_list, config.lag_interval_seconds ); register_eth_to_strk_metrics();