Skip to content

Commit

Permalink
fix: not set messagestorage
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Oct 12, 2023
1 parent 6c1c56e commit 598fb41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/submodule/eth/eth_event_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ func newEthEventAPI(ctx context.Context, em *EthSubModule) (*ethEventAPI, error)
}

ee.EventFilterManager = &filter.EventFilterManager{
ChainStore: bsstore,
EventIndex: eventIndex, // will be nil unless EnableHistoricFilterAPI is true
MessageStore: ee.em.chainModule.MessageStore,
ChainStore: bsstore,
EventIndex: eventIndex, // will be nil unless EnableHistoricFilterAPI is true
AddressResolver: func(ctx context.Context, emitter abi.ActorID, ts *types.TipSet) (address.Address, bool) {
// we only want to match using f4 addresses
idAddr, err := address.NewIDAddress(uint64(emitter))
Expand Down

0 comments on commit 598fb41

Please sign in to comment.