Skip to content

Commit

Permalink
feat(metrics): format code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Feb 22, 2024
1 parent 854a102 commit 403fb52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion crates/provider/src/ethers/metrics_middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
5 changes: 2 additions & 3 deletions crates/provider/src/ethers/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 403fb52

Please sign in to comment.