Skip to content

eth_getBlockByHash raises on missing block #17

@arnetheduck

Description

@arnetheduck

Per documentation, https://github.com/ethereum/wiki/wiki/json-rpc#eth_getblockbyhash returns a null object when the block cannot be found - a Option[Block..] would be a more natural mapping instead of a an exception with msg Parameter [result] expected JObject but got JNull - the latter is hard to filter for, and yet constitutes a "normal" non-exceptional response to the request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions