"blockHash" parameter for the filter used by "eth_newFilter" should be camel cased #1540
Labels
bug
Something isn't working
P3
Medium (ex: JSON-RPC request not working with a specific client library due to loose spec assumtion)
TeamRevenant
GH issues worked on by Revenant Team
Currently, Besu expects "blockhash" (lower cased) as a parameter but it should be "blockHash" (camel cased) to be EIP-234 compliant.
besu/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/FilterParameter.java
Line 52 in 67191aa
For example, this request returns
400 Bad Request
with message "Invalid params":And the same request with the "blockHash" replaced with "blockhash" returns
200 OK
.The text was updated successfully, but these errors were encountered: