diff --git a/pkg/types/automation/interfaces.go b/pkg/types/automation/interfaces.go index a42913ef7..fa3ca0b67 100644 --- a/pkg/types/automation/interfaces.go +++ b/pkg/types/automation/interfaces.go @@ -48,10 +48,17 @@ type Encoder interface { type LogEventProvider interface { GetLatestPayloads(context.Context) ([]UpkeepPayload, error) + SetConfig(LogEventProviderConfig) Start(context.Context) error Close() error } +type LogEventProviderConfig struct { + NumLogUpkeeps uint32 + FastExecLogsHigh uint32 + FastExecLogsLow uint32 +} + type RecoverableProvider interface { GetRecoveryProposals(context.Context) ([]UpkeepPayload, error) }