rpc: rm useless alloy_rpc_types reexport (#11098)

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
Thomas Coratger
2024-09-22 16:29:35 +02:00
committed by GitHub
parent 63dfa9a4dc
commit 159bf2cf16
70 changed files with 133 additions and 115 deletions

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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.