Skip to content

Commit

Permalink
Merge pull request #6104 from filecoin-project/fix/elvindu/fix-duplic…
Browse files Browse the repository at this point in the history
…ate-actor-events

fix duplicate actor events / 解决以太坊event 日志重复问题
  • Loading branch information
simlecode authored Aug 18, 2023
2 parents 5449ecc + a141112 commit 64a8fcd
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 49 deletions.
2 changes: 1 addition & 1 deletion app/submodule/eth/eth_event_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func newEthEventAPI(ctx context.Context, em *EthSubModule) (*ethEventAPI, error)
}

var err error
eventIndex, err = filter.NewEventIndex(dbPath)
eventIndex, err = filter.NewEventIndex(ctx, dbPath, em.chainModule.ChainReader)
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 64a8fcd

Please sign in to comment.