primitives: rm more alloy_primitives reexports (#11325)

This commit is contained in:
Thomas Coratger
2024-09-30 03:06:47 +02:00
committed by GitHub
parent ea1d04aa75
commit e21d75f9aa
53 changed files with 114 additions and 136 deletions

View File

@ -26,9 +26,8 @@ use crate::multiplex::proto::{PingPongProtoMessage, PingPongProtoMessageKind};
/// A simple Rlpx subprotocol that sends pings and pongs
mod proto {
use super::*;
use alloy_primitives::bytes::BufMut;
use alloy_primitives::bytes::{Buf, BufMut};
use reth_eth_wire::Capability;
use reth_primitives::Buf;
#[repr(u8)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]

View File

@ -4,7 +4,7 @@
use std::sync::Arc;
use alloy_consensus::TxEip2930;
use alloy_primitives::{Bytes, TxKind, U256};
use alloy_primitives::{Bytes, Parity, TxKind, U256};
use rand::Rng;
use reth_eth_wire::HeadersDirection;
use reth_network::{
@ -16,9 +16,7 @@ use reth_network_p2p::{
bodies::client::BodiesClient,
headers::client::{HeadersClient, HeadersRequest},
};
use reth_primitives::{
alloy_primitives::Parity, Block, Header, Signature, Transaction, TransactionSigned,
};
use reth_primitives::{Block, Header, Signature, Transaction, TransactionSigned};
use reth_provider::test_utils::MockEthProvider;
/// Returns a new [`TransactionSigned`] with some random parameters