fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #9422
6 fail, 32 pass in 5m 49s
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.c7f5c457014e952560830f5ea488b851.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
2 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.301bddef8a421f9b9c59d76b0b2d3e08.xml [took 0s]
test-results.c6c8706f4dd3347ea29f232217914efd.xml [took 5s]
Raw output
could not coalesce error (error={ "code": -32011, "message": "[Request ID: c9f58853-416f-447f-9047-07ab03ffbd5a] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 206, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32011, "message": "[Request ID: c9f58853-416f-447f-9047-07ab03ffbd5a] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 206, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, 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:1059:25)
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
2 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.301bddef8a421f9b9c59d76b0b2d3e08.xml [took 0s]
test-results.c6c8706f4dd3347ea29f232217914efd.xml [took 4m 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
2 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.301bddef8a421f9b9c59d76b0b2d3e08.xml [took 0s]
test-results.c6c8706f4dd3347ea29f232217914efd.xml [took 0s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0xa9059cbb000000000000000000000000784127ac68ca83f258ead8adcf304bb0e4ae51e10000000000000000000000000000000000000000000000000000000000002710", "from": "0x6fcab6Eb0E0Da925d711c10BfC4e1d66FaAF8Db1", "to": "0x0000000000000000000000000000000000000419" }, 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": "0xa9059cbb000000000000000000000000784127ac68ca83f258ead8adcf304bb0e4ae51e10000000000000000000000000000000000000000000000000000000000002710", "from": "0x6fcab6Eb0E0Da925d711c10BfC4e1d66FaAF8Db1", "to": "0x0000000000000000000000000000000000000419" }, 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)
Check warning on line 0 in "before all" hook for "emits an approval event"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20 transfer from when the …r has enough allowance "before all" hook for "emits an approval event" ("before all" hook for "emits an approval event") failed
test-results.301bddef8a421f9b9c59d76b0b2d3e08.xml [took 0s]
Raw output
could not coalesce error (error={ "code": -32011, "message": "[Request ID: 071cf2af-6dc2-47e3-b956-fb082f1f2b1b] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 217, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32011, "message": "[Request ID: 071cf2af-6dc2-47e3-b956-fb082f1f2b1b] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 217, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, 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:1059:25)
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 "before all" hook for "reverts"
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @erc20 Acceptance Tests HTS token should behave like erc20 transfer from when the …ough allowance when the token owner has enough balance "before all" hook for "reverts" ("before all" hook for "reverts") failed
test-results.301bddef8a421f9b9c59d76b0b2d3e08.xml [took 0s]
Raw output
could not coalesce error (error={ "code": -32011, "message": "[Request ID: 071cf2af-6dc2-47e3-b956-fb082f1f2b1b] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 217, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32011, "message": "[Request ID: 071cf2af-6dc2-47e3-b956-fb082f1f2b1b] Exceeded maximum mirror node pagination count: 25" }, payload={ "id": 217, "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "latest", false ] }, code=UNKNOWN_ERROR, 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:1059:25)
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)