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

[release] 20240125 #240

Merged
merged 3 commits into from
Jan 25, 2024
Merged

[release] 20240125 #240

merged 3 commits into from
Jan 25, 2024

Conversation

stwiname
Copy link

Automated changes by create-pull-request GitHub action

Copy link

github-actions bot commented Jan 25, 2024

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/usr/local/bin/yarn' failed with exit code 1
St.
Category Percentage Covered / Total
🔴 Statements 52.93% 3245/6131
🟡 Branches 67.28% 329/489
🔴 Functions 43.78% 109/249
🔴 Lines 52.93% 3245/6131

Test suite run failed

Failed tests: 2/64. Failed suites: 2/12.
  ● CeloJsonRpcProvider › should not set gasLimit to zero for blocks after the hard fork

    thrown: "Exceeded timeout of 5000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      27 |
      28 |   // Test if gasLimit is correctly set for blocks after the hard fork
    > 29 |   it('should not set gasLimit to zero for blocks after the hard fork', async () => {
         |   ^
      30 |     const block = formatBlock(
      31 |       await provider.send('eth_getBlockByNumber', ['latest', true]),
      32 |     );

      at packages/node/src/ethereum/ethers/celo/celo-json-rpc-batch-provider.spec.ts:29:3
      at Object.<anonymous> (packages/node/src/ethereum/ethers/celo/celo-json-rpc-batch-provider.spec.ts:8:1)


  ● CeloJsonRpcProvider › should not set gasLimit to zero for blocks after the hard fork

    Unhandled error. (Error: Unexpected server response: 429

      at ClientRequest.<anonymous> (node_modules/ws/lib/websocket.js:604:7)
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23))
      at abortHandshake (node_modules/ws/lib/websocket.js:731:15)
      at ClientRequest.<anonymous> (node_modules/ws/lib/websocket.js:604:7)

  ● CeloJsonRpcProvider › should not set gasLimit to zero for blocks after the hard fork

    thrown: "Exceeded timeout of 5000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      25 |
      26 |   // Test if gasLimit is correctly set for blocks after the hard fork
    > 27 |   it('should not set gasLimit to zero for blocks after the hard fork', async () => {
         |   ^
      28 |     const block = formatBlock(
      29 |       await provider.send('eth_getBlockByNumber', ['latest', true]),
      30 |     );

      at packages/node/src/ethereum/ethers/celo/celo-ws-provider.spec.ts:27:3
      at Object.<anonymous> (packages/node/src/ethereum/ethers/celo/celo-ws-provider.spec.ts:8:1)

Report generated by 🧪jest coverage report action from 5f0cba0

@jiqiang90 jiqiang90 changed the title Sync @subql dependencies [release] 20240125 Jan 25, 2024
@jiqiang90 jiqiang90 self-requested a review January 25, 2024 01:29
@jiqiang90 jiqiang90 merged commit afd6b6c into main Jan 25, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants