You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The eth_getStorageAt/get-storage-invalid-key test in the rpc-compat suite fails because we return the wrong error:
>> {"jsonrpc":"2.0","id":11,"method":"eth_getStorageAt","params":["0xaa00000000000000000000000000000000000000","0xasdf","latest"]}
<< {"jsonrpc":"2.0","error":{"code":-32602,"message":"invalid value: string \"asdf\", expected a 32 byte hex string at line 1 column 8"},"id":11}
response differs from expected:
{
"error": {
- "code": -32602,
+ "code": -32000,
- "message": "invalid value: string "asdf", expected a 32 byte hex string at line 1 column 8"
+ "message": "invalid hex string"
},
"id": 11,
"jsonrpc": "2.0"
}
Instead, of returning "message": "invalid value: string "asdf", expected a 32 byte hex string at line 1 column 8", we should return "message": "invalid hex string"
Steps to reproduce
Run the setup for hive mentioned in #851, making sure to build the docker image from the dan/hive-ci branch.
The command for running the eth_getStorageAt/get-storage-invalid-key test:
Describe the bug
The
eth_getStorageAt/get-storage-invalid-key
test in therpc-compat
suite fails because we return the wrong error:Instead, of returning
"message": "invalid value: string "asdf", expected a 32 byte hex string at line 1 column 8"
, we should return"message": "invalid hex string"
Steps to reproduce
Run the setup for hive mentioned in #851, making sure to build the docker image from the
dan/hive-ci
branch.The command for running the
eth_getStorageAt/get-storage-invalid-key
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: