Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Aug 28, 2024
1 parent 08ad0c1 commit 3d68e30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 0 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions bin/hera/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

use alloy::primitives::address;
use clap::{ArgAction, Parser};
use clap::Parser;
use eyre::Result;
use op_net::driver::NetworkDriver;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
use tracing::Level;

/// The default L2 chain ID to use. This corresponds to OP Mainnet.
pub const DEFAULT_L2_CHAIN_ID: u64 = 10;
Expand Down Expand Up @@ -54,4 +53,4 @@ async fn main() -> Result<()> {
}
}
}
}
}
5 changes: 4 additions & 1 deletion crates/net/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
use alloy::primitives::Address;
use eyre::Result;
use std::{net::{IpAddr, SocketAddr}, time::Duration};
use std::{
net::{IpAddr, SocketAddr},
time::Duration,
};
use tokio::sync::watch::channel;

use libp2p::{
Expand Down

0 comments on commit 3d68e30

Please sign in to comment.