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] 20240408 #55

Closed
wants to merge 3 commits into from
Closed

[release] 20240408 #55

wants to merge 3 commits into from

Conversation

stwiname
Copy link
Contributor

@stwiname stwiname commented Apr 7, 2024

Automated changes by create-pull-request GitHub action

Copy link
Contributor

github-actions bot commented Apr 7, 2024

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 26.26% 1136/4326
🟡 Branches 63.49% 120/189
🔴 Functions 34.4% 43/125
🔴 Lines 26.26% 1136/4326

Test suite run failed

Failed tests: 1/58. Failed suites: 3/7.
  ● Test suite failed to run

    packages/node/src/indexer/fetch.service.ts:283:7 - error TS2345: Argument of type 'NetworkConfig' is not assignable to parameter of type 'IProjectNetworkConfig'.
      Types of property 'dictionary' are incompatible.
        Type 'string | string[]' is not assignable to type 'string'.
          Type 'string[]' is not assignable to type 'string'.

    283       project.network,
              ~~~~~~~~~~~~~~~


  ● Test suite failed to run

    packages/node/src/stellar/api.service.stellar.ts:87:7 - error TS2345: Argument of type 'StellarProjectNetworkConfig' is not assignable to parameter of type 'ProjectNetworkConfig & { chainId: string; }'.
      Type 'StellarProjectNetworkConfig' is not assignable to type 'ProjectNetworkConfig'.
        Types of property 'dictionary' are incompatible.
          Type 'string | string[]' is not assignable to type 'string'.
            Type 'string[]' is not assignable to type 'string'.

    87       network,
             ~~~~~~~


  ● StellarApi › handleError - soroban node been reset

    expect(received).rejects.toThrow(expected)

    Expected pattern: /access a ledger that is after the latest ledger number/
    Received message: "Not Found"

          93 |   ): Promise<ServerApi.TransactionRecord[]> {
          94 |     const txs: ServerApi.TransactionRecord[] = [];
        > 95 |     let txsPage = await this.api.transactions().forLedger(sequence).call();
             |                   ^
          96 |     while (txsPage.records.length !== 0) {
          97 |       txs.push(...txsPage.records);
          98 |       txsPage = await txsPage.next();

      at _callee6$ (node_modules/stellar-sdk/lib/horizon/call_builder.js:339:64)
      at tryCatch (node_modules/stellar-sdk/lib/horizon/call_builder.js:14:913)
      at Generator.<anonymous> (node_modules/stellar-sdk/lib/horizon/call_builder.js:14:2863)
      at Generator.next (node_modules/stellar-sdk/lib/horizon/call_builder.js:14:1550)
      at asyncGeneratorStep (node_modules/stellar-sdk/lib/horizon/call_builder.js:15:103)
      at _next (node_modules/stellar-sdk/lib/horizon/call_builder.js:16:194)
      at node_modules/stellar-sdk/lib/horizon/call_builder.js:16:364
      at node_modules/stellar-sdk/lib/horizon/call_builder.js:16:97
      at _handleNetworkError (node_modules/stellar-sdk/lib/horizon/call_builder.js:354:37)
      at StellarApi.fetchTransactionsForLedger (packages/node/src/stellar/api.stellar.ts:95:19)
                at async Promise.all (index 1)
      at StellarApi.fetchAndWrapLedger (packages/node/src/stellar/api.stellar.ts:277:57)
      at Object.<anonymous> (packages/node/src/stellar/api.stellar.spec.ts:96:5)
      at Object.toThrow (node_modules/expect/build/index.js:218:22)
      at Object.<anonymous> (packages/node/src/stellar/api.stellar.spec.ts:96:71)

Report generated by 🧪jest coverage report action from 3fb04f5

@jiqiang90 jiqiang90 changed the title Sync @subql dependencies [release] 20240408 Apr 8, 2024
@jiqiang90 jiqiang90 closed this Apr 10, 2024
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