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

test eth_getBlockByHash #301

Closed
noot opened this issue May 15, 2020 · 1 comment · Fixed by #333
Closed

test eth_getBlockByHash #301

noot opened this issue May 15, 2020 · 1 comment · Fixed by #333
Assignees

Comments

@noot
Copy link
Contributor

noot commented May 15, 2020

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

Steps to reproduce:

  1. test TestBlockBloom_Hash
 ETHERMINT_NODE_HOST=http://localhost:8545 ETHERMINT_INTEGRATION_TEST_MODE=stable go test ./tests/... -test.v -test.run ^TestBlockBloom_Hash
  1. the test fails because the call to eth_getBlockByHash fails to find a block number with that hash

Expected behavior: [What you expected to happen]

block is found

Actual behavior: [What actually happened]

block hash to height mapping cannot be found

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

@noot noot self-assigned this May 15, 2020
@ayeteng
Copy link

ayeteng commented May 15, 2020

eth_getBlockByNumber should return the block hash but not working either.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants