This commit is contained in:
i-norden 2023-10-19 14:07:21 -05:00
parent 670b72ff1f
commit 82f754f31e
2 changed files with 1 additions and 2 deletions

View File

@ -726,7 +726,6 @@ type Events struct {
// that shifts as the chain progresses. // that shifts as the chain progresses.
FilterThresholdEpoch uint64 FilterThresholdEpoch uint64
// DatabasePath is the full path to a sqlite database that will be used to index actor events to // DatabasePath is the full path to a sqlite database that will be used to index actor events to
// support the historic filter APIs. If the database does not exist it will be created. The directory containing // support the historic filter APIs. If the database does not exist it will be created. The directory containing
// the database must already exist and be writeable. If a relative path is provided here, sqlite treats it as // the database must already exist and be writeable. If a relative path is provided here, sqlite treats it as

View File

@ -40,7 +40,7 @@ func EthEventAPI(cfg config.FevmConfig) func(helpers.MetricsCtx, repo.LockedRepo
ee := &full.EthEvent{ ee := &full.EthEvent{
Chain: cs, Chain: cs,
MaxFilterHeightRange: abi.ChainEpoch(cfg.Events.MaxFilterHeightRange), MaxFilterHeightRange: abi.ChainEpoch(cfg.Events.MaxFilterHeightRange),
FilterThresholdSet: cfg.Events.FilterThresholdSet, FilterThresholdSet: cfg.Events.FilterThresholdSet,
FilterThresholdEpoch: abi.ChainEpoch(cfg.Events.FilterThresholdEpoch), FilterThresholdEpoch: abi.ChainEpoch(cfg.Events.FilterThresholdEpoch),
SubscribtionCtx: ctx, SubscribtionCtx: ctx,
} }