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 (#11255)
This commit is contained in:
@ -36,6 +36,7 @@ alloy-pubsub.workspace = true
|
||||
alloy-json-rpc.workspace = true
|
||||
alloy-rpc-client.workspace = true
|
||||
alloy-eips.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# reqwest
|
||||
reqwest = { workspace = true, default-features = false, features = [
|
||||
|
||||
@ -11,13 +11,14 @@ use crate::{
|
||||
},
|
||||
valid_payload::{call_forkchoice_updated, call_new_payload},
|
||||
};
|
||||
use alloy_primitives::B256;
|
||||
use alloy_provider::Provider;
|
||||
use alloy_rpc_types_engine::ForkchoiceState;
|
||||
use clap::Parser;
|
||||
use csv::Writer;
|
||||
use reth_cli_runner::CliContext;
|
||||
use reth_node_core::args::BenchmarkArgs;
|
||||
use reth_primitives::{Block, B256};
|
||||
use reth_primitives::Block;
|
||||
use reth_rpc_types_compat::engine::payload::block_to_payload;
|
||||
use std::time::Instant;
|
||||
use tracing::{debug, info};
|
||||
|
||||
@ -10,12 +10,13 @@ use crate::{
|
||||
},
|
||||
valid_payload::call_new_payload,
|
||||
};
|
||||
use alloy_primitives::B256;
|
||||
use alloy_provider::Provider;
|
||||
use clap::Parser;
|
||||
use csv::Writer;
|
||||
use reth_cli_runner::CliContext;
|
||||
use reth_node_core::args::BenchmarkArgs;
|
||||
use reth_primitives::{Block, B256};
|
||||
use reth_primitives::Block;
|
||||
use reth_rpc_types_compat::engine::payload::block_to_payload;
|
||||
use std::time::Instant;
|
||||
use tracing::{debug, info};
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
//! response. This is useful for benchmarking, as it allows us to wait for a payload to be valid
|
||||
//! before sending additional calls.
|
||||
|
||||
use alloy_primitives::B256;
|
||||
use alloy_provider::{ext::EngineApi, Network};
|
||||
use alloy_rpc_types_engine::{
|
||||
ExecutionPayload, ExecutionPayloadInputV2, ExecutionPayloadV1, ExecutionPayloadV3,
|
||||
@ -9,7 +10,6 @@ use alloy_rpc_types_engine::{
|
||||
};
|
||||
use alloy_transport::{Transport, TransportResult};
|
||||
use reth_node_api::EngineApiMessageVersion;
|
||||
use reth_primitives::B256;
|
||||
use tracing::error;
|
||||
|
||||
/// An extension trait for providers that implement the engine API, to wait for a VALID response.
|
||||
|
||||
Reference in New Issue
Block a user