Skip to content

Add transmission attempt gas limit assertion with user provided value - #766

Open
Unheilbar wants to merge 6 commits into
mainfrom
add_onchain_gas_missmatch_check
Open

Unheilbar wants to merge 6 commits into
mainfrom
add_onchain_gas_missmatch_check

Merge branch 'main' into add_onchain_gas_missmatch_check

a397ee2
Select commit
Loading
Failed to load commit list.
CL-sonarqube-production / SonarQube Code Analysis succeeded Oct 2, 2026 in 17s

Annotations

Check warning on line 30 in chain_capabilities/evm/monitoring/processor.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 82 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=766&issues=8982db64-d870-4e59-8e0b-29f58b12bc5b&open=8982db64-d870-4e59-8e0b-29f58b12bc5b

Check warning on line 290 in chain_capabilities/evm/actions/write_report.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 32 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=766&issues=39173070-7741-40fb-a2fd-8c5619f87178&open=39173070-7741-40fb-a2fd-8c5619f87178

Check warning on line 158 in chain_capabilities/evm/actions/write_report.go

See this annotation in the file changed.

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

Define a constant instead of duplicating this literal "WriteReport unexpected successful transmission" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=766&issues=54abab9d-dd47-4bfd-9482-eebd7e7ca084&open=54abab9d-dd47-4bfd-9482-eebd7e7ca084

Check warning on line 107 in chain_capabilities/evm/actions/write_report.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 56 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=766&issues=9b3f15d6-665b-4c2f-b596-cd301d986162&open=9b3f15d6-665b-4c2f-b596-cd301d986162