mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-18 10:31:11 +00:00
Update the new geth test
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user