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] 20241024 #353

Merged
merged 1 commit into from
Oct 24, 2024
Merged

[release] 20241024 #353

merged 1 commit into from
Oct 24, 2024

Conversation

yoozo
Copy link

@yoozo yoozo commented Oct 24, 2024

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

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 53.29% 3318/6226
🟡 Branches 69.81% 430/616
🔴 Functions 50.53% 143/283
🔴 Lines 53.29% 3318/6226

Test suite run failed

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

    Failed to fetch block 4085662

      320 |
      321 |     if (!rawBlock) {
    > 322 |       throw new Error(`Failed to fetch block ${num}`);
          |             ^
      323 |     }
      324 |
      325 |     const block = formatBlock(rawBlock);

      at EthereumApi.getBlockPromise (packages/node/src/ethereum/api.ethereum.ts:322:13)
      at EthereumApi.fetchBlock (packages/node/src/ethereum/api.ethereum.ts:341:21)
          at async Promise.all (index 1)
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v2/utils.spec.ts:63:23)

  ● rawBlockToEthBlock › can fetch receipts

    Failed to fetch block 4085662

      320 |
      321 |     if (!rawBlock) {
    > 322 |       throw new Error(`Failed to fetch block ${num}`);
          |             ^
      323 |     }
      324 |
      325 |     const block = formatBlock(rawBlock);

      at EthereumApi.getBlockPromise (packages/node/src/ethereum/api.ethereum.ts:322:13)
      at EthereumApi.fetchBlock (packages/node/src/ethereum/api.ethereum.ts:341:21)
          at async Promise.all (index 1)
      at Object.<anonymous> (packages/node/src/indexer/dictionary/v2/utils.spec.ts:63:23)


  ● Api.ethereum › Should able to check is fullBlock

    Failed to fetch block 10001

      320 |
      321 |     if (!rawBlock) {
    > 322 |       throw new Error(`Failed to fetch block ${num}`);
          |             ^
      323 |     }
      324 |
      325 |     const block = formatBlock(rawBlock);

      at EthereumApi.getBlockPromise (packages/node/src/ethereum/api.ethereum.ts:322:13)
      at EthereumApi.fetchBlock (packages/node/src/ethereum/api.ethereum.ts:341:21)
      at Object.<anonymous> (packages/node/src/ethereum/api.ethereum.test.ts:375:25)

Report generated by 🧪jest coverage report action from 36ff791

@stwiname stwiname merged commit 3ed0c00 into main Oct 24, 2024
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.

2 participants