Update the new geth test

This commit is contained in:
Omar Abdulla
2025-10-05 18:00:47 +03:00
parent 99b2618328
commit f9868617a4
+2 -8
View File
@@ -748,8 +748,6 @@ mod tests {
// Arrange // Arrange
let (context, node) = shared_state(); let (context, node) = shared_state();
let provider = node.provider().await.expect("Failed to create provider");
let account_address = context let account_address = context
.wallet_configuration .wallet_configuration
.wallet() .wallet()
@@ -760,14 +758,10 @@ mod tests {
.value(U256::from(100_000_000_000_000u128)); .value(U256::from(100_000_000_000_000u128));
// Act // Act
let receipt = provider.send_transaction(transaction).await; let receipt = node.execute_transaction(transaction).await;
// Assert // Assert
let _ = receipt let _ = receipt.expect("Failed to get the receipt for the transfer");
.expect("Failed to send the transfer transaction")
.get_receipt()
.await
.expect("Failed to get the receipt for the transfer");
} }
#[test] #[test]