Skip to content

Commit

Permalink
fix in error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
facuMH committed Dec 3, 2024
1 parent 5ac90f4 commit bf041e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rejected_tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit bf041e0

Please sign in to comment.