Skip to content

Commit 99232e3

Browse files
committed
fmt
1 parent f29f777 commit 99232e3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/auth_layer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// From reth_rpc_layer
22
use alloy_rpc_types_engine::{Claims, JwtSecret};
3-
use http::{header::AUTHORIZATION, HeaderValue};
3+
use http::{HeaderValue, header::AUTHORIZATION};
44
use std::{
55
task::{Context, Poll},
66
time::{Duration, SystemTime, UNIX_EPOCH},

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use alloy_rpc_types_engine::{
66
ExecutionPayload, ExecutionPayloadV3, ForkchoiceState, ForkchoiceUpdated, JwtError, JwtSecret,
77
PayloadId, PayloadStatus,
88
};
9-
use clap::{arg, Parser};
9+
use clap::{Parser, arg};
1010
use http::{StatusCode, Uri};
1111
use jsonrpsee::core::{ClientError, RpcResult};
1212
use jsonrpsee::http_client::transport::HttpBackend;

src/integration/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ use alloy_rpc_types_engine::{
99
ExecutionPayloadV3, ForkchoiceState, ForkchoiceUpdated, PayloadAttributes, PayloadId,
1010
PayloadStatus, PayloadStatusEnum,
1111
};
12-
use jsonrpsee::http_client::{transport::HttpBackend, HttpClient};
12+
use jsonrpsee::http_client::{HttpClient, transport::HttpBackend};
1313
use jsonrpsee::proc_macros::rpc;
1414
use lazy_static::lazy_static;
1515
use op_alloy_rpc_types_engine::{OpExecutionPayloadEnvelopeV3, OpPayloadAttributes};
16-
use proxy::{start_proxy_server, DynHandlerFn};
16+
use proxy::{DynHandlerFn, start_proxy_server};
1717
use serde_json::Value;
1818
use std::collections::{HashMap, HashSet};
1919
use std::path::{Path, PathBuf};
@@ -28,7 +28,7 @@ use std::{
2828
time::{Duration, SystemTime},
2929
};
3030
use thiserror::Error;
31-
use time::{format_description, OffsetDateTime};
31+
use time::{OffsetDateTime, format_description};
3232

3333
/// Default JWT token for testing purposes
3434
pub const DEFAULT_JWT_TOKEN: &str =
@@ -551,7 +551,7 @@ pub struct RollupBoostTestHarness {
551551
/// Test node P2P configuration (private_key, enode_address)
552552
pub const TEST_NODE_P2P_ADDR: (&str, &str) = (
553553
"a11ac89899cd86e36b6fb881ec1255b8a92a688790b7d950f8b7d8dd626671fb",
554-
"3479db4d9217fb5d7a8ed4d61ac36e120b05d36c2eefb795dc42ff2e971f251a2315f5649ea1833271e020b9adc98d5db9973c7ed92d6b2f1f2223088c3d852f"
554+
"3479db4d9217fb5d7a8ed4d61ac36e120b05d36c2eefb795dc42ff2e971f251a2315f5649ea1833271e020b9adc98d5db9973c7ed92d6b2f1f2223088c3d852f",
555555
);
556556

557557
const PROXY_START_PORT: u16 = 4444;

src/integration/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use bytes::Bytes;
22
use http::header;
3-
use http_body_util::{combinators::BoxBody, BodyExt, Full};
3+
use http_body_util::{BodyExt, Full, combinators::BoxBody};
44
use hyper::client::conn::http1::Builder;
55
use hyper::server::conn::http1;
66
use hyper::service::service_fn;

src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::time::Duration;
22

3-
use metrics::{counter, histogram, Counter, Histogram};
3+
use metrics::{Counter, Histogram, counter, histogram};
44
use metrics_derive::Metrics;
55

66
use crate::server::PayloadSource;

0 commit comments

Comments
 (0)