Skip to content

Commit 5a83e69

Browse files
apollo_l1_gas_price: rename eth_to_strk_oracle.rs to price_oracle.rs
1 parent 6e03598 commit 5a83e69

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/apollo_l1_gas_price/src/eth_to_strk_oracle_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde_json::json;
99
use tokio::{self};
1010
use url::Url;
1111

12-
use crate::eth_to_strk_oracle::{PriceOracleClient, PriceOracleConfig};
12+
use crate::price_oracle::{PriceOracleClient, PriceOracleConfig};
1313

1414
async fn make_server(server: &mut ServerGuard, body: serde_json::Value) -> Mock {
1515
server

crates/apollo_l1_gas_price/src/l1_gas_price_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ use async_trait::async_trait;
1616
use starknet_api::block::BlockTimestamp;
1717
use tracing::{info, trace, warn};
1818

19-
use crate::eth_to_strk_oracle::PriceOracleClient;
2019
use crate::metrics::{
2120
register_provider_metrics,
2221
L1_DATA_GAS_PRICE_LATEST_MEAN_VALUE,
2322
L1_GAS_PRICE_LATEST_MEAN_VALUE,
2423
L1_GAS_PRICE_PROVIDER_INSUFFICIENT_HISTORY,
2524
};
25+
use crate::price_oracle::PriceOracleClient;
2626

2727
#[cfg(test)]
2828
#[path = "l1_gas_price_provider_test.rs"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pub mod communication;
2-
pub mod eth_to_strk_oracle;
32
pub mod l1_gas_price_provider;
43
pub mod l1_gas_price_scraper;
54
pub mod metrics;
5+
pub mod price_oracle;
File renamed without changes.

0 commit comments

Comments
 (0)