chore: reorder super (#12380)

This commit is contained in:
Matthias Seitz
2024-11-07 16:42:37 +01:00
committed by GitHub
parent 190a1d8bb4
commit cf095a7536
11 changed files with 15 additions and 30 deletions

View File

@ -477,11 +477,9 @@ impl BootNode {
#[cfg(test)]
mod test {
use std::net::SocketAddrV4;
use alloy_primitives::hex;
use super::*;
use alloy_primitives::hex;
use std::net::SocketAddrV4;
const MULTI_ADDRESSES: &str = "/ip4/184.72.129.189/udp/30301/p2p/16Uiu2HAmSG2hdLwyQHQmG4bcJBgD64xnW63WMTLcrNq6KoZREfGb,/ip4/3.231.11.52/udp/30301/p2p/16Uiu2HAmMy4V8bi3XP7KDfSLQcLACSvTLroRRwEsTyFUKo8NCkkp,/ip4/54.198.153.150/udp/30301/p2p/16Uiu2HAmSVsb7MbRf1jg3Dvd6a3n5YNqKQwn1fqHCFgnbqCsFZKe,/ip4/3.220.145.177/udp/30301/p2p/16Uiu2HAm74pBDGdQ84XCZK27GRQbGFFwQ7RsSqsPwcGmCR3Cwn3B,/ip4/3.231.138.188/udp/30301/p2p/16Uiu2HAmMnTiJwgFtSVGV14ZNpwAvS1LUoF4pWWeNtURuV6C3zYB";
const BOOT_NODES_OP_MAINNET_AND_BASE_MAINNET: &[&str] = &[

View File

@ -89,13 +89,11 @@ impl MustNotIncludeKeys {
#[cfg(test)]
mod tests {
use super::*;
use crate::NetworkStackId;
use alloy_rlp::Bytes;
use discv5::enr::{CombinedKey, Enr};
use crate::NetworkStackId;
use super::*;
#[test]
fn must_not_include_key_filter() {
// rig test