From bf041e03706e0ee7e1435a2758e3d9d7ac6c24d9 Mon Sep 17 00:00:00 2001 From: facuMH Date: Wed, 27 Nov 2024 10:05:43 +0100 Subject: [PATCH] fix in error msg --- tests/rejected_tx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rejected_tx_test.go b/tests/rejected_tx_test.go index 84f1cb779..462e94523 100644 --- a/tests/rejected_tx_test.go +++ b/tests/rejected_tx_test.go @@ -86,7 +86,7 @@ func testRejectedTx(t *testing.T, net *IntegrationTestNet, account common.Addres if tx.Type() == types.BlobTxType { estimatedCost += tx.BlobGasFeeCap().Uint64() * tx.BlobGas() } - require.Equal(tx.Cost().Int64(), int64(estimatedCost), "transaction estimation is not equal to balance") + require.Equal(tx.Cost().Uint64(), estimatedCost, "transaction estimation is not equal to test estimation") // provide just enough balance to NOT cover the cost _, err := net.EndowAccount(account, int64(estimatedCost-1))