-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
"eth_chainId" sometimes returns 0x0 instead of the correct chainId #20894
Comments
seems to just happen for "--testnet" - got the correct results for --goerli and main net. Testnet will be deprecated soon anyway as of #20852 - but should still be fixed IMHO. Thanks for the report |
Hi there, running a geth client on main net
and trying to get the network id via ws api request returns "0x0" too.
|
hm - very strange - for mainnet I get the correct result:
|
for me it is also working when it is still syncing:
there must be something else to it. But I would also expect to give the correct result when it is still syncing. |
|
wasn't the "--ropsten" just included by your PR? Did not try it on top of this - but also do not see why this would be the reason. |
For me it works only for the
|
The PR implementing this feature: https://github.com/ethereum/go-ethereum/pull/19694/files |
currently it depends on the sync state - but IMHO it should just take the value from the config |
Hi there,
I am trying to set up a chainlinnk node with latest stable geth client, but it fails vecause of missing chainId value.
System information
Geth version:
OS & Version:
The text was updated successfully, but these errors were encountered: