File tree Expand file tree Collapse file tree
apollo_consensus_orchestrator/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ pub(crate) enum BuildProposalError {
9393 RetrospectiveBlockHashError ( #[ from] RetrospectiveBlockHashError ) ,
9494 #[ error( "Failed to send proposal part: {0}" ) ]
9595 SendError ( String ) ,
96- #[ error( "EthToStrkOracle error: {0}" ) ]
97- EthToStrkOracle ( #[ from] PriceOracleClientError ) ,
96+ #[ error( "PriceOracle error: {0}" ) ]
97+ PriceOracle ( #[ from] PriceOracleClientError ) ,
9898 #[ error( "L1GasPriceProvider error: {0}" ) ]
9999 L1GasPriceProvider ( #[ from] L1GasPriceClientError ) ,
100100 #[ error( "Proposal interrupted." ) ]
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ pub(crate) enum ValidateProposalError {
110110 // Consensus may exit early (e.g. sync).
111111 #[ error( "Failed to send commitment to consensus: {0}" ) ]
112112 SendError ( ProposalCommitment ) ,
113- #[ error( "EthToStrkOracle error: {0}" ) ]
114- EthToStrkOracle ( #[ from] PriceOracleClientError ) ,
113+ #[ error( "PriceOracle error: {0}" ) ]
114+ PriceOracle ( #[ from] PriceOracleClientError ) ,
115115 #[ error( "L1GasPriceProvider error: {0}" ) ]
116116 L1GasPriceProvider ( #[ from] L1GasPriceClientError ) ,
117117 #[ error( "ProposalInit conversion error: {0}" ) ]
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ pub struct PriceOracleClient {
7070impl PriceOracleClient {
7171 pub fn new ( config : PriceOracleConfig ) -> Self {
7272 info ! (
73- "Creating EthToStrkOracleClient with: urls={:?} lag_interval_seconds={}" ,
73+ "Creating PriceOracleClient with: urls={:?} lag_interval_seconds={}" ,
7474 config. url_header_list, config. lag_interval_seconds
7575 ) ;
7676 register_eth_to_strk_metrics ( ) ;
You can’t perform that action at this time.
0 commit comments