Skip to content

Commit

Permalink
chore: remove reth-primitives dependency from reth-node-ethereum
Browse files Browse the repository at this point in the history
…tests (paradigmxyz#8898)
  • Loading branch information
joshieDo authored Jun 17, 2024
1 parent 8182d2e commit 20102ee
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion crates/ethereum/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ reth-db.workspace = true
reth-exex.workspace = true
reth-node-api.workspace = true
reth-node-core.workspace = true
reth-primitives.workspace = true
reth-e2e-test-utils.workspace = true
alloy-primitives.workspace = true
alloy-genesis.workspace = true
futures.workspace = true
tokio.workspace = true
futures-util.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion crates/ethereum/node/tests/e2e/blobs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use std::sync::Arc;

use alloy_genesis::Genesis;
use alloy_primitives::b256;
use reth::{
args::RpcServerArgs,
builder::{NodeBuilder, NodeConfig, NodeHandle},
Expand All @@ -11,7 +13,6 @@ use reth_e2e_test_utils::{
node::NodeTestContext, transaction::TransactionTestContext, wallet::Wallet,
};
use reth_node_ethereum::EthereumNode;
use reth_primitives::{b256, Genesis};
use reth_transaction_pool::TransactionPool;

use crate::utils::eth_payload_attributes;
Expand Down
3 changes: 2 additions & 1 deletion crates/ethereum/node/tests/e2e/dev.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use crate::utils::EthNode;
use alloy_genesis::Genesis;
use alloy_primitives::{b256, hex};
use futures::StreamExt;
use reth::rpc::eth::EthTransactions;
use reth_chainspec::ChainSpec;
use reth_e2e_test_utils::setup;
use reth_primitives::{b256, hex, Genesis};
use reth_provider::CanonStateSubscriptions;
use std::sync::Arc;

Expand Down
2 changes: 1 addition & 1 deletion crates/ethereum/node/tests/e2e/eth.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::utils::eth_payload_attributes;
use alloy_genesis::Genesis;
use reth::{
args::RpcServerArgs,
builder::{NodeBuilder, NodeConfig, NodeHandle},
Expand All @@ -9,7 +10,6 @@ use reth_e2e_test_utils::{
node::NodeTestContext, setup, transaction::TransactionTestContext, wallet::Wallet,
};
use reth_node_ethereum::EthereumNode;
use reth_primitives::Genesis;
use std::sync::Arc;

#[tokio::test]
Expand Down
2 changes: 1 addition & 1 deletion crates/ethereum/node/tests/e2e/utils.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use alloy_primitives::{Address, B256};
use reth::rpc::types::engine::PayloadAttributes;
use reth_e2e_test_utils::NodeHelperType;
use reth_node_ethereum::EthereumNode;
use reth_payload_builder::EthPayloadBuilderAttributes;
use reth_primitives::{Address, B256};

/// Ethereum Node Helper type
pub(crate) type EthNode = NodeHelperType<EthereumNode>;
Expand Down

0 comments on commit 20102ee

Please sign in to comment.