Skip to content

bor: fall back to eligible producers when veblop candidate set is empty#618

Open
pratikspatil024 wants to merge 3 commits into
developfrom
ppatil/veblop-producer-selection-fallback
Open

bor: fall back to eligible producers when veblop candidate set is empty#618
pratikspatil024 wants to merge 3 commits into
developfrom
ppatil/veblop-producer-selection-fallback

bor, app: scope veblop empty-candidate fallback to future-span path only

b17b319
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 30, 2026 in 36s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 23 in x/bor/keeper/veblop.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=0xPolygon_heimdall-v2&issues=AZ8XRNuva2RxxbU4bd-U&open=AZ8XRNuva2RxxbU4bd-U&pullRequest=618

Check warning on line 245 in x/bor/keeper/veblop.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=0xPolygon_heimdall-v2&issues=AZ8XRNuva2RxxbU4bd-W&open=AZ8XRNuva2RxxbU4bd-W&pullRequest=618

Check failure on line 245 in x/bor/keeper/veblop.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=0xPolygon_heimdall-v2&issues=AZ8XRNuva2RxxbU4bd-V&open=AZ8XRNuva2RxxbU4bd-V&pullRequest=618