cosmos/ethermint

RPC eth_getBlockByHash&eth_getBlockByNumber return inappropriate value type of difficulty/totalDifficulty

banishee opened this issue · 1 comments

System info: [Include Ethermint commit, operating system name, and other relevant details]

Steps to reproduce:

  1. The value of difficulty or totalDifficulty fetched from eth_getBlockByHash and eth_getBlockByNumber is 0, not 0x0
    "difficulty": 0,

    "totalDifficulty": 0,

Expected behavior: [What you expected to happen]

  • These api should return "0x0". It is better for developers from the ethereum community to resolve this hex value.

Actual behavior: [What actually happened]

Additional info: [Include gist of relevant config, logs, etc.]

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.