-
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
The slot parameter of eth_getStorageAt
should accept hex encoded unsigned integers
#2230
Comments
Maybe we should just support |
@fvictorio is there any easy workaround known for this for now until this gets fixed? Turn off the validation somehow? |
@meetmangukiya no workaround AFAIK, but I'll try to get this prioritized. |
Bump, I'd love to see this fixed 🙂 |
We are working on a set of helpers that should make this kind of stuff way easier and less error-prone. We are going to release it in the coming weeks. |
Did #2581 close this? |
Yes! Thanks for the reminder. |
We are expecting the storage slot parameter of
getStorageAt
to be aQUANTITY
, but the spec says that the parameter should be:Notice that the value should have a length of 64, but we'll reject many of those (because values with leading zeros are not a valid
QUANTITY
)I don't know if we can start rejecting shorter values though. On one hand, we try to be as spec-compliant as possible, but in the other hand that would be a breaking change.
The text was updated successfully, but these errors were encountered: