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

update x-sequelize with query improvement #233

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

jiqiang90
Copy link

@jiqiang90 jiqiang90 commented Jan 9, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have tested locally
  • I have performed a self review of my changes
  • Updated any relevant documentation
  • Linked to any relevant issues
  • I have added tests relevant to my changes
  • Any dependent changes have been merged and published in downstream modules
  • My code is up to date with the base branch
  • I have updated relevant changelogs. We suggest using chan

Copy link

github-actions bot commented Jan 9, 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 51.87% 3180/6131
🟡 Branches 66.88% 315/471
🔴 Functions 42.97% 107/249
🔴 Lines 51.87% 3180/6131

Test suite run failed

Failed tests: 3/64. Failed suites: 2/12.
  ● 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)

  ● Api.ethereum › !null filter support for logs, expect to filter out

    unknown block

      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


  ● 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)

Report generated by 🧪jest coverage report action from 2769dd3

@jiqiang90 jiqiang90 merged commit 9610ca2 into main Jan 9, 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