From 8a16470bcaad2497d5abc143675760c3d31525e9 Mon Sep 17 00:00:00 2001 From: HudsonGraeme Date: Fri, 19 Jan 2024 23:37:04 +0000 Subject: [PATCH] fix: remove invalid eth tx check. ethereum/go-ethereum was updated to throw on overdraft transactions, so this check is no longer relevant. --- test/scripts/deploy_sc/main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/scripts/deploy_sc/main.go b/test/scripts/deploy_sc/main.go index 7cf5c404a9..eda686da1a 100644 --- a/test/scripts/deploy_sc/main.go +++ b/test/scripts/deploy_sc/main.go @@ -133,14 +133,6 @@ func main() { to := common.HexToAddress(receiverAddr) tx = ethTransfer(ctx, client, auth, to, transferAmount, nil) fmt.Println() - - // Invalid ETH Transfer - log.Debugf("Sending Invalid TX to transfer ETH") - nonce := tx.Nonce() + 1 - ethTransfer(ctx, client, auth, to, transferAmount, &nonce) - err = operations.WaitTxToBeMined(ctx, client, tx, txTimeout) - chkErr(err) - fmt.Println() } }