-
Notifications
You must be signed in to change notification settings - Fork 682
Add eth_chainId
RPC endpoint
#339
Comments
After discussion with nivida from web3js, this method is needed to use ganache with web3js. |
I did the same but he didn't fix the problem for me. I changed the web3 version in package.json and try to run the tests but the Web3() constructor crashes. |
Thank you @tcichowicz for not being a psycho capitalist |
@davidmurdoch Is this issue closed now with the push today? Tcichowicz code should be merged right? It is bad that ganache and the latest version of Web3 Don't work together |
Any update on this? The issue in the web3.js repo has been closed (web3/web3.js#2610) but I'm still getting the same error in web3
|
@davidmurdoch please review #419 so we can finally use latest web3 and ganache versions together |
I've hesitated adding this as the value it returns should be configurable. I'll go ahead and merge this into develop now regardless and follow up with a new Issue to add a chain_id configuration option to core, cli, and UI. Thanks for keeping on top of this @imbenwolf and @lucashenning! Aside, it may be worth it to know that [email protected] is the version of web3 that will be released as stable. PR here: web3/web3.js#2905 |
Followup issue: #441 Thanks again! |
https://github.com/ethereumproject/go-ethereum/wiki/JSON-RPC#eth_chainid
The text was updated successfully, but these errors were encountered: