Skip to content

feat(rewarding,poll,staking): IIP-59 voter reward distribution (PR 4/5)#4864

Closed
envestcc wants to merge 9 commits into
iotexproject:masterfrom
envestcc:iip-59/pr4-voter-reward
Closed

feat(rewarding,poll,staking): IIP-59 voter reward distribution (PR 4/5)#4864
envestcc wants to merge 9 commits into
iotexproject:masterfrom
envestcc:iip-59/pr4-voter-reward

refactor(staking,rewarding,poll): per-epoch voter weight snapshot (II…

6c4846b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 30, 2026 in 51s

Annotations

Check failure on line 63 in action/protocol/rewarding/voter_reward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=iotexproject_iotex-core&issues=AZ8TPr4FqFU3c7msm8Ub&open=AZ8TPr4FqFU3c7msm8Ub&pullRequest=4864

Check failure on line 124 in action/protocol/staking/voter_weight_snapshot.go

See this annotation in the file changed.

@sonarqubecloud 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=AZ8XtoEA519iTKrqrLLF&open=AZ8XtoEA519iTKrqrLLF&pullRequest=4864

Check failure on line 416 in action/protocol/staking/protocol.go

See this annotation in the file changed.

@sonarqubecloud 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=AZ8TPr9DqFU3c7msm8Uc&open=AZ8TPr9DqFU3c7msm8Uc&pullRequest=4864