ethermint icon indicating copy to clipboard operation
ethermint copied to clipboard

RPC eth_getBlockByHash does not work as expected

Open banishee opened this issue 4 years ago • 1 comments

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

  • branch dev

Steps to reproduce:

  1. If a developer calls this api, he will only get all the hashes of the transactions in a block, notthe full transaction objects

Expected behavior: [What you expected to happen]

  • Based on document from https://eth.wiki/json-rpc/API, a developer can theoretically choose what type of return results to get image

Actual behavior: [What actually happened]

  • In ethermint project, it only returns one type of result —— the hashes of the transactions https://github.com/cosmos/ethermint/blob/fae8147352e65b86f0755a081f3b59b1e25d48bf/rpc/types/utils.go#L181

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

banishee avatar Feb 17 '21 09:02 banishee

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[bot] avatar Apr 04 '21 00:04 github-actions[bot]