* wip
* rename GetTendermintBlockByNumber to TendermintBlockByNumber
* rename GetTendermintBlockResultByNumber to TendermintBlockResultByNumber
* rename GetTendermintBlockByHash to TendermintBlockByHash
* rename BlockByNumber to EthBlockByNumber
* rename BlockByHash to EthBlockByHash
* rename GetBlockNumberByHash to BlockNumberFromTendermintByHash
* rename GetBlockNumber to BlockNumberFromTendermint
* rename GetEthereumMsgsFromTendermintBlock to EthMsgsFromTendermintBlock
* rename GetEthBlockFromTendermint to BlockFromTendermintBlock
* rename EthBlockFromTendermint to EthBlockFromTendermintBlock
* add TestEthBlockFromTendermintBlock with no transactions. Note that this endpoint is breaking when querying a block with transactions
* add block transaction count tests
* add TendermintBlockByHash test'
* add TestBlockNumberFromTendermint tests
* add HeaderByHash and HeaderByNumber tests
* add EthBlockFromTendermintBlock test
* add TestEthBlockByNumber tests
* Specificy that the endpoints are getting Etherum transactions in comments
* Refactor shared logic into GetBlockTransactionCount
* rename BlockFromTendermintBlock to RPCBlockFromTendermintBlock
* add CHangelog
* Emit eth tx hash in ante handler to support query failed transactions
WIP: #1045
Solution:
- emit eth tx hash in ante handler
- modify rpc to use it
fix ante handler
support failed tx in receipt
add unit tests
need to patch cosmos-sdk to work
update cosmos-sdk to v0.45.x release branch
fix failed status
fix unit tests
add unit test cases
cleanup dead code
Apply suggestions from code review
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
fix lint
fix review suggestions
fix build
fix gas used of failed tx
add back the redundant events
* fix get tx by index
* add unit tests for events
* Update rpc/types/events.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* update comments
* refactoring
* Update rpc/namespaces/ethereum/eth/api.go
* fix lint
* Apply suggestions from code review
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>