-
Notifications
You must be signed in to change notification settings - Fork 1.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_getStorage
successfully parses index that is too long
#1784
Comments
this is actually a |
Yeah, will open an issue and track there |
3 tasks
This issue is stale because it has been open for 21 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
eth_getStorage/get-invalid-key-too-large
test in therpc-compat
test suite currently fails:This is because we successfully parse
0x00000000000000000000000000000000000000000000000000000000000000000
, which is 67 characters long, or 65 characters excluding the0x
. Instead, this should be disallowed inU256
deserialization, and we should return the errorhex string of odd length
with code-32000
.Steps to reproduce
Run the steps in #851, building the docker image from the branch
dan/hive-ci
.The command to run the
eth_getStorageAt/get-invalid-key-too-large
test:Node logs
No response
Platform(s)
No response
What version/commit are you on?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: