Skip to content

fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #9616

fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms

fix: enhanced reliability of eth RPC methods with null checks and retry mechanisms #9616

GitHub Actions / Test Results failed Dec 23, 2024 in 0s

4 fail, 2 skipped, 65 pass in 13m 11s

  3 files   -  16   29 suites   - 228   13m 11s ⏱️ - 25m 18s
 71 tests  - 541   65 ✅  - 542  2 💤  - 2  4 ❌ +3 
146 runs   - 520  140 ✅  - 521  2 💤  - 2  4 ❌ +3 

Results for commit fceb411. ± Comparison against earlier commit b173a17.

Annotations

Check warning on line 0 in "before each" hook for "@release should execute "eth_estimateGas" for contract call"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests "before each" hook for "@release should e…h_estimateGas" for contract call" ("before each" hook for "@release should execute "eth_estimateGas" for contract call") failed

test-results.2031d8fe6a3ea20722e1ddca5e0fc456.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)

Check warning on line 0 in should return 0x0 for account alias on eth_getCode

See this annotation in the file changed.

@github-actions github-actions / Test Results

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) failed

test-results.d320086ce8cec1f9c53d5966f095d8eb.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: 7f7c8bee-d47f-4763-a96d-f15d5ce7ea23] 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: 7f7c8bee-d47f-4763-a96d-f15d5ce7ea23] 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

Check warning on line 0 in "before each" hook for "should execute "eth_getStorageAt" request to get current state changes"

See this annotation in the file changed.

@github-actions 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.d320086ce8cec1f9c53d5966f095d8eb.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)

Check warning on line 0 in "before all" hook for "should execute "eth_getCode" for hts token"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode "before all" hook for "should execute "eth_getCode" for hts token" ("before all" hook for "should execute "eth_getCode" for hts token") failed

test-results.be53089529dfced4f8dc29832d5793b9.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)