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 (#11222)
This commit is contained in:
@ -18,6 +18,7 @@ reth-node-ethereum = { workspace = true, features = ["test-utils"] }
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
alloy-rpc-types = { workspace = true, features = ["engine"] }
|
||||
alloy-primitives.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_primitives::Address;
|
||||
use alloy_rpc_types::{
|
||||
engine::{
|
||||
ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4,
|
||||
@ -63,7 +64,7 @@ use reth_payload_builder::{
|
||||
EthBuiltPayload, EthPayloadBuilderAttributes, PayloadBuilderError, PayloadBuilderHandle,
|
||||
PayloadBuilderService,
|
||||
};
|
||||
use reth_primitives::{Address, Withdrawals, B256};
|
||||
use reth_primitives::{Withdrawals, B256};
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
|
||||
/// A custom payload attributes type.
|
||||
|
||||
@ -15,6 +15,7 @@ reth-primitives.workspace = true
|
||||
reth-node-ethereum = { workspace = true, features = ["test-utils"] }
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
eyre.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_primitives::Address;
|
||||
use reth::{
|
||||
builder::{
|
||||
components::{ExecutorBuilder, PayloadServiceBuilder},
|
||||
@ -38,7 +39,7 @@ use reth_node_ethereum::{
|
||||
};
|
||||
use reth_primitives::{
|
||||
revm_primitives::{CfgEnvWithHandlerCfg, TxEnv},
|
||||
Address, Header, TransactionSigned, U256,
|
||||
Header, TransactionSigned, U256,
|
||||
};
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
use std::sync::Arc;
|
||||
|
||||
@ -12,3 +12,4 @@ reth-rpc-types.workspace = true
|
||||
alloy-rpc-types.workspace = true
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
futures-util.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_primitives::Address;
|
||||
use alloy_rpc_types::state::EvmOverrides;
|
||||
use clap::Parser;
|
||||
use futures_util::StreamExt;
|
||||
@ -17,7 +18,7 @@ use reth::{
|
||||
args::utils::DefaultChainSpecParser,
|
||||
builder::NodeHandle,
|
||||
cli::Cli,
|
||||
primitives::{Address, BlockNumberOrTag},
|
||||
primitives::BlockNumberOrTag,
|
||||
revm::{
|
||||
inspector_handle_register,
|
||||
interpreter::{Interpreter, OpCode},
|
||||
|
||||
@ -16,6 +16,7 @@ reth-node-ethereum.workspace = true
|
||||
reth-node-types.workspace = true
|
||||
|
||||
alloy-rpc-types.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
|
||||
eyre.workspace = true
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
use alloy_primitives::Address;
|
||||
use alloy_rpc_types::{Filter, FilteredParams};
|
||||
use reth_chainspec::ChainSpecBuilder;
|
||||
use reth_node_ethereum::EthereumNode;
|
||||
use reth_node_types::NodeTypesWithDBAdapter;
|
||||
use reth_primitives::{alloy_primitives::Sealable, Address, SealedHeader, B256};
|
||||
use reth_primitives::{alloy_primitives::Sealable, SealedHeader, B256};
|
||||
use reth_provider::{
|
||||
providers::StaticFileProvider, AccountReader, BlockReader, BlockSource, HeaderProvider,
|
||||
ProviderFactory, ReceiptProvider, StateProvider, TransactionsProvider,
|
||||
|
||||
@ -14,6 +14,7 @@ reth-primitives.workspace = true
|
||||
reth-node-ethereum = { workspace = true, features = ["test-utils"] }
|
||||
reth-tracing.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
eyre.workspace = true
|
||||
parking_lot.workspace = true
|
||||
|
||||
@ -3,13 +3,14 @@
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_primitives::Address;
|
||||
use parking_lot::RwLock;
|
||||
use reth::{
|
||||
api::NextBlockEnvAttributes,
|
||||
builder::{components::ExecutorBuilder, BuilderContext, NodeBuilder},
|
||||
primitives::{
|
||||
revm_primitives::{BlockEnv, CfgEnvWithHandlerCfg, Env, PrecompileResult, TxEnv},
|
||||
Address, Bytes, U256,
|
||||
Bytes, U256,
|
||||
},
|
||||
revm::{
|
||||
handler::register::EvmHandler,
|
||||
|
||||
@ -11,3 +11,4 @@ reth-node-ethereum.workspace = true
|
||||
alloy-rpc-types-trace.workspace = true
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
futures-util.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -10,11 +10,12 @@
|
||||
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
use alloy_primitives::Address;
|
||||
use alloy_rpc_types_trace::{parity::TraceType, tracerequest::TraceCallRequest};
|
||||
use clap::Parser;
|
||||
use futures_util::StreamExt;
|
||||
use reth::{
|
||||
args::utils::DefaultChainSpecParser, builder::NodeHandle, cli::Cli, primitives::Address,
|
||||
args::utils::DefaultChainSpecParser, builder::NodeHandle, cli::Cli,
|
||||
rpc::compat::transaction::transaction_to_call_request, transaction_pool::TransactionPool,
|
||||
};
|
||||
use reth_node_ethereum::node::EthereumNode;
|
||||
|
||||
Reference in New Issue
Block a user