fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #8153
4 fail, 32 pass in 2m 11s
Annotations
Check warning on line 0 in other account transfers tokens back to owner
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests ERC20 Contract should behave like … when the spender has enough tokens other account transfers tokens back to owner (other account transfers tokens back to owner)
test-results.14fab6d1f2e6abea4a491aca4ffbfc2d.xml [took 5s]
Raw output
expected '0' to equal '10000'
AssertionError: expected '0' to equal '10000'
at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:220:57)
at Generator.next (<anonymous>)
at fulfilled (packages/server/tests/acceptance/erc20.spec.ts:47:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
+ expected - actual
-0
+10000
Check warning on line 0 in @release contract owner transfers tokens
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20… address when the spender has enough tokens @release contract owner transfers tokens (@release contract owner transfers tokens)
test-results.0b3f3ba15ea6e06a38c90f5bb0e6a4d5.xml [took 0s]
Raw output
nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb00000000000000000000000029cd6a02a8e7160992ba097c38bce8a74b6fab810000000000000000000000000000000000000000000000000000000000002710c001a02f05df55443bf3da6a8ff9137b1843f140549c85abd29d7276644156b269527ea0640ad6c48da05b8b20146673da6b87af224079c7e6dc230d0bdeb95b2a8ba61d", info={ "error": { "code": 32001, "message": "[Request ID: 6bec70ac-db18-429a-8b41-e5e1870d1e82] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
Error: nonce has already been used (transaction="0x02f8af82012a048086014a9e98780082a45c94000000000000000000000000000000000000040d80b844a9059cbb00000000000000000000000029cd6a02a8e7160992ba097c38bce8a74b6fab810000000000000000000000000000000000000000000000000000000000002710c001a02f05df55443bf3da6a8ff9137b1843f140549c85abd29d7276644156b269527ea0640ad6c48da05b8b20146673da6b87af224079c7e6dc230d0bdeb95b2a8ba61d", info={ "error": { "code": 32001, "message": "[Request ID: 6bec70ac-db18-429a-8b41-e5e1870d1e82] Nonce too low. Provided nonce: 4, current nonce: 5" } }, code=NONCE_EXPIRED, version=6.13.2)
at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1031:33)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in emits a transfer event
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20…s when the recipient is not the zero address when the spender has enough tokens emits a transfer event (emits a transfer event)
test-results.0b3f3ba15ea6e06a38c90f5bb0e6a4d5.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'wait')
TypeError: Cannot read properties of undefined (reading 'wait')
at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:206:51)
at Generator.next (<anonymous>)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/erc20.spec.ts:50:71
at new Promise (<anonymous>)
at __awaiter (packages/server/tests/acceptance/erc20.spec.ts:46:12)
at Context.<anonymous> (packages/server/tests/acceptance/erc20.spec.ts:214:52)
at processImmediate (node:internal/timers:483:21)
Check warning on line 0 in other account transfers tokens back to owner
github-actions / Test Results
1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20… when the spender has enough tokens other account transfers tokens back to owner (other account transfers tokens back to owner)
test-results.0b3f3ba15ea6e06a38c90f5bb0e6a4d5.xml [took 0s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000af28e21971526298af5f02fd11fe0b7f93ac0a7e0000000000000000000000000000000000000000000000000000000000002710", "from": "0x29Cd6a02a8E7160992bA097C38BCe8a74B6FAB81", "to": "0x000000000000000000000000000000000000040d" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.2)
Error: execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000af28e21971526298af5f02fd11fe0b7f93ac0a7e0000000000000000000000000000000000000000000000000000000000002710", "from": "0x29Cd6a02a8E7160992bA097C38BCe8a74B6FAB81", "to": "0x000000000000000000000000000000000000040d" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.2)
at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at getBuiltinCallException (packages/server/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)
at Function.getBuiltinCallException (packages/server/node_modules/ethers/src.ts/abi/abi-coder.ts:235:16)
at JsonRpcProvider.getRpcError (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:989:32)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
at processTicksAndRejections (node:internal/process/task_queues:95:5)