Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

feat: add getParsedBlock method to Connection #28345

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

jstarry
Copy link
Contributor

@jstarry jstarry commented Oct 11, 2022

Problem

No way to fetch a jsonParsed encoded block with web3.js

Summary of Changes

  • Added Connection.getParsedBlock method

Fixes #

@jstarry jstarry requested a review from yihau October 11, 2022 07:26
@jstarry jstarry force-pushed the web3/get-parsed-block branch from 332c02e to add9bd0 Compare October 11, 2022 07:26
Co-authored-by: Yihau Chen <a122092487@gmail.com>
@jstarry jstarry added the automerge Merge this Pull Request automatically once CI passes label Oct 11, 2022
@mergify mergify bot removed the automerge Merge this Pull Request automatically once CI passes label Oct 11, 2022
@mergify
Copy link
Contributor

mergify bot commented Oct 11, 2022

automerge label removed due to a CI failure

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Merging #28345 (7cb0925) into master (e6687b8) will increase coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #28345     +/-   ##
=========================================
+ Coverage    77.3%    77.5%   +0.1%     
=========================================
  Files          55       55             
  Lines        2889     2926     +37     
  Branches      402      407      +5     
=========================================
+ Hits         2234     2268     +34     
- Misses        514      517      +3     
  Partials      141      141             

@jstarry jstarry merged commit 33a328e into solana-labs:master Oct 11, 2022
@jstarry jstarry deleted the web3/get-parsed-block branch October 11, 2022 08:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants