-
Notifications
You must be signed in to change notification settings - Fork 348
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_getStorageAt spec ambiguity #303
Comments
Thanks for pointing this out @aathan. I've taken a look and you are indeed correct, it is not intended for I've created a new type RPC endpoints SHOULD accept hex encoded byte values of length < 66 bytes. I apologize for the error in the specification. |
See NomicFoundation/hardhat#2581 and NomicFoundation/hardhat#2581 ... and in particular NomicFoundation/hardhat#2581 (comment)
The specification for eth_getStorageAt seems to be causing confusion for multiple projects, specifically around whether or not the RPC endpoint SHOULD accept hex encoded integers of length < 66 bytes.
This spec itself seems to contain an error in that uint256 is output as
^0x[0-9a-f]{0,64}$
... shouldn't that say {1,64} ? Is it intended that0x
is acceptable (vs0x0
)?The text was updated successfully, but these errors were encountered: