Skip to content

Casting to MsgEthereumTx in rpc not working for txs before v36 #4307

@skosito

Description

@skosito

Describe the Bug
We should cast to etherminttypes.MsgEthereumTx as fallback. Some funcs are missing on legacy MsgEthereumTx in evm module that should be added (eg. AsTransaction())

To Reproduce

eth_getBlockByNumber

testnet block: 4338639, only 2 synthetic txs present instead of 3

mainnet block: 2328117, 0 tx returned

Expected Behavior
All txs should be returned properly

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS
  • Version used

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions