ethermint
ethermint copied to clipboard
RPC eth_getBlockByNumber dose not work as expected in the project ethers.js
System info: [Include Ethermint commit, operating system name, and other relevant details]
- branch
dev
Steps to reproduce:
-
Project
ethers.js
calls eth_getBlockByNumber on projectethermint
, then returns the result as follows: -
Project
ethers.js
calls eth_getBlockByNumber on projectethereum
, then returns the result as follows: -
Because the value of
extraData
fromethermint
is0x0
,it will cause the hex length check to fail https://github.com/ethers-io/ethers.js/blob/master/packages/providers/src.ts/formatter.ts#L200
Expected behavior: [What you expected to happen]
-
ethers.js
is a famous ethereum related project. I wish the value ofextraData
onethermint
could be consistent with projectethereum
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.