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

blockchain.getBlock, getBlockHeight, getBlockHash #91

Merged
merged 8 commits into from
Apr 6, 2021

Conversation

canonbrother
Copy link
Contributor

@canonbrother canonbrother commented Apr 1, 2021

What kind of PR is this?:

/kind feature

What this PR does / why we need it:

Implemented type for RPC: #48

  1. blockchain.getBlock
  2. blockchain.getBlockHash
  3. blockchain.getBlockCount

@netlify
Copy link

netlify bot commented Apr 1, 2021

Deploy preview for jellyfish-defi ready!

Built with commit 7daa3ff

https://deploy-preview-91--jellyfish-defi.netlify.app

@defichain-bot defichain-bot added the kind/feature New feature request label Apr 1, 2021
@github-actions
Copy link

github-actions bot commented Apr 1, 2021

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/jellyfish/dist/jellyfish.umd.js 15.84 KB (+0.53% 🔺) 317 ms (+0.53% 🔺) 159 ms (-10.79% 🔽) 476 ms

@codecov
Copy link

codecov bot commented Apr 2, 2021

Codecov Report

Merging #91 (7daa3ff) into main (501ada3) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
+ Coverage   93.46%   93.53%   +0.07%     
==========================================
  Files          16       16              
  Lines         260      263       +3     
  Branches       30       30              
==========================================
+ Hits          243      246       +3     
  Misses         15       15              
  Partials        2        2              
Impacted Files Coverage Δ
...ages/jellyfish-api-core/src/category/blockchain.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 501ada3...7daa3ff. Read the comment docs.

canonbrother and others added 2 commits April 2, 2021 14:53
- renamed RawTx to Transaction since its actually Transaction in this case
- documented each verbosity and make it non-optional, you have to specific verbosity.
- updated website with the latest changes
@fuxingloh fuxingloh enabled auto-merge (squash) April 5, 2021 08:29
@fuxingloh fuxingloh changed the title blockchain.getBlock blockchain.getBlock, getBlockHeight, getBlockHash Apr 5, 2021
@fuxingloh fuxingloh disabled auto-merge April 6, 2021 02:37
@fuxingloh fuxingloh merged commit 2faa6d4 into main Apr 6, 2021
@fuxingloh fuxingloh deleted the canonbrother/rpc-blockchain-getblock branch April 6, 2021 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants