diff --git a/packages/client/test/rpc/eth/call.spec.ts b/packages/client/test/rpc/eth/call.spec.ts index 5672647b35..a0d889faaa 100644 --- a/packages/client/test/rpc/eth/call.spec.ts +++ b/packages/client/test/rpc/eth/call.spec.ts @@ -101,6 +101,7 @@ describe(method, () => { { ...estimateTxData, gas: estimateTxData.gasLimit }, 'latest', ]) + assert.equal(res.error.code, 3, 'should return the correct error code') assert.equal( res.error.data, bytesToHex(execResult.returnValue), @@ -108,6 +109,7 @@ describe(method, () => { ) res = await rpc.request(method, [{ ...estimateTxData }, 'latest']) + assert.equal(res.error.code, 3, 'should return the correct error code') assert.equal( res.error.data, bytesToHex(execResult.returnValue),