feat(network): move test helpers to test-utils mod (#901)

This commit is contained in:
Dan Cline
2023-01-17 05:18:53 -05:00
committed by GitHub
parent 79fad91ca0
commit 55d1db0c1d
9 changed files with 560 additions and 82 deletions

View File

@ -1,13 +1,12 @@
//! Tests for eth related requests
use super::testnet::Testnet;
use crate::NetworkEventStream;
use rand::Rng;
use reth_eth_wire::BlockBody;
use reth_interfaces::p2p::{
bodies::client::BodiesClient,
headers::client::{HeadersClient, HeadersRequest},
};
use reth_network::test_utils::{NetworkEventStream, Testnet};
use reth_network_api::NetworkInfo;
use reth_primitives::{
Block, Bytes, Header, HeadersDirection, Signature, Transaction, TransactionKind,