mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
rpc: rm useless alloy_rpc_types reexport (#11098)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
@ -23,6 +23,7 @@ reth-tracing.workspace = true
|
||||
alloy-consensus = { workspace = true, features = ["serde"] }
|
||||
alloy-eips.workspace = true
|
||||
alloy-provider = { workspace = true, features = ["ws"] }
|
||||
alloy-rpc-types.workspace = true
|
||||
|
||||
auto_impl.workspace = true
|
||||
futures.workspace = true
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
use alloy_consensus::TxEnvelope;
|
||||
use alloy_eips::eip2718::Encodable2718;
|
||||
use alloy_rpc_types::{Block, BlockTransactions};
|
||||
use reth_node_api::EngineTypes;
|
||||
use reth_node_core::{
|
||||
primitives::B256,
|
||||
rpc::types::{Block, BlockTransactions, ExecutionPayloadV2, ExecutionPayloadV3},
|
||||
rpc::types::{ExecutionPayloadV2, ExecutionPayloadV3},
|
||||
};
|
||||
use reth_rpc_builder::auth::AuthServerHandle;
|
||||
use reth_rpc_types::ExecutionPayloadV1;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use crate::BlockProvider;
|
||||
use alloy_eips::BlockNumberOrTag;
|
||||
use alloy_rpc_types::Block;
|
||||
use reqwest::Client;
|
||||
use reth_node_core::rpc::types::Block;
|
||||
use reth_tracing::tracing::warn;
|
||||
use serde::Deserialize;
|
||||
use std::time::Duration;
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
use crate::BlockProvider;
|
||||
use alloy_eips::BlockNumberOrTag;
|
||||
use alloy_provider::{Provider, ProviderBuilder};
|
||||
use alloy_rpc_types::{Block, BlockTransactionsKind};
|
||||
use futures::StreamExt;
|
||||
use reth_node_core::rpc::types::Block;
|
||||
use reth_rpc_types::BlockTransactionsKind;
|
||||
use tokio::sync::mpsc::Sender;
|
||||
|
||||
/// Block provider that fetches new blocks from an RPC endpoint using a websocket connection.
|
||||
|
||||
Reference in New Issue
Block a user