Skip to content

Commit f2ae8e8

Browse files
author
yihuang
authored
Problem: eth_getLogs miss logs with batch transactions. (#577)
* Problem: eth_getLogs miss logs with batch transactions. * Update CHANGELOG.md Signed-off-by: yihuang <[email protected]> --------- Signed-off-by: yihuang <[email protected]>
1 parent 03a1f12 commit f2ae8e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
8181
* (rpc) [#562](https://github.com/crypto-org-chain/ethermint/pull/562) Fix nil pointer panic with legacy transaction format.
8282
* (evm) [#567](https://github.com/crypto-org-chain/ethermint/pull/567) Fix nonce management in batch transaction.
8383
* (rpc) [#574](https://github.com/crypto-org-chain/ethermint/pull/574) Fix incorrect spendable balance when debug trace tx.
84+
* (rpc) [#577](https://github.com/crypto-org-chain/ethermint/pull/577) Fix eth_getLogs miss logs with batch transactions.
8485

8586
### Improvements
8687

x/evm/types/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func DecodeTxResponses(in []byte) ([]*MsgEthereumTxResponse, error) {
7777

7878
func logsFromTxResponse(dst []*ethtypes.Log, rsp *MsgEthereumTxResponse, blockNumber uint64) []*ethtypes.Log {
7979
if len(rsp.Logs) == 0 {
80-
return nil
80+
return dst
8181
}
8282

8383
if dst == nil {

0 commit comments

Comments
 (0)