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

@ -18,6 +18,7 @@ reth-ethereum-payload-builder.workspace = true
reth-node-ethereum = { workspace = true, features = ["test-utils"] }
reth-tracing.workspace = true
alloy-genesis.workspace = true
alloy-rpc-types.workspace = true
eyre.workspace = true
tokio.workspace = true

View File

@ -23,6 +23,7 @@ use serde::{Deserialize, Serialize};
use thiserror::Error;
use alloy_genesis::Genesis;
use alloy_rpc_types::Withdrawal;
use reth::{
api::PayloadTypes,
builder::{
@ -61,7 +62,7 @@ use reth_rpc_types::{
ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4,
PayloadAttributes as EthPayloadAttributes, PayloadId,
},
ExecutionPayloadV1, Withdrawal,
ExecutionPayloadV1,
};
use reth_tracing::{RethTracer, Tracer};

View File

@ -9,5 +9,6 @@ license.workspace = true
reth.workspace = true
reth-node-ethereum.workspace = true
reth-rpc-types.workspace = true
alloy-rpc-types.workspace = true
clap = { workspace = true, features = ["derive"] }
futures-util.workspace = true

View File

@ -10,6 +10,7 @@
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
use alloy_rpc_types::state::EvmOverrides;
use clap::Parser;
use futures_util::StreamExt;
use reth::{
@ -26,7 +27,6 @@ use reth::{
transaction_pool::TransactionPool,
};
use reth_node_ethereum::node::EthereumNode;
use reth_rpc_types::state::EvmOverrides;
fn main() {
Cli::<DefaultChainSpecParser, RethCliTxpoolExt>::parse()

View File

@ -15,5 +15,7 @@ reth-rpc-types.workspace = true
reth-node-ethereum.workspace = true
reth-node-types.workspace = true
alloy-rpc-types.workspace = true
eyre.workspace = true

View File

@ -1,3 +1,4 @@
use alloy_rpc_types::{Filter, FilteredParams};
use reth_chainspec::ChainSpecBuilder;
use reth_node_ethereum::EthereumNode;
use reth_node_types::NodeTypesWithDBAdapter;
@ -6,7 +7,6 @@ use reth_provider::{
providers::StaticFileProvider, AccountReader, BlockReader, BlockSource, HeaderProvider,
ProviderFactory, ReceiptProvider, StateProvider, TransactionsProvider,
};
use reth_rpc_types::{Filter, FilteredParams};
use std::path::Path;
// Providers are zero cost abstractions on top of an opened MDBX Transaction