fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #4341
GitHub Actions / Test Results
failed
Dec 22, 2024 in 0s
2 fail, 2 skipped, 65 pass in 5m 13s
Annotations
Check warning on line 0 in should return 0x0 for account alias on eth_getCode
github-actions / Test Results
1 out of 2 runs failed: RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return 0x0 for account alias on eth_getCode (should return 0x0 for account alias on eth_getCode)
test-results.609e10bcebc35d67fa65bc11dfbcf1dc.xml [took 10s]
Raw output
server response 500 Internal Server Error (request={ }, response={ }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32603,\"message\":\"[Request ID: 91c6ac1e-062b-4952-81e1-fef38be1bcc9] Unknown error invoking RPC\"},\"jsonrpc\":\"2.0\",\"id\":77}", "responseStatus": "500 Internal Server Error" }, code=SERVER_ERROR, version=6.13.2)
Error: server response 500 Internal Server Error (request={ }, response={ }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":-32603,\"message\":\"[Request ID: 91c6ac1e-062b-4952-81e1-fef38be1bcc9] Unknown error invoking RPC\"},\"jsonrpc\":\"2.0\",\"id\":77}", "responseStatus": "500 Internal Server Error" }, code=SERVER_ERROR, version=6.13.2)
at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at assert (packages/server/node_modules/ethers/src.ts/utils/errors.ts:715:25)
at FetchResponse.assertOk (packages/server/node_modules/ethers/src.ts/utils/fetch.ts:950:15)
at JsonRpcProvider._send (packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1245:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:537:40
github-actions / Test Results
RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "should execute "e…current state changes" ("before each" hook for "should execute "eth_getStorageAt" request to get current state changes") failed
test-results.609e10bcebc35d67fa65bc11dfbcf1dc.xml [took 4m 0s]
Raw output
Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
Error: Timeout of 240000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/tests/acceptance/index.spec.ts)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Loading