Skip to content

eth_getProof results in "method handler crashed #379

@akegaviar

Description

@akegaviar

Describe the bug
On the Fantom chain, eth_getProof or ftm_getProof crashes with "method handler crashed".

You can check the call here as well: eth_getProof Fantom API reference.

To Reproduce

% curl --request POST \
     --url SONIC_NODE_RPC \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "method": "eth_getProof",
  "params": [
    "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
    [
      "0xf6e506a9cbe7546a796b187c40609a170ea8073e047129a3cae1c38e6d7559b7"
    ],
    "latest"
  ],
  "id": 1,
  "jsonrpc": "2.0"
}
'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"method handler crashed"}}

The Sonic client version is Sonic/v1.2.1-g-299d174b-1728044688/linux-amd64/go1.22.8

Additional context
I think this call is expected to work per this pull.

The call does work on the Fantom Opera client.

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