Skip to content

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

Open
lucca30 wants to merge 26 commits into
developfrom
lmartins/wit2-signed-announce
Open

eth/protocols/wit, consensus/bor: WIT2 — BP-signed witness announcements with transitive relay and pre-import serving#2208
lucca30 wants to merge 26 commits into
developfrom
lmartins/wit2-signed-announce

eth, core/stateless: add tests for WIT2 mismatch/announce/chunk logic

fb2eb4c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 20, 2026 in 1m 5s

Annotations

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=AZ6t0SmEbL0vMjHUA48a&open=AZ6t0SmEbL0vMjHUA48a&pullRequest=2208

Check warning on line 725 in eth/handler_wit_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=AZ6uX58jRD0Uh5IyGeKa&open=AZ6uX58jRD0Uh5IyGeKa&pullRequest=2208

Check warning on line 332 in eth/handler_wit2_announces.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ8YxzRf-_kpGiYThTJw&open=AZ8YxzRf-_kpGiYThTJw&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=AZ6t0SribL0vMjHUA48d&open=AZ6t0SribL0vMjHUA48d&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=AZ6t0SqIbL0vMjHUA48c&open=AZ6t0SqIbL0vMjHUA48c&pullRequest=2208