chore: fix some warnings (#7515)

This commit is contained in:
DaniPopes
2024-04-08 20:10:10 +02:00
committed by GitHub
parent 6a104cc174
commit 3826772886
23 changed files with 25 additions and 137 deletions

View File

@ -41,7 +41,6 @@ serde_with = { version = "3.3.0", optional = true }
[dev-dependencies]
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread"] }
reth-tracing.workspace = true
alloy-chains.workspace = true
[features]
default = ["serde"]

View File

@ -412,10 +412,9 @@ fn convert_enr_node_record(enr: &Enr<SecretKey>) -> Option<DnsNodeRecordUpdate>
mod tests {
use super::*;
use crate::tree::TreeRootEntry;
use alloy_chains::Chain;
use alloy_rlp::Encodable;
use enr::EnrKey;
use reth_primitives::{Hardfork, MAINNET};
use reth_primitives::{Chain, Hardfork, MAINNET};
use secp256k1::rand::thread_rng;
use std::{future::poll_fn, net::Ipv4Addr};