Skip to content

consensus/bor: remove comments

107249a
Select commit
Loading
Failed to load commit list.
Open

(feat): tracing support for state-sync transactions #2172

consensus/bor: remove comments
107249a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 14, 2026 in 1m 1s

Annotations

Check warning on line 61 in consensus/bor/span_mock.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g198qJ_VZH48TJrdz&open=AZ4g198qJ_VZH48TJrdz&pullRequest=2172

Check warning on line 70 in consensus/bor/bor_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g199eJ_VZH48TJrd0&open=AZ4g199eJ_VZH48TJrd0&pullRequest=2172

Check warning on line 293 in consensus/bor/heimdall/span/spanner.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g198YJ_VZH48TJrdx&open=AZ4g198YJ_VZH48TJrdx&pullRequest=2172

Check failure on line 1167 in eth/tracers/api.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g192QJ_VZH48TJrdt&open=AZ4g192QJ_VZH48TJrdt&pullRequest=2172

Check warning on line 673 in eth/tracers/api.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary variable declaration and use the expression directly in the condition.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g192QJ_VZH48TJrdv&open=AZ4g192QJ_VZH48TJrdv&pullRequest=2172

Check warning on line 112 in eth/tracers/state_sync_tracing_hooks.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g197HJ_VZH48TJrdw&open=AZ4g197HJ_VZH48TJrdw&pullRequest=2172

Check warning on line 82 in eth/tracers/state_sync_tracing_hooks_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4mF0w9rfNQ6yOh_R9I&open=AZ4mF0w9rfNQ6yOh_R9I&pullRequest=2172

Check warning on line 1167 in eth/tracers/api.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g192QJ_VZH48TJrdu&open=AZ4g192QJ_VZH48TJrdu&pullRequest=2172

Check warning on line 53 in consensus/bor/span_mock.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g198qJ_VZH48TJrdy&open=AZ4g198qJ_VZH48TJrdy&pullRequest=2172

Check failure on line 714 in eth/tracers/api.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4g192QJ_VZH48TJrds&open=AZ4g192QJ_VZH48TJrds&pullRequest=2172

Check warning on line 804 in tests/bor/bor_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4mF07urfNQ6yOh_R9J&open=AZ4mF07urfNQ6yOh_R9J&pullRequest=2172