Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

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

Open
banishee opened this issue Feb 17, 2021 · 1 comment
Labels
rpc Ethereum JSON-RPC related issues and PRs Status: On Ice Type: User Reported

Comments

@banishee
Copy link

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.]

@github-actions
Copy link

github-actions bot commented Apr 4, 2021

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.

@github-actions github-actions bot added the stale stale PRs that will be closed if no further action occurs label Apr 4, 2021
@araskachoi araskachoi reopened this Apr 12, 2021
@araskachoi araskachoi reopened this May 10, 2021
@araskachoi araskachoi added Status: On Ice rpc Ethereum JSON-RPC related issues and PRs Type: User Reported labels May 10, 2021
@github-actions github-actions bot removed the stale stale PRs that will be closed if no further action occurs label May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
rpc Ethereum JSON-RPC related issues and PRs Status: On Ice Type: User Reported
Projects
None yet
Development

No branches or pull requests

2 participants