Skip to content

fix: Adds retry to send raw transaction #3860

fix: Adds retry to send raw transaction

fix: Adds retry to send raw transaction #3860

GitHub Actions / Test Results failed Nov 1, 2024 in 0s

1 fail, 38 pass in 3m 31s

 2 files   -  20  42 suites   - 266   3m 31s ⏱️ - 35m 30s
39 tests  - 565  38 ✅  - 557  0 💤  - 4  1 ❌  - 4 
76 runs   - 844  74 ✅  - 829  0 💤  - 6  2 ❌  - 9 

Results for commit ec0a0a1. ± Comparison against earlier commit b83a40a.

Annotations

Check warning on line 0 in "after each" hook for "should subscribe to newHeads, include transactions true, and receive a valid JSON RPC response"

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs failed: RPC Server Acceptance Tests Acceptance tests @web-socket-batch-3 eth_subscribe newHeads "after each" hook fo…ponse" ("after each" hook for "should subscribe to newHeads, include transactions true, and receive a valid JSON RPC response")

test-results.ff9cccd29d68433835719f3af937f55e.xml [took 0s]
Raw output
server response 400 Bad Request (request={  }, response={  }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":32001,\"message\":\"[Request ID: baaa100a-17d5-4f31-a9a1-fe02163a2b8f] Nonce too low. Provided nonce: 0, current nonce: 1\"},\"jsonrpc\":\"2.0\",\"id\":60}", "responseStatus": "400 Bad Request" }, code=SERVER_ERROR, version=6.13.2)
Error: server response 400 Bad Request (request={  }, response={  }, error=null, info={ "requestUrl": "http://localhost:7546", "responseBody": "{\"error\":{\"code\":32001,\"message\":\"[Request ID: baaa100a-17d5-4f31-a9a1-fe02163a2b8f] Nonce too low. Provided nonce: 0, current nonce: 1\"},\"jsonrpc\":\"2.0\",\"id\":60}", "responseStatus": "400 Bad Request" }, 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