-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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: RPC API does not enforce 0x prefix #2438
Comments
Thanks. The function that decodes hex does not explicitly check for @bas-vk wasn't this addressed in the new RPC? |
The new RPC layer uses the same hex decode function as the old RPC layer and thus has the same semantics. This probably has been since the inception of the RPC layer. I will create a PR that addresses this. It also falsely accepts input of uneven length. |
Hi, when can this be fixed please? It's causing the community cycles like: |
Fixed in yesterday's (1.5.4) release. |
This is not fixed yet. |
System information
Geth version: All versions
OS & Version: Windows/Linux/OSX
Commit hash : All commits
Expected behaviour
Should return:
Actual behaviour
Accepts and queues a transaction with the data interpreted as hex.
Steps to reproduce the behaviour
Make JSONRPC request using:
The text was updated successfully, but these errors were encountered: