fix: api: skip evm events where we no longer have the associated txn (#11748)
This can happen if, e.g., we run a splitstore garbage collection. fixes #11117
This commit is contained in:
parent
02a8848b54
commit
f11a6058b5
@ -121,6 +121,10 @@ func ethFilterResultFromEvents(ctx context.Context, evs []*filter.CollectedEvent
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if log.TransactionHash == ethtypes.EmptyEthHash {
|
||||
// We've garbage collected the message, ignore the events and continue.
|
||||
continue
|
||||
}
|
||||
c, err := ev.TipSetKey.Cid()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user