Skip to content

[Consensus] Add extra validation to the OCR plugin - #728

Merged
bolekk merged 1 commit into
mainfrom
fixes
Aug 21, 2026
Merged

[Consensus] Add extra validation to the OCR plugin#728
bolekk merged 1 commit into
mainfrom
fixes

[Consensus] Add extra validation to the OCR plugin

43c01db
Select commit
Loading
Failed to load commit list.
CL-sonarqube-production / SonarQube Code Analysis succeeded Aug 21, 2026 in 22s

Annotations

Check warning on line 98 in consensus/oracle/plugin/plugin_outcome.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Refactor this method to reduce its Cognitive Complexity from 33 to the 30 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=728&issues=abf6a167-cf52-4096-adb1-c77d32a9d1d4&open=abf6a167-cf52-4096-adb1-c77d32a9d1d4