Feature/solcap read trigger - #682
Quality Gate passed
Annotations
Check warning on line 89 in chain_capabilities/solana/actions/actions.go
cl-sonarqube-production / SonarQube Code Analysis
Define a constant instead of duplicating this literal "reads are not available" 9 times.
[S1192] String literals should not be duplicated
See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=682&issues=bb84b924-4aaf-4a40-bb96-5331f51a081e&open=bb84b924-4aaf-4a40-bb96-5331f51a081e
Check warning on line 106 in chain_capabilities/solana/actions/actions.go
cl-sonarqube-production / SonarQube Code Analysis
Define a constant instead of duplicating this literal "failed to convert response to proto: %w" 7 times.
[S1192] String literals should not be duplicated
See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=682&issues=38db6276-d09b-4d4b-ac82-367b72c6f1d3&open=38db6276-d09b-4d4b-ac82-367b72c6f1d3
Check warning on line 480 in chain_capabilities/solana/trigger/trigger.go
cl-sonarqube-production / SonarQube Code Analysis
Refactor this method to reduce its Cognitive Complexity from 48 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=682&issues=5254e697-99c8-49fe-b441-e86b45678c98&open=5254e697-99c8-49fe-b441-e86b45678c98
Check warning on line 94 in chain_capabilities/solana/actions/actions.go
cl-sonarqube-production / SonarQube Code Analysis
Define a constant instead of duplicating this literal "invalid request: %w" 9 times.
[S1192] String literals should not be duplicated
See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=682&issues=84bc304a-83b1-4657-ad1a-c39ff25f5d40&open=84bc304a-83b1-4657-ad1a-c39ff25f5d40