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

Sync @subql dependencies #64

Merged
merged 2 commits into from
May 2, 2024
Merged

Sync @subql dependencies #64

merged 2 commits into from
May 2, 2024

Conversation

stwiname
Copy link
Contributor

@stwiname stwiname commented May 1, 2024

Automated changes by create-pull-request GitHub action

Copy link
Contributor

github-actions bot commented May 1, 2024

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 38.72% 1605/4145
🟡 Branches 63.59% 138/217
🔴 Functions 37.18% 58/156
🔴 Lines 38.72% 1605/4145

Test suite run failed

Failed tests: 1/68. Failed suites: 1/7.
  ● StellarApi › handleError - soroban node been reset

    expect(received).rejects.toThrow(expected)

    Expected pattern: /Not Found/
    Received message: "Gone"

          275 |     sequence: number,
          276 |   ): Promise<IBlock<StellarBlockWrapper>> {
        > 277 |     const [ledger, transactions, operations, effects] = await Promise.all([
              |                                                         ^
          278 |       this.api.ledgers().ledger(sequence).call(),
          279 |       this.fetchTransactionsForLedger(sequence),
          280 |       this.fetchOperationsForLedger(sequence),

      at _callee6$ (node_modules/stellar-sdk/lib/horizon/call_builder.js:341: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 async Promise.all (index 0)
      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 5742639

@stwiname stwiname merged commit f61266d into main May 2, 2024
2 of 3 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