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] 20240118 #238

Merged
merged 2 commits into from
Jan 18, 2024
Merged

[release] 20240118 #238

merged 2 commits into from
Jan 18, 2024

Conversation

bz888
Copy link

@bz888 bz888 commented Jan 18, 2024

Release

  • hot fix on subql/node-ethereum

Copy link

github-actions bot commented Jan 18, 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.47% 3217/6131
🟡 Branches 67.36% 326/484
🔴 Functions 43.37% 108/249
🔴 Lines 52.47% 3217/6131

Test suite run failed

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

    missing response (requestBody="[{\"method\":\"eth_getBlockByNumber\",\"params\":[\"0xf5304c\",true],\"id\":42,\"jsonrpc\":\"2.0\"}]", requestMethod="POST", serverError={"code":"DEPTH_ZERO_SELF_SIGNED_CERT"}, url="https://celo.api.onfinality.io/public", code=SERVER_ERROR, version=web/5.7.1)

      370 |         if (response == null) {
      371 |           runningTimeout.cancel();
    > 372 |           logger.throwError('missing response', Logger.errors.SERVER_ERROR, {
          |                  ^
      373 |             requestBody: bodyify(options.body, flatHeaders['content-type']),
      374 |             requestMethod: options.method,
      375 |             serverError: error,

      at Logger.Object.<anonymous>.Logger.makeError (node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
      at Logger.Object.<anonymous>.Logger.throwError (node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
      at packages/node/src/ethereum/ethers/web/index.ts:372:18


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

    missing response (requestBody="{\"method\":\"eth_getBlockByNumber\",\"params\":[\"latest\",true],\"id\":42,\"jsonrpc\":\"2.0\"}", requestMethod="POST", serverError={"errno":-71,"code":"EPROTO","syscall":"write"}, url="https://celo.api.onfinality.io/public\t", code=SERVER_ERROR, version=web/5.7.1)

      370 |         if (response == null) {
      371 |           runningTimeout.cancel();
    > 372 |           logger.throwError('missing response', Logger.errors.SERVER_ERROR, {
          |                  ^
      373 |             requestBody: bodyify(options.body, flatHeaders['content-type']),
      374 |             requestMethod: options.method,
      375 |             serverError: error,

      at Logger.Object.<anonymous>.Logger.makeError (node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
      at Logger.Object.<anonymous>.Logger.throwError (node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
      at packages/node/src/ethereum/ethers/web/index.ts:372:18
      at Object.<anonymous> (packages/node/src/ethereum/ethers/celo/celo-json-rpc-provider.spec.ts:29:7)


  ● Api.ethereum › Decode nested logs in transactions

    expect(received).toBeTruthy()

    Received: undefined

      91 |     );
      92 |     const parsedTx = await ethApi.parseTransaction(tx, ds);
    > 93 |     expect(parsedTx.logs[0].args).toBeTruthy();
         |                                   ^
      94 |   });
      95 |
      96 |   it('Should decode transaction data and not clone object', async () => {

      at Object.<anonymous> (packages/node/src/ethereum/api.ethereum.test.ts:93:35)

Report generated by 🧪jest coverage report action from e29f1c8

@bz888 bz888 merged commit 1c5132d into main Jan 18, 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