Skip to content

internal/cli/server: map reorg & non-contiguous range sentinels; tidy…

3c51b89
Select commit
Loading
Failed to load commit list.
Open

consensus/bor, internal/cli: full grpc implementation #2194

internal/cli/server: map reorg & non-contiguous range sentinels; tidy…
3c51b89
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 6, 2026 in 57s

Annotations

Check failure on line 45 in internal/cli/server/api_service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "invalid range: end exceeds max int64" 3 times.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ38DIt7BmOcEYzVr-FD&open=AZ38DIt7BmOcEYzVr-FD&pullRequest=2194

Check failure on line 42 in internal/cli/server/api_service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "invalid range: end < start" 3 times.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_bor&issues=AZ38DIt7BmOcEYzVr-FE&open=AZ38DIt7BmOcEYzVr-FE&pullRequest=2194

Check failure on line 278 in internal/cli/server/api_service_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check failure on line 325 in internal/cli/server/api_service_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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