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:
@ -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
|
||||
|
||||
@ -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};
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user