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 headers for 2025 #362

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Update headers for 2025 #362

merged 2 commits into from
Feb 10, 2025

Conversation

stwiname
Copy link

No description provided.

Copy link

github-actions bot commented Feb 10, 2025

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 52.9% 3324/6284
🟡 Branches 69.81% 430/616
🔴 Functions 50.53% 143/283
🔴 Lines 52.9% 3324/6284

Test suite run failed

Failed tests: 3/96. Failed suites: 2/14.
  ● rawBlockToEthBlock › successfully converts a block

    TypeError: Cannot read properties of undefined (reading 'blocks')

      52 |   });
      53 |
    > 54 |   return (await res.json()).result.blocks[0];
         |                                    ^
      55 | }
      56 |
      57 | describe('rawBlockToEthBlock', () => {

      at fetchDictionaryBlock (packages/node/src/indexer/dictionary/v2/utils.spec.ts:54:36)
          at async Promise.all (index 0)
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v2/utils.spec.ts:63:23)

  ● rawBlockToEthBlock › can fetch receipts

    TypeError: Cannot read properties of undefined (reading 'blocks')

      52 |   });
      53 |
    > 54 |   return (await res.json()).result.blocks[0];
         |                                    ^
      55 | }
      56 |
      57 | describe('rawBlockToEthBlock', () => {

      at fetchDictionaryBlock (packages/node/src/indexer/dictionary/v2/utils.spec.ts:54:36)
          at async Promise.all (index 0)
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v2/utils.spec.ts:63:23)


  ● eth dictionary v2 › query response match with entries

    Dictionary query failed Error: method handler crashed

      146 |
      147 |   it('query response match with entries', async () => {
    > 148 |     const ethBlocks = (await ethDictionaryV2.getData(
          |                        ^
      149 |       19217803,
      150 |       (ethDictionaryV2 as any)._metadata.end,
      151 |       2,

      at EthDictionaryV2.getData (node_modules/@subql/node-core/src/indexer/dictionary/v2/dictionaryV2.ts:162:13)
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v2/ethDictionaryV2.spec.ts:148:24)

Report generated by 🧪jest coverage report action from fc6917e

@stwiname stwiname merged commit 97e4af0 into main Feb 10, 2025
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.

1 participant