chore(e2e-test-utils): replace reth_primitives with alloy_primitives (#10980)

Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
This commit is contained in:
Abhishek kochar
2024-09-18 19:19:38 +08:00
committed by GitHub
parent c09391feee
commit 1fd4b1da9b
6 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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)]

View File

@ -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)]