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

Changed JsonRpcProvider for StaticJsonRpcProvider #47

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

marcvelmer
Copy link
Collaborator

In order to avoid so many calls to the method eth_chainId from the web3 endpoint, the provider has been changed from JsonRpcProvider to StaticJsonRpcProvider.

More information about the discussion in the ethers.js library can be found here: ethers-io/ethers.js#901

@marcvelmer marcvelmer requested review from brickpop and emmdim July 1, 2021 07:46
@marcvelmer marcvelmer marked this pull request as ready for review July 1, 2021 07:46
…s` and `gateway-bootnode.ts` in order to avoid calls to method `eth_chainId`
@emmdim emmdim force-pushed the f/static_json_rpc_provider branch from 2ce7cf6 to 512c6dc Compare July 1, 2021 23:31
@emmdim emmdim merged commit 3a990e8 into main Jul 1, 2021
@emmdim emmdim deleted the f/static_json_rpc_provider branch July 1, 2021 23:35
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