-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
Geth v1.5.4 JSON RPC behaving incorrectly #3367
Comments
Already responded on Skype. The params missed |
Additionally it does respond with |
Thanks @obscuren I can't reproduce the getting the missing 0x prefix error, which is why I reported it here. |
|
I will close this because I can no longer reproduce the behavior I posted above. I have no idea how or why this was happening |
The bug is reproducible indeed. I try to follow the article https://goo.gl/0PdBtF and get this bug every time. |
Just to clarify: the 1.5.5 is not affected by this bug. |
System information
Geth version:
geth version
OS & Version: Linux version 3.13.0-74-generic (buildd@lcy01-07) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015
Expected behaviour
I'm sending the following to geth via the JSONRPC
{"jsonrpc":"2.0","method":"eth_getBalance","params":["29d5527caa78f1946a409fa6acaf14a0a4a0274b","latest"],"id":1}
It comes back with:
{"jsonrpc":"2.0","id":1,"result":"0x295ff8"}
It should either error out (i'm not prefixing the address with "0x") or give the correct response. on v1.5.3 the response is:
{"jsonrpc":"2.0","id":1,"result":"0x50c60ae896b3c90000"}
At the time of writing, that address had 1,490.01 Ether in it.
Actual behaviour
The response is neither an error nor the correct amount.
Steps to reproduce the behaviour
Simply send the command above to the json rpc
Backtrace
none
The text was updated successfully, but these errors were encountered: