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

Changing JsonRpcProvider to StaticJsonRpcProvider #26

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

0xidkfa
Copy link
Contributor

@0xidkfa 0xidkfa commented Jan 29, 2023

Changing JsonRpcProvider to StaticJsonRpcProvider, which eliminates unnecessary calls to the node for eth_callId.

This seems to reduce RPC calls made by the cauldrons.js file by almost 40% when a user's wallet is not connected.

See ethers-io/ethers.js#901

@vercel
Copy link

vercel bot commented Jan 29, 2023

@0xidkfa is attempting to deploy a commit to the Abracadabramoney Team on Vercel.

A member of the Team first needs to authorize it.

@0xhardrefresh 0xhardrefresh self-requested a review February 1, 2023 19:49
@0xhardrefresh 0xhardrefresh merged commit ee621e2 into Abracadabra-money:main Feb 1, 2023
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