chore: move block body to primitives (#1874)

This commit is contained in:
Dan Cline
2023-03-21 00:14:23 -04:00
committed by GitHub
parent aaf73fd679
commit b28c40223e
20 changed files with 56 additions and 68 deletions

View File

@ -1,7 +1,6 @@
//! Tests for eth related requests
use rand::Rng;
use reth_eth_wire::BlockBody;
use reth_interfaces::p2p::{
bodies::client::BodiesClient,
headers::client::{HeadersClient, HeadersRequest},
@ -9,7 +8,7 @@ use reth_interfaces::p2p::{
use reth_network::test_utils::{NetworkEventStream, Testnet};
use reth_network_api::{NetworkInfo, Peers};
use reth_primitives::{
Block, Bytes, Header, HeadersDirection, Signature, Transaction, TransactionKind,
Block, BlockBody, Bytes, Header, HeadersDirection, Signature, Transaction, TransactionKind,
TransactionSigned, TxEip2930, H256, U256,
};
use reth_provider::test_utils::MockEthProvider;