feat(staking,poll): incremental voter weight view + snapshot at PutPollResult (IIP-59 PR 2/6)#4866
feat(staking,poll): incremental voter weight view + snapshot at PutPollResult (IIP-59 PR 2/6)#4866envestcc wants to merge 2 commits into
Quality Gate passed
Annotations
Check warning on line 27 in action/protocol/staking/voter_weight_view.go
sonarqubecloud / SonarCloud Code Analysis
Rename this interface to follow Go naming conventions for single-method interfaces.
See more on https://sonarcloud.io/project/issues?id=iotexproject_iotex-core&issues=AZ8h2Wed8DAEfseQ4Kyp&open=AZ8h2Wed8DAEfseQ4Kyp&pullRequest=4866
Check failure on line 421 in action/protocol/staking/handlers.go
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=iotexproject_iotex-core&issues=AZ8h2Wb38DAEfseQ4Kyl&open=AZ8h2Wb38DAEfseQ4Kyl&pullRequest=4866
Check failure on line 320 in action/protocol/staking/voter_weight_view.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=iotexproject_iotex-core&issues=AZ8h2Wed8DAEfseQ4Kyn&open=AZ8h2Wed8DAEfseQ4Kyn&pullRequest=4866
Check failure on line 377 in action/protocol/staking/voter_weight_view.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=iotexproject_iotex-core&issues=AZ8h2Wed8DAEfseQ4Kyo&open=AZ8h2Wed8DAEfseQ4Kyo&pullRequest=4866
Check failure on line 206 in action/protocol/staking/voter_weight_view.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=iotexproject_iotex-core&issues=AZ8h2Wec8DAEfseQ4Kym&open=AZ8h2Wec8DAEfseQ4Kym&pullRequest=4866
Check failure on line 191 in action/protocol/staking/voter_weight_snapshot.go
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=iotexproject_iotex-core&issues=AZ8g0814IxWsyRpg8oUb&open=AZ8g0814IxWsyRpg8oUb&pullRequest=4866