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] 20250128 Eth #361

Merged
merged 2 commits into from
Jan 28, 2025
Merged

[release] 20250128 Eth #361

merged 2 commits into from
Jan 28, 2025

Conversation

github-actions[bot]
Copy link

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have tested locally
  • I have performed a self review of my changes
  • Updated any relevant documentation
  • Linked to any relevant issues
  • I have added tests relevant to my changes
  • Any dependent changes have been merged and published in downstream modules
  • My code is up to date with the base branch
  • I have updated relevant changelogs. We suggest using chan

Copy link
Author

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 52.87% 3321/6281
🟡 Branches 69.81% 430/616
🔴 Functions 50.53% 143/283
🔴 Lines 52.87% 3321/6281

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 3e124cb

@stwiname stwiname changed the title Sync @subql dependencies [release] 20250128 Eth Jan 28, 2025
@stwiname stwiname merged commit 6ee225d into main Jan 28, 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