diff --git a/core/services/ocr2/plugins/ccip/ccipcommit/ocr2.go b/core/services/ocr2/plugins/ccip/ccipcommit/ocr2.go index cf84e22867..4fcf2cb564 100644 --- a/core/services/ocr2/plugins/ccip/ccipcommit/ocr2.go +++ b/core/services/ocr2/plugins/ccip/ccipcommit/ocr2.go @@ -92,12 +92,7 @@ type CommitReportingPlugin struct { } // Query is not used by the CCIP Commit plugin. -func (r *CommitReportingPlugin) Query(ctx context.Context, _ types.ReportTimestamp) (types.Query, error) { - if healthy, err := r.chainHealthcheck.IsHealthy(ctx, false); err != nil { - return nil, err - } else if !healthy { - return nil, ccip.ErrChainIsNotHealthy - } +func (r *CommitReportingPlugin) Query(context.Context, types.ReportTimestamp) (types.Query, error) { return types.Query{}, nil } diff --git a/core/services/ocr2/plugins/ccip/ccipexec/ocr2.go b/core/services/ocr2/plugins/ccip/ccipexec/ocr2.go index aa87a2ab5f..0cb3ef44ab 100644 --- a/core/services/ocr2/plugins/ccip/ccipexec/ocr2.go +++ b/core/services/ocr2/plugins/ccip/ccipexec/ocr2.go @@ -93,12 +93,7 @@ type ExecutionReportingPlugin struct { chainHealthcheck cache.ChainHealthcheck } -func (r *ExecutionReportingPlugin) Query(ctx context.Context, _ types.ReportTimestamp) (types.Query, error) { - if healthy, err := r.chainHealthcheck.IsHealthy(ctx, false); err != nil { - return nil, err - } else if !healthy { - return nil, ccip.ErrChainIsNotHealthy - } +func (r *ExecutionReportingPlugin) Query(context.Context, types.ReportTimestamp) (types.Query, error) { return types.Query{}, nil }