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] 20240125 #98

Merged
merged 5 commits into from
Jan 25, 2024
Merged

[release] 20240125 #98

merged 5 commits into from
Jan 25, 2024

Conversation

stwiname
Copy link
Contributor

Automated changes by create-pull-request GitHub action

Copy link
Contributor

github-actions bot commented Jan 25, 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 29.63% 1020/3442
🔴 Branches 52.53% 52/99
🔴 Functions 22.69% 27/119
🔴 Lines 29.63% 1020/3442

Test suite run failed

Failed tests: 2/16. Failed suites: 2/4.
  ● ApiService › waits on pending block to fetch hash

    URLTokenBaseHTTPError: Network request error. Received status 404 (Not Found): error while looking up block for round '35515625': block not found

      43 |   async getBlockByHeight(height: number): Promise<AlgorandBlock> {
      44 |     try {
    > 45 |       const blockInfo = await this.api.lookupBlock(height).do();
         |                         ^
      46 |       return this.constructBlock(camelCaseObjectKey(blockInfo));
      47 |     } catch (error) {
      48 |       if (error.message.includes('Max transactions limit exceeded')) {

      at Function.checkHttpError (node_modules/algosdk/src/client/urlTokenBaseHTTPClient.ts:135:11)
      at Function.formatFetchResponse (node_modules/algosdk/src/client/urlTokenBaseHTTPClient.ts:145:5)
      at HTTPClient.get (node_modules/algosdk/src/client/client.ts:239:19)
      at LookupBlock.do (node_modules/algosdk/src/client/v2/jsonrequest.ts:61:17)
      at AlgorandApi.getBlockByHeight (packages/node/src/algorand/api.algorand.ts:45:25)
      at AlgorandApi.getBlockHash (packages/node/src/algorand/api.algorand.ts:221:28)
      at packages/node/src/algorand/api.algorand.ts:190:22
          at async Promise.all (index 0)
      at AlgorandApi.fetchBlocks (packages/node/src/algorand/api.algorand.ts:188:14)


  ● dictionary service › successfully validates metatada

    expect(received).resolves.toBeTruthy()

    Received: false

      29 |         'wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=',
      30 |       ),
    > 31 |     ).resolves.toBeTruthy();
         |                ^
      32 |   });
      33 | });
      34 |

      at Object.toBeTruthy (node_modules/expect/build/index.js:242:22)
      at Object.<anonymous> (packages/node/src/indexer/dictionary.service.spec.ts:31:16)

Report generated by 🧪jest coverage report action from d8517d6

@bz888 bz888 changed the title Sync @subql dependencies [release] 20240125 Jan 25, 2024
@@ -25,7 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [3.4.0] - 2023-11-13
### Changed
- Updates to match changes in `@subql/node-core` (#91)
- Updates to match changes in
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be reverted

@stwiname stwiname merged commit 66128c9 into main Jan 25, 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