From f9868617a446d7258d9f5fe5b05e03687d047c0c Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Sun, 5 Oct 2025 18:00:47 +0300 Subject: [PATCH] Update the new geth test --- crates/node/src/node_implementations/geth.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/node/src/node_implementations/geth.rs b/crates/node/src/node_implementations/geth.rs index a9db012..fc31d86 100644 --- a/crates/node/src/node_implementations/geth.rs +++ b/crates/node/src/node_implementations/geth.rs @@ -748,8 +748,6 @@ mod tests { // Arrange let (context, node) = shared_state(); - let provider = node.provider().await.expect("Failed to create provider"); - let account_address = context .wallet_configuration .wallet() @@ -760,14 +758,10 @@ mod tests { .value(U256::from(100_000_000_000_000u128)); // Act - let receipt = provider.send_transaction(transaction).await; + let receipt = node.execute_transaction(transaction).await; // Assert - let _ = receipt - .expect("Failed to send the transfer transaction") - .get_receipt() - .await - .expect("Failed to get the receipt for the transfer"); + let _ = receipt.expect("Failed to get the receipt for the transfer"); } #[test]