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: Adds retry to send raw transaction (#3161) #3208

Merged
merged 1 commit into from
Nov 4, 2024

fix: Adds retry to send raw transaction (#3161)

0609b17
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: Adds retry to send raw transaction (#3161) #3208

fix: Adds retry to send raw transaction (#3161)
0609b17
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Nov 4, 2024 in 0s

7 fail, 4 skipped, 594 pass in 35m 27s

 22 files  ± 0  271 suites   - 11   35m 27s ⏱️ -56s
605 tests ± 0  594 ✅  -  2  4 💤 ±0  7 ❌ +2 
646 runs   - 33  634 ✅  - 36  4 💤 ±0  8 ❌ +3 

Results for commit 0609b17. ± Comparison against earlier commit 79d5247.

Annotations

Check warning on line 0 in Should increase the amount spent of the spending plan by the transaction cost

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…nt of the spending plan by the transaction cost (Should increase the amount spent of the spending plan by the transaction cost)

test-results.fa122af28986a5833d6584b7e2b415f1.xml [took 12s]
Raw output
expected 576885508 to be close to 570243505 +/- 5702435.05
AssertionError: expected 576885508 to be close to 570243505 +/- 5702435.05
    at Suite.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:562:41)
    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 increase the amount spent of the spending plan by the transaction cost

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…nt of the spending plan by the transaction cost (Should increase the amount spent of the spending plan by the transaction cost)

test-results.0d17354e02258f4be0ddf90b948349b4.xml [took 12s]
Raw output
expected 51079922 to be close to 576135492 +/- 5761354.92
AssertionError: expected 51079922 to be close to 576135492 +/- 5761354.92
    at Suite.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:562:41)
    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 PRIVILEGED user

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 out of 4 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…ier Should eventually exhaust the hbar limit for PRIVILEGED user (Should eventually exhaust the hbar limit for PRIVILEGED user)

test-results.0d17354e02258f4be0ddf90b948349b4.xml [took 7s]
Raw output
Cannot read properties of null (reading 'subscriptionTier')
TypeError: Cannot read properties of null (reading 'subscriptionTier')
    at /home/runner/_work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/relay/dist/lib/db/repositories/hbarLimiter/hbarSpendingPlanRepository.js:73:734
    at Array.filter (<anonymous>)
    at HbarSpendingPlanRepository.<anonymous> (packages/relay/dist/lib/db/repositories/hbarLimiter/hbarSpendingPlanRepository.js:73:615)
    at Generator.next (<anonymous>)
    at fulfilled (packages/relay/src/lib/db/repositories/hbarLimiter/hbarSpendingPlanRepository.ts:19:4)
    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

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

test-results.c391a7ce7a6198ed1c0f0d0f9452e6d0.xml [took 12s]
Raw output
expected 4423114498 to be close to 4192209739 +/- 11404869.98
AssertionError: expected 4423114498 to be close to 4192209739 +/- 11404869.98
    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 be able to deploy a contract without creating file

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…BAR Limit should be able to deploy a contract without creating file (should be able to deploy a contract without creating file)

test-results.0c8caeb7271fe033f3f8152631837a12.xml [took 8s]
Raw output
expected 4922667673 to be close to 4108318729 +/- 1544979.8800000001
AssertionError: expected 4922667673 to be close to 4108318729 +/- 1544979.8800000001
    at verifyRemainingLimit (packages/server/tests/acceptance/hbarLimiter.spec.ts:110:41)
    at Context.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:299: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 be able to deploy a medium size contract with fileCreate

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs failed: RPC Server Acceptance Tests Acceptance tests @hbarlimiter HBAR Limiter Acceptance Tests HBAR Rate Limit…ould be able to deploy a medium size contract with fileCreate (should be able to deploy a medium size contract with fileCreate)

test-results.631d9f3b2b11d4e6f1003166c9213cd0.xml [took 11s]
Raw output
expected 4661633034 to be close to 3770368446 +/- 6757339
AssertionError: expected 4661633034 to be close to 3770368446 +/- 6757339
    at verifyRemainingLimit (packages/server/tests/acceptance/hbarLimiter.spec.ts:110:41)
    at Context.<anonymous> (packages/server/tests/acceptance/hbarLimiter.spec.ts:315: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 "before all" hook in "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-1 RPC Server Acceptance Tests RPC Server Acceptance Tests "before all" hook in "RPC Server Acceptance Tests" ("before all" hook in "RPC Server Acceptance Tests") failed

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