feat: add function to withdraw and check delegator rewards #3088
42.75% of diff hit (target 62.06%)
View this Pull Request on Codecov
42.75% of diff hit (target 62.06%)
Annotations
Check warning on line 169 in precompiles/staking/logs.go
codecov / codecov/patch
precompiles/staking/logs.go#L158-L169
Added lines #L158 - L169 were not covered by tests
Check warning on line 176 in precompiles/staking/logs.go
codecov / codecov/patch
precompiles/staking/logs.go#L171-L176
Added lines #L171 - L176 were not covered by tests
Check warning on line 180 in precompiles/staking/logs.go
codecov / codecov/patch
precompiles/staking/logs.go#L178-L180
Added lines #L178 - L180 were not covered by tests
Check warning on line 32 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L28-L32
Added lines #L28 - L32 were not covered by tests
Check warning on line 37 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L36-L37
Added lines #L36 - L37 were not covered by tests
Check warning on line 69 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L66-L69
Added lines #L66 - L69 were not covered by tests
Check warning on line 89 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L75-L89
Added lines #L75 - L89 were not covered by tests
Check warning on line 96 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L92-L96
Added lines #L92 - L96 were not covered by tests
Check warning on line 104 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L99-L104
Added lines #L99 - L104 were not covered by tests
Check warning on line 112 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L107-L112
Added lines #L107 - L112 were not covered by tests
Check warning on line 121 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L116-L121
Added lines #L116 - L121 were not covered by tests
Check warning on line 128 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L123-L128
Added lines #L123 - L128 were not covered by tests
Check warning on line 131 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L131
Added line #L131 was not covered by tests
Check warning on line 140 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L137-L140
Added lines #L137 - L140 were not covered by tests
Check warning on line 147 in precompiles/staking/method_claim_rewards.go
codecov / codecov/patch
precompiles/staking/method_claim_rewards.go#L144-L147
Added lines #L144 - L147 were not covered by tests
Check warning on line 26 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L22-L26
Added lines #L22 - L26 were not covered by tests
Check warning on line 31 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L30-L31
Added lines #L30 - L31 were not covered by tests
Check warning on line 37 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L36-L37
Added lines #L36 - L37 were not covered by tests
Check warning on line 59 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L56-L59
Added lines #L56 - L59 were not covered by tests
Check warning on line 68 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L64-L68
Added lines #L64 - L68 were not covered by tests
Check warning on line 76 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L72-L76
Added lines #L72 - L76 were not covered by tests
Check warning on line 87 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L84-L87
Added lines #L84 - L87 were not covered by tests
Check warning on line 94 in precompiles/staking/method_get_rewards.go
codecov / codecov/patch
precompiles/staking/method_get_rewards.go#L91-L94
Added lines #L91 - L94 were not covered by tests
Check warning on line 24 in precompiles/staking/method_get_validators.go
codecov / codecov/patch
precompiles/staking/method_get_validators.go#L20-L24
Added lines #L20 - L24 were not covered by tests
Check warning on line 29 in precompiles/staking/method_get_validators.go
codecov / codecov/patch
precompiles/staking/method_get_validators.go#L28-L29
Added lines #L28 - L29 were not covered by tests