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

✨ Added call method onto JsonRpcProvider() #138

Merged
merged 16 commits into from
Jun 5, 2022
Merged

✨ Added call method onto JsonRpcProvider() #138

merged 16 commits into from
Jun 5, 2022

Conversation

arimgibson
Copy link
Contributor

@arimgibson arimgibson commented May 31, 2022

Closes #96

  • Added call method
  • Added tests against ethers.js
  • Added tests against web3.js
  • Documented call method

@arimgibson arimgibson added the New Provider fn Requires running a node proxy locally and reverse-engineering the request from ethersjs label May 31, 2022
@arimgibson arimgibson self-assigned this May 31, 2022
@vercel
Copy link

vercel bot commented May 31, 2022

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

Name Status Preview Updated
essential-eth ✅ Ready (Inspect) Visit Preview Jun 5, 2022 at 3:32AM (UTC)

@codecov
Copy link

codecov bot commented May 31, 2022

Codecov Report

Merging #138 (b313b4c) into master (abca4a1) will increase coverage by 0.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
+ Coverage   90.60%   91.03%   +0.42%     
==========================================
  Files          38       39       +1     
  Lines         926      970      +44     
  Branches      264      282      +18     
==========================================
+ Hits          839      883      +44     
  Misses         77       77              
  Partials       10       10              
Impacted Files Coverage Δ
src/classes/utils/clean-block.ts 100.00% <ø> (ø)
src/index.ts 100.00% <ø> (ø)
src/providers/utils/chains-info.ts 100.00% <ø> (ø)
src/classes/utils/prepare-transaction.ts 100.00% <100.00%> (ø)
src/providers/BaseProvider.ts 98.86% <100.00%> (+0.21%) ⬆️
src/shared/tiny-big/tiny-big.ts 96.87% <100.00%> (+0.32%) ⬆️

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 e7423d4...b313b4c. Read the comment docs.

@arimgibson arimgibson marked this pull request as ready for review June 1, 2022 03:57
@arimgibson arimgibson requested a review from dawsbot June 1, 2022 03:57
@dawsbot dawsbot assigned dawsbot and unassigned arimgibson Jun 4, 2022
@dawsbot dawsbot merged commit 04c6606 into master Jun 5, 2022
@dawsbot dawsbot deleted the feature/call branch June 5, 2022 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Provider fn Requires running a node proxy locally and reverse-engineering the request from ethersjs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add call() method onto JsonRpcProvider
2 participants