Skip to content

Problem: different result from eth_getProof comparing with Ethereum #749

@macong-cdc

Description

@macong-cdc

Describe the bug
Result from eth_getProof RPC method is different from Ethereum EIP-1186

To Reproduce
Steps to reproduce the behavior:
You may try

curl --location --request POST 'https://evm-t3.cronos.org' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getProof",
    "params": [
        "0x4CecAA8ad42Ba5c0D69C6F68a273901C6fd52B02",
        ["0x1"],
        "0x588200"
    ],
    "id": 0
}'

Expected behavior
accountProof and proof under storageProof in the json returned are not hex-strings.

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