Skip to content

wit2: deferred-announce queue closes the cosend race

b3cb00e
Select commit
Loading
Failed to load commit list.
Open

eth/protocols/wit, consensus/bor: WIT2 — BP-signed witness announcements with transitive relay and pre-import serving #2208

wit2: deferred-announce queue closes the cosend race
b3cb00e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 5, 2026 in 38s

Quality Gate failed

Annotations

Check warning on line 733 in eth/fetcher/witness_manager.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=AZ35R4yMExDLy7Wk4S9a&open=AZ35R4yMExDLy7Wk4S9a&pullRequest=2208

Check failure on line 256 in core/stateless/witness_commit_helpers_test.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=AZ3fn_1AYRXOOU0WzXkw&open=AZ3fn_1AYRXOOU0WzXkw&pullRequest=2208

Check warning on line 74 in eth/protocols/wit/protocol_wit2_test.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=AZ3fn_1VYRXOOU0WzXkx&open=AZ3fn_1VYRXOOU0WzXkx&pullRequest=2208

Check failure on line 47 in core/stateless/witness_commit.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 263 in eth/fetcher/block_fetcher.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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