mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm more alloy_primitives reexports (#11255)
This commit is contained in:
@ -21,3 +21,4 @@ tokio-stream.workspace = true
|
||||
eyre.workspace = true
|
||||
rand.workspace = true
|
||||
tracing.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use super::protocol::proto::{CustomRlpxProtoMessage, CustomRlpxProtoMessageKind};
|
||||
use alloy_primitives::bytes::BytesMut;
|
||||
use futures::{Stream, StreamExt};
|
||||
use reth_eth_wire::multiplex::ProtocolConnection;
|
||||
use reth_primitives::BytesMut;
|
||||
use std::{
|
||||
pin::Pin,
|
||||
task::{ready, Context, Poll},
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
//! Simple RLPx Ping Pong protocol that also support sending messages,
|
||||
//! following [RLPx specs](https://github.com/ethereum/devp2p/blob/master/rlpx.md)
|
||||
|
||||
use alloy_primitives::bytes::{Buf, BufMut, BytesMut};
|
||||
use reth_eth_wire::{protocol::Protocol, Capability};
|
||||
use reth_primitives::{Buf, BufMut, BytesMut};
|
||||
|
||||
#[repr(u8)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user