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] 20240224 #100

Merged
merged 4 commits into from
Feb 24, 2024
Merged

[release] 20240224 #100

merged 4 commits into from
Feb 24, 2024

Conversation

stwiname
Copy link
Contributor

Automated changes by create-pull-request GitHub action

Copy link
Contributor

github-actions bot commented Feb 23, 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.58% 1020/3448
🔴 Branches 52.53% 52/99
🔴 Functions 22.69% 27/119
🔴 Lines 29.58% 1020/3448

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 '36386753': 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)

  ● ApiService › waits on pending block to fetch hash

    URLTokenBaseHTTPError: Network request error. Received status 404 (Not Found): error while looking up block for round '36386753': 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 872d2c1

@bz888 bz888 changed the title Sync @subql dependencies [release] 20240224 Feb 23, 2024
@bz888 bz888 merged commit 49a2200 into main Feb 24, 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