Skip to content

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

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 #3718

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

5 fail, 3 skipped, 597 pass in 44m 55s

 21 files  + 20  276 suites  +263   44m 55s ⏱️ + 44m 10s
605 tests +537  597 ✅ +531  3 💤 +1  5 ❌ +5 
794 runs  +726  786 ✅ +720  3 💤 +1  5 ❌ +5 

Results for commit 8687322. ± Comparison against earlier commit d6756f0.

Annotations

Check warning on line 0 in "before each" 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 "before each" hook for "should execute "eth_getCode" for hts token" ("before each" hook for "should execute "eth_getCode" for hts token") failed

test-results.77d56c0cf3ff681fabc2ee670621510e.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.ea39691edff947e0cb6688c962ff9d90.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: 003a68bb-74d3-40f7-aa8f-4ca90ef87ba4] 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: 003a68bb-74d3-40f7-aa8f-4ca90ef87ba4] 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.ea39691edff947e0cb6688c962ff9d90.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 each" hook for "@release-light, @release should execute "eth_getBalance" for contract"

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-light, @…tBalance" for contract" ("before each" hook for "@release-light, @release should execute "eth_getBalance" for contract") failed

test-results.597c20d32b6d0006ae03842b18057d42.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 "after all" hook in "@web-socket-batch-1 eth_getBlockByNumber"

See this annotation in the file changed.

@github-actions github-actions / Test Results

RPC Server Acceptance Tests Acceptance tests @web-socket-batch-1 eth_getBlockByNumber "after all" hook in "@web-socket-batch-1 eth_getBlockByNumber" ("after all" hook in "@web-socket-batch-1 eth_getBlockByNumber") failed

test-results.e3e65ce677699dc46cb803a8fde95bdd.xml [took 0s]
Raw output
expected 1 to equal +0
AssertionError: expected 1 to equal +0
    at Suite.<anonymous> (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:53:51)
    at Generator.next (<anonymous>)
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:27:71
    at new Promise (<anonymous>)
    at __awaiter (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:23:12)
    at Context.<anonymous> (packages/ws-server/tests/acceptance/getBlockByNumber.spec.ts:50:20)
    at processImmediate (node:internal/timers:483:21)

      + expected - actual

      -1
      +0