From 3ec3d49ecbba29e029f1b69d5517099dbb2197a7 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 25 Jun 2024 15:19:14 -0400 Subject: [PATCH] remove todo (#7121) --- .../web3-eth-contract/test/integration/contract_methods.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-eth-contract/test/integration/contract_methods.test.ts b/packages/web3-eth-contract/test/integration/contract_methods.test.ts index 0c138d364dd..7cede74d7d1 100644 --- a/packages/web3-eth-contract/test/integration/contract_methods.test.ts +++ b/packages/web3-eth-contract/test/integration/contract_methods.test.ts @@ -148,7 +148,7 @@ describe('contract', () => { }); it('should returns errors on reverts', async () => { - // TODO hardhat reverts but sends an undefined receipt, needs investigation + // hardhat errors during revert when sending the transaction so no receipt will be returned. if (getSystemTestBackend() === BACKEND.HARDHAT) { // eslint-disable-next-line jest/no-conditional-expect await expect(