You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In spec v0.5.1, eligible validators are active validators in previous epoch:
# v0.5.1# Process rewards or penalties for all validatorsforindexinget_active_validator_indices(state.validator_registry, get_previous_epoch(state)):
...
However they are changed to current epoch active validators in d1d1b73 but not mentioned in the commit message or PR description so I wonder if this is intended?
# develigible_validators= [
indexforindex, validatorinenumerate(state.validator_registry)
if (
is_active_validator(validator, current_epoch) or
(validator.slashedandcurrent_epoch<validator.withdrawable_epoch)
)
]
# Process rewards or penalties for all validatorsforindexineligible_validators:
And does it makes sense to change all validators in the comment # Process rewards or penalties for all validators to be something more specific?
The text was updated successfully, but these errors were encountered:
In spec v0.5.1, eligible validators are active validators in previous epoch:
However they are changed to current epoch active validators in d1d1b73 but not mentioned in the commit message or PR description so I wonder if this is intended?
And does it makes sense to change
all validators
in the comment# Process rewards or penalties for all validators
to be something more specific?The text was updated successfully, but these errors were encountered: