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