miner, consensus/bor: fix leaked-wedge family in worker state machine #2220
SonarQubeCloud / SonarCloud Code Analysis
failed
May 13, 2026 in 6m 7s
Quality Gate failed
Failed conditions
6.4% Duplication on New Code (required ≤ 3%)
Annotations
Check failure on line 1418 in consensus/bor/bor.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4ii-XZd_NUUJjVb8ah&open=AZ4ii-XZd_NUUJjVb8ah&pullRequest=2220
Check failure on line 965 in miner/worker.go
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=AZ4ii-cDd_NUUJjVb8ai&open=AZ4ii-cDd_NUUJjVb8ai&pullRequest=2220
Check failure on line 2974 in tests/bor/bor_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ4Z4h3ubecdMl7R8zDd&open=AZ4Z4h3ubecdMl7R8zDd&pullRequest=2220
Loading