Skip to content

Commit

Permalink
Merge pull request #6346 from filecoin-project/fix/empty-eth-hash-gc
Browse files Browse the repository at this point in the history
fix: api: skip evm events where we no longer have the associated txn
  • Loading branch information
simlecode authored Jun 13, 2024
2 parents b7537ec + 643724f commit f271234
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/submodule/eth/eth_event_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@ func ethFilterResultFromEvents(evs []*filter.CollectedEvent, ms *chain.MessageSt
if err != nil {
return nil, err
}
if log.TransactionHash == types.EmptyEthHash {
// We've garbage collected the message, ignore the events and continue.
continue
}

c, err := ev.TipSetKey.Cid()
if err != nil {
Expand Down

0 comments on commit f271234

Please sign in to comment.