Skip to content

eth_getTransactionByBlockHashAndIndex method handler crashed on certain hashes on Zetachain Testnet #2218

@SMihai97

Description

@SMihai97

Describe the Bug
Method eth_getTransactionByBlockHashAndIndex returns method handler crashed on certain block hashes on Zetachain Testnet

To Reproduce
Example request that seems to always fail:
{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "id": 149496, "params": ["0xb04be10a56413498a21b176640582dcf9101c8bb81e4df344a2836683d31e4ac", "0x0"]}

Response:
{"jsonrpc":"2.0","id":149496,"error":{"code":-32000,"message":"method handler crashed"}}

Expected Behavior
A complete response regarding the transaction, this block hash seems to work:
{"jsonrpc": "2.0", "method": "eth_getTransactionByBlockHashAndIndex", "id": 149496, "params": ["0xa0dc403463ba9d0e144bc3878fe02bcbae2aeb2ddcbb3e3fe8e5649107ba1de7", "0x0"]}

Environment (please complete the following information):

  • OS : Ubuntu 22.04
  • Version used:
    zetacored version 15

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