Skip to content

Merge branch 'main' into minhd-vu/rpc-methods

d39c064
Select commit
Loading
Failed to load commit list.
Draft

feat(sensor): support more rpc methods #862

Merge branch 'main' into minhd-vu/rpc-methods
d39c064
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 27, 2026 in 22s

Annotations

Check failure on line 706 in cmd/p2p/sensor/rpc.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_polygon-cli&issues=AZyVClv8ON3-4rlGnSrf&open=AZyVClv8ON3-4rlGnSrf&pullRequest=862

Check failure on line 133 in p2p/conns.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_polygon-cli&issues=AZ0qGaUay7swYY2CP9Pn&open=AZ0qGaUay7swYY2CP9Pn&pullRequest=862

Check failure on line 441 in cmd/p2p/sensor/rpc.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "invalid block hash parameter" 3 times.

See more on https://sonarcloud.io/project/issues?id=0xPolygon_polygon-cli&issues=AZyVClv8ON3-4rlGnSrc&open=AZyVClv8ON3-4rlGnSrc&pullRequest=862

Check failure on line 64 in cmd/p2p/sensor/rpc.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_polygon-cli&issues=AZy0JiLgoOl007uiBGTJ&open=AZy0JiLgoOl007uiBGTJ&pullRequest=862

Check failure on line 616 in cmd/p2p/sensor/rpc.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=0xPolygon_polygon-cli&issues=AZyVClv8ON3-4rlGnSre&open=AZyVClv8ON3-4rlGnSre&pullRequest=862

Check failure on line 64 in cmd/p2p/sensor/api.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_polygon-cli&issues=AZ0EsRrQuLbE7AhQd-dq&open=AZ0EsRrQuLbE7AhQd-dq&pullRequest=862