diff --git a/crates/provider/src/ethers/metrics_middleware.rs b/crates/provider/src/ethers/metrics_middleware.rs index 01205f2d3..9cb62d065 100644 --- a/crates/provider/src/ethers/metrics_middleware.rs +++ b/crates/provider/src/ethers/metrics_middleware.rs @@ -16,7 +16,6 @@ use std::time::Duration; use async_trait::async_trait; use ethers::providers::{HttpClientError, JsonRpcClient}; - use metrics::histogram; use reqwest::StatusCode; use serde::{de::DeserializeOwned, Serialize}; diff --git a/crates/provider/src/ethers/provider.rs b/crates/provider/src/ethers/provider.rs index 43fa1d834..893654f73 100644 --- a/crates/provider/src/ethers/provider.rs +++ b/crates/provider/src/ethers/provider.rs @@ -11,7 +11,6 @@ // You should have received a copy of the GNU General Public License along with Rundler. // If not, see https://www.gnu.org/licenses/. -use reqwest::Url; use std::{fmt::Debug, sync::Arc, time::Duration}; use anyhow::Context; @@ -29,6 +28,7 @@ use ethers::{ H256, U256, U64, }, }; +use reqwest::Url; use rundler_types::{ contracts::{ gas_price_oracle::GasPriceOracle, i_aggregator::IAggregator, i_entry_point::IEntryPoint, @@ -38,9 +38,8 @@ use rundler_types::{ }; use serde::{de::DeserializeOwned, Serialize}; -use crate::{AggregatorOut, AggregatorSimOut, Provider, ProviderError, ProviderResult}; - use super::metrics_middleware::MetricsMiddleware; +use crate::{AggregatorOut, AggregatorSimOut, Provider, ProviderError, ProviderResult}; const ARBITRUM_NITRO_NODE_INTERFACE_ADDRESS: Address = H160([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xc8,