mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
primitives: rm more alloy_primitives reexports (#11325)
This commit is contained in:
@ -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)]
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user