Skip to content

Commit

Permalink
Return 0 payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Jun 27, 2024
1 parent fedb8cb commit 56701a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ func (r *logRecoverer) getLogTriggerCheckData(ctx context.Context, proposal ocr2
}

func (r *logRecoverer) GetRecoveryProposals(ctx context.Context) ([]ocr2keepers.UpkeepPayload, error) {
r.lggr.Debugf("returning 0 recoverable payloads in no op recoverer")

return nil, nil

Check failure on line 290 in core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/recoverer.go

View workflow job for this annotation

GitHub Actions / lint

unreachable-code: unreachable code after this statement (revive)

latestBlock, err := r.poller.LatestBlock(ctx)

Check failure on line 292 in core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/recoverer.go

View workflow job for this annotation

GitHub Actions / lint

unreachable: unreachable code (govet)
if err != nil {
return nil, fmt.Errorf("%w: %s", ErrHeadNotAvailable, err)
Expand Down

0 comments on commit 56701a6

Please sign in to comment.