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] 20240618 #317

Merged
merged 1 commit into from
Jun 18, 2024
Merged

[release] 20240618 #317

merged 1 commit into from
Jun 18, 2024

Conversation

stwiname
Copy link

No description provided.

Copy link

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 54.8% 3531/6443
🟡 Branches 70.49% 430/610
🔴 Functions 55.09% 157/285
🔴 Lines 54.8% 3531/6443

Test suite run failed

Failed tests: 3/90. Failed suites: 2/14.
  ● ProjectService › can get a block timestamps

    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."

      40 |   });
      41 |
    > 42 |   it('can get a block timestamps', async () => {
         |   ^
      43 |     const timestamp = await (projectService as any).getBlockTimestamp(
      44 |       4_000_000,
      45 |     );

      at packages/node/src/indexer/project.service.test.ts:42:3
      at Object.<anonymous> (packages/node/src/indexer/project.service.test.ts:20:1)


  ● Api.ethereum › If transaction is undefined, with null filter, should be supported

    bad response (status=500, headers={"content-type":"application/json; charset=utf-8","content-length":"104","connection":"keep-alive","access-control-allow-origin":"*","date":"Tue, 18 Jun 2024 00:59:05 GMT","etag":"W/\"68-urGuALY5hurmusg4llLOHQkiw64\"","x-powered-by":"Express","x-continent":"NA","x-cluster":"dc","x-kong-upstream-latency":"10004","x-kong-proxy-latency":"0","via":"kong/2.5.2"}, body="{\"code\":2000,\"error\":\"Request failed: FetchError: reach max retries. error: The operation was aborted.\"}", requestBody="[{\"method\":\"eth_getBlockByNumber\",\"params\":[\"0xf81649\",true],\"id\":46,\"jsonrpc\":\"2.0\"}]", requestMethod="POST", url="https://ethereum.rpc.subquery.network/public", code=SERVER_ERROR, version=web/5.7.1)

      388 |       ) {
      389 |         runningTimeout.cancel();
    > 390 |         logger.throwError('bad response', Logger.errors.SERVER_ERROR, {
          |                ^
      391 |           status: response.statusCode,
      392 |           headers: response.headers,
      393 |           body: bodyify(

      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:390:16

  ● Api.ethereum › Resolves the correct tags for finalization

    no response

      173 |             );
      174 |           } else if (payload.error) {
    > 175 |             const error = new Error(payload.error.message);
          |                           ^
      176 |             (<any>error).code = payload.error.code;
      177 |             (<any>error).data = payload.error.data;
      178 |             if (

      at packages/node/src/ethereum/ethers/json-rpc-batch-provider.ts:175:27
          at Array.forEach (<anonymous>)
      at packages/node/src/ethereum/ethers/json-rpc-batch-provider.ts:166:15

Report generated by 🧪jest coverage report action from 1653310

@stwiname stwiname merged commit aee0663 into main Jun 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