Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: getting timeout exceeded in the sdk client even when transaction is submitted #3129

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Adds more logging

2158bc7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

fix: getting timeout exceeded in the sdk client even when transaction is submitted #3129

Adds more logging
2158bc7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Oct 30, 2024 in 0s

7 fail, 4 skipped, 595 pass in 37m 59s

 21 files   -   1  284 suites   - 42   37m 59s ⏱️ -50s
606 tests ±  0  595 ✅ +  6  4 💤 ±0   7 ❌  - 6 
747 runs   - 238  730 ✅  - 236  5 💤 +1  12 ❌  - 3 

Results for commit 2158bc7. ± Comparison against earlier commit 021a800.

Annotations

Check warning on line 0 in "before each" hook for "should execute "eth_getStorageAt" request to get old state with passing specific block"

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…block" ("before each" hook for "should execute "eth_getStorageAt" request to get old state with passing specific block") failed

test-results.bac1c6e878ad441639e7b2838a5e0ae2.xml [took 10s]
Raw output
could not coalesce error (error={ "code": -32603, "message": "[Request ID: 9aabb47e-b13d-4cca-a181-f09cd34e00b5] Error invoking RPC: [Request ID: 9aabb47e-b13d-4cca-a181-f09cd34e00b5] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 937, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8e882012a418086014a9e98780083014a9f8080b8906080604052600f600055348015601457600080fd5b50606e8060226000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80632de4e88414602d575b600080fd5b60366008600055565b00fea26469706673582212204f4929609314772906604fbf3fa15708239abd76b6d2a022fa89ae0e0b888bb264736f6c63430008090033c001a0721d60f0780ddb3d086f80e738fa77c963ac0c0f55501cbf9ef5d2541af61f27a05989890e7ab0f32129271c66e7cf6b38294a95c5fd9d361ccd087049089df26c" ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32603, "message": "[Request ID: 9aabb47e-b13d-4cca-a181-f09cd34e00b5] Error invoking RPC: [Request ID: 9aabb47e-b13d-4cca-a181-f09cd34e00b5] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 937, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8e882012a418086014a9e98780083014a9f8080b8906080604052600f600055348015601457600080fd5b50606e8060226000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80632de4e88414602d575b600080fd5b60366008600055565b00fea26469706673582212204f4929609314772906604fbf3fa15708239abd76b6d2a022fa89ae0e0b888bb264736f6c63430008090033c001a0721d60f0780ddb3d086f80e738fa77c963ac0c0f55501cbf9ef5d2541af61f27a05989890e7ab0f32129271c66e7cf6b38294a95c5fd9d361ccd087049089df26c" ] }, 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 @release captures transfer events

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens and listens for synthetic log events @release captures transfer events (@release captures transfer events)

test-results.da72df596a52f746bc23934456408a41.xml [took 10s]
Raw output
could not coalesce error (error={ "code": -32603, "message": "[Request ID: 345a1d05-19ca-4931-8edf-bfefcfba9c8b] Error invoking RPC: [Request ID: 345a1d05-19ca-4931-8edf-bfefcfba9c8b] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 20, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8b082012a808086014a9e987800830f424094000000000000000000000000000000000000041480b844a9059cbb00000000000000000000000040c0485083c1e940ba27bb7c83c382136697d3fa0000000000000000000000000000000000000000000000000000000000000001c001a007d781ac2e1454f348da0ab6dc49a57022281aea1138c413b8cfe29d3b5356fda01561435b6356f715c20ac5c735027e20cb56c5ec7bbdc38bc89a7bed64d18419" ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32603, "message": "[Request ID: 345a1d05-19ca-4931-8edf-bfefcfba9c8b] Error invoking RPC: [Request ID: 345a1d05-19ca-4931-8edf-bfefcfba9c8b] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 20, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8b082012a808086014a9e987800830f424094000000000000000000000000000000000000041480b844a9059cbb00000000000000000000000040c0485083c1e940ba27bb7c83c382136697d3fa0000000000000000000000000000000000000000000000000000000000000001c001a007d781ac2e1454f348da0ab6dc49a57022281aea1138c413b8cfe29d3b5356fda01561435b6356f715c20ac5c735027e20cb56c5ec7bbdc38bc89a7bed64d18419" ] }, 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 @release captures approve and transferFrom events

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe Subscribes to hts tokens… for synthetic log events @release captures approve and transferFrom events (@release captures approve and transferFrom events)

test-results.da72df596a52f746bc23934456408a41.xml [took 0s]
Raw output
could not coalesce error (error={ "code": -32603, "message": "[Request ID: b1152b16-90ca-4a7e-9a27-2a710d102837] Error invoking RPC: [Request ID: b1152b16-90ca-4a7e-9a27-2a710d102837] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 30, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8b082012a808086014a9e987800830f424094000000000000000000000000000000000000041480b844095ea7b300000000000000000000000040c0485083c1e940ba27bb7c83c382136697d3fa0000000000000000000000000000000000000000000000000000000000000001c001a099a2246e7198b1c0cecf240146c9b8566c9828c8cb46a3f6416c70a4c4b11e2aa024f6a65860d5e69df4c30577c07b8e373e7b78e6fd79f7df99ec7136adca7adb" ] }, code=UNKNOWN_ERROR, version=6.13.2)
Error: could not coalesce error (error={ "code": -32603, "message": "[Request ID: b1152b16-90ca-4a7e-9a27-2a710d102837] Error invoking RPC: [Request ID: b1152b16-90ca-4a7e-9a27-2a710d102837] Transaction execution returns a null value: [email protected], callerName=eth_sendRawTransaction, txConstructorName=EthereumTransaction" }, payload={ "id": 30, "jsonrpc": "2.0", "method": "eth_sendRawTransaction", "params": [ "0x02f8b082012a808086014a9e987800830f424094000000000000000000000000000000000000041480b844095ea7b300000000000000000000000040c0485083c1e940ba27bb7c83c382136697d3fa0000000000000000000000000000000000000000000000000000000000000001c001a099a2246e7198b1c0cecf240146c9b8566c9828c8cb46a3f6416c70a4c4b11e2aa024f6a65860d5e69df4c30577c07b8e373e7b78e6fd79f7df99ec7136adca7adb" ] }, 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 should deploy a large contract and decrease remaining HBAR in limiter when transaction data is large

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit Test…ransaction data is large (should deploy a large contract and decrease remaining HBAR in limiter when transaction data is large)

test-results.42894028ad3e4719c60d7e3c1af625e6.xml [took 12s]
test-results.ca608382e205a7317b7469c1a3956667.xml [took 12s]
test-results.ea36d91f08e446b6b8dd4e4ca3965c31.xml [took 12s]
Raw output
expected 4423114485 to be close to 4186317738 +/- 11522710
AssertionError: expected 4423114485 to be close to 4186317738 +/- 11522710
    at verifyRemainingLimit (packages/server/tests/acceptance/hbarLimiter.spec.ts:110:41)
    at Context.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:283:11)
    at Generator.next (<anonymous>)
    at fulfilled (packages/server/tests/acceptance/hbarLimiter.spec.ts:47:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in should eventually exhaust the hbar limit for a BASIC user after multiple deployments of large contracts

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…ts of large contracts (should eventually exhaust the hbar limit for a BASIC user after multiple deployments of large contracts)

test-results.42894028ad3e4719c60d7e3c1af625e6.xml [took 13s]
test-results.ea36d91f08e446b6b8dd4e4ca3965c31.xml [took 13s]
Raw output
expected 2 to equal 1
AssertionError: expected 2 to equal 1
    at Context.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:480:43)
    at Generator.next (<anonymous>)
    at fulfilled (packages/server/tests/acceptance/hbarLimiter.spec.ts:47:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -2
      +1

Check warning on line 0 in Should eventually exhaust the hbar limit for PRIVILEGED user

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit Test…ier Should eventually exhaust the hbar limit for PRIVILEGED user (Should eventually exhaust the hbar limit for PRIVILEGED user)

test-results.42894028ad3e4719c60d7e3c1af625e6.xml [took 32s]
test-results.ca608382e205a7317b7469c1a3956667.xml [took 26s]
test-results.ea36d91f08e446b6b8dd4e4ca3965c31.xml [took 38s]
Raw output
expected 5 to equal 3
AssertionError: expected 5 to equal 3
    at Suite.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:592:45)
    at Generator.next (<anonymous>)
    at fulfilled (packages/server/tests/acceptance/hbarLimiter.spec.ts:47:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -5
      +3

Check warning on line 0 in "before all" hook in "@api-batch-2 RPC Server Acceptance Tests"

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 all" hook in "@api-batch-2 RPC Server Acceptance Tests" ("before all" hook in "@api-batch-2 RPC Server Acceptance Tests") failed

test-results.581e274556853b0c9f61caba595ea89a.xml [took 15s]
Raw output
execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0x0419eca50000000000000000000000000000000000000000000000000000000000000001", "from": "0xf239db84a0a94c49CF2FdF2EA5dC30027ef0BDbf", "to": "0x64eE830B646BAEfbC5A4C140035Ea4d02C7D9D82" }, 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": "0x0419eca50000000000000000000000000000000000000000000000000000000000000001", "from": "0xf239db84a0a94c49CF2FdF2EA5dC30027ef0BDbf", "to": "0x64eE830B646BAEfbC5A4C140035Ea4d02C7D9D82" }, 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)