mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(e2e-test-utils): replace reth_primitives with alloy_primitives (#10980)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
@ -32,6 +32,9 @@ reth-rpc-types-compat.workspace = true
|
||||
jsonrpsee-types.workspace = true
|
||||
jsonrpsee.workspace = true
|
||||
|
||||
# ethereum
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
futures-util.workspace = true
|
||||
eyre.workspace = true
|
||||
tokio.workspace = true
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
use crate::traits::PayloadEnvelopeExt;
|
||||
use alloy_primitives::B256;
|
||||
use jsonrpsee::{
|
||||
core::client::ClientT,
|
||||
http_client::{transport::HttpBackend, HttpClient},
|
||||
@ -12,7 +13,6 @@ use reth::{
|
||||
},
|
||||
};
|
||||
use reth_payload_builder::PayloadId;
|
||||
use reth_primitives::B256;
|
||||
use reth_rpc_layer::AuthClientService;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
use std::{marker::PhantomData, pin::Pin};
|
||||
|
||||
use alloy_network::Network;
|
||||
use alloy_primitives::{BlockHash, BlockNumber, Bytes, B256};
|
||||
use alloy_rpc_types::BlockNumberOrTag;
|
||||
use eyre::Ok;
|
||||
use futures_util::Future;
|
||||
@ -16,7 +17,6 @@ use reth::{
|
||||
};
|
||||
use reth_chainspec::ChainSpec;
|
||||
use reth_node_builder::{EthApiTypes, NodeAddOns, NodeTypesWithEngine};
|
||||
use reth_primitives::{BlockHash, BlockNumber, Bytes, B256};
|
||||
use reth_rpc_types::WithOtherFields;
|
||||
use reth_stages_types::StageId;
|
||||
use tokio_stream::StreamExt;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
use alloy_consensus::TxEnvelope;
|
||||
use alloy_network::{eip2718::Decodable2718, Network};
|
||||
use alloy_primitives::{Bytes, B256};
|
||||
use reth::{
|
||||
builder::{rpc::RpcRegistry, FullNodeComponents},
|
||||
rpc::api::{
|
||||
@ -9,7 +10,6 @@ use reth::{
|
||||
};
|
||||
use reth_chainspec::ChainSpec;
|
||||
use reth_node_builder::{EthApiTypes, NodeTypes};
|
||||
use reth_primitives::{Bytes, B256};
|
||||
use reth_rpc_types::{AnyTransactionReceipt, WithOtherFields};
|
||||
|
||||
#[allow(missing_debug_implementations)]
|
||||
|
||||
@ -3,10 +3,10 @@ use alloy_consensus::{
|
||||
TxEnvelope,
|
||||
};
|
||||
use alloy_network::{eip2718::Encodable2718, Ethereum, EthereumWallet, TransactionBuilder};
|
||||
use alloy_primitives::{hex, Address, Bytes, TxKind, B256, U256};
|
||||
use alloy_rpc_types::{TransactionInput, TransactionRequest};
|
||||
use alloy_signer_local::PrivateKeySigner;
|
||||
use eyre::Ok;
|
||||
use reth_primitives::{hex, Address, Bytes, TxKind, B256, U256};
|
||||
|
||||
/// Helper for transaction operations
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user