mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove reth-rpc-types import (#11125)
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -2723,7 +2723,6 @@ dependencies = [
|
||||
"reth-node-ethereum",
|
||||
"reth-payload-builder",
|
||||
"reth-primitives",
|
||||
"reth-rpc-types",
|
||||
"reth-tracing",
|
||||
"serde",
|
||||
"thiserror",
|
||||
@ -6366,7 +6365,6 @@ dependencies = [
|
||||
"reth-node-api",
|
||||
"reth-node-core",
|
||||
"reth-primitives",
|
||||
"reth-rpc-types",
|
||||
"reth-rpc-types-compat",
|
||||
"reth-tracing",
|
||||
"serde",
|
||||
@ -6917,7 +6915,6 @@ dependencies = [
|
||||
"reth-provider",
|
||||
"reth-rpc",
|
||||
"reth-rpc-layer",
|
||||
"reth-rpc-types",
|
||||
"reth-rpc-types-compat",
|
||||
"reth-stages-types",
|
||||
"reth-tokio-util",
|
||||
|
||||
@ -18,7 +18,6 @@ reth-cli-runner.workspace = true
|
||||
reth-cli-util.workspace = true
|
||||
reth-node-core.workspace = true
|
||||
reth-node-api.workspace = true
|
||||
reth-rpc-types.workspace = true
|
||||
reth-rpc-types-compat.workspace = true
|
||||
reth-primitives = { workspace = true, features = ["alloy-compat"] }
|
||||
reth-tracing.workspace = true
|
||||
|
||||
@ -4,12 +4,12 @@
|
||||
|
||||
use alloy_provider::{ext::EngineApi, Network};
|
||||
use alloy_rpc_types_engine::{
|
||||
ExecutionPayloadInputV2, ForkchoiceState, ForkchoiceUpdated, PayloadAttributes, PayloadStatus,
|
||||
ExecutionPayload, ExecutionPayloadInputV2, ExecutionPayloadV1, ExecutionPayloadV3,
|
||||
ForkchoiceState, ForkchoiceUpdated, PayloadAttributes, PayloadStatus,
|
||||
};
|
||||
use alloy_transport::{Transport, TransportResult};
|
||||
use reth_node_api::EngineApiMessageVersion;
|
||||
use reth_primitives::B256;
|
||||
use reth_rpc_types::{ExecutionPayload, ExecutionPayloadV1, ExecutionPayloadV3};
|
||||
use tracing::error;
|
||||
|
||||
/// An extension trait for providers that implement the engine API, to wait for a VALID response.
|
||||
|
||||
@ -26,7 +26,6 @@ reth-tokio-util.workspace = true
|
||||
reth-stages-types.workspace = true
|
||||
reth-network-peers.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
reth-rpc-types.workspace = true
|
||||
reth-rpc-types-compat.workspace = true
|
||||
|
||||
# rpc
|
||||
|
||||
@ -8,7 +8,6 @@ license.workspace = true
|
||||
[dependencies]
|
||||
reth.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
reth-rpc-types.workspace = true
|
||||
reth-node-api.workspace = true
|
||||
reth-node-core.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
@ -18,7 +17,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
|
||||
alloy-rpc-types = { workspace = true, features = ["engine"] }
|
||||
|
||||
eyre.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -23,7 +23,13 @@ use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
|
||||
use alloy_genesis::Genesis;
|
||||
use alloy_rpc_types::Withdrawal;
|
||||
use alloy_rpc_types::{
|
||||
engine::{
|
||||
ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4,
|
||||
ExecutionPayloadV1, PayloadAttributes as EthPayloadAttributes, PayloadId,
|
||||
},
|
||||
Withdrawal,
|
||||
};
|
||||
use reth::{
|
||||
api::PayloadTypes,
|
||||
builder::{
|
||||
@ -57,13 +63,6 @@ use reth_payload_builder::{
|
||||
PayloadBuilderService,
|
||||
};
|
||||
use reth_primitives::{Address, Withdrawals, B256};
|
||||
use reth_rpc_types::{
|
||||
engine::{
|
||||
ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4,
|
||||
PayloadAttributes as EthPayloadAttributes, PayloadId,
|
||||
},
|
||||
ExecutionPayloadV1,
|
||||
};
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
|
||||
/// A custom payload attributes type.
|
||||
|
||||
Reference in New Issue
Block a user