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

feat: add block header to responses in block-related queries #3092

Merged
merged 10 commits into from
Sep 4, 2024

Conversation

Torres-ssf
Copy link
Contributor

@Torres-ssf Torres-ssf commented Sep 3, 2024

Summary

This PR updates the following provider methods by including block header data in their responses:

  • getBlock
  • getBlocks
  • getBlockWithTransactions

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

@Torres-ssf Torres-ssf added the feat Issue is a feature label Sep 3, 2024
@Torres-ssf Torres-ssf self-assigned this Sep 3, 2024
Copy link

vercel bot commented Sep 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
create-fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 10:28am
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 10:28am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
create-fuels-counter-example ⬜️ Ignored (Inspect) Sep 4, 2024 10:28am

@Torres-ssf Torres-ssf changed the title St/feat/add block header to queries responses feat: add block header to responses in block-related queries Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

Coverage Report:

Lines Branches Functions Statements
79.38%(+0.11%) 72.04%(+0.11%) 77.77%(+0.22%) 79.45%(+0.12%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/account/src/providers/provider.ts 71.15%
(+2%)
64.03%
(+1.47%)
74.19%
(+3.23%)
70.79%
(+1.94%)
🔴 packages/account/src/providers/generated/operations.ts 96.37%
(+0.72%)
100%
(+0%)
88.63%
(+2.27%)
96.68%
(+0.66%)

@Torres-ssf Torres-ssf merged commit 121eca3 into master Sep 4, 2024
23 checks passed
@Torres-ssf Torres-ssf deleted the st/feat/add-block-header-to-queries-responses branch September 4, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose Block Header in getBlock and getBlockWithTransactions Responses
5 participants