From e4065201a0b344ec6c1dc29f6efd6e8496a2fc4a Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 20 Sep 2024 02:43:31 +0200 Subject: [PATCH] refactor: use pre-genned wallet from e2e utils in test (#11059) --- crates/ethereum/node/tests/e2e/eth.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ethereum/node/tests/e2e/eth.rs b/crates/ethereum/node/tests/e2e/eth.rs index 8e6938b47f..14bfb92d47 100644 --- a/crates/ethereum/node/tests/e2e/eth.rs +++ b/crates/ethereum/node/tests/e2e/eth.rs @@ -16,7 +16,7 @@ use std::sync::Arc; async fn can_run_eth_node() -> eyre::Result<()> { reth_tracing::init_test_tracing(); - let (mut nodes, _tasks, _wallet) = setup::( + let (mut nodes, _tasks, wallet) = setup::( 1, Arc::new( ChainSpecBuilder::default() @@ -30,7 +30,6 @@ async fn can_run_eth_node() -> eyre::Result<()> { .await?; let mut node = nodes.pop().unwrap(); - let wallet = Wallet::default(); let raw_tx = TransactionTestContext::transfer_tx_bytes(1, wallet.inner).await; // make the node advance