BEEFY: Validation against two authority sets
blasrodri opened this issue · 3 comments
blasrodri commented
Looking at:
We are checking that the number signatures should be higher than any of the thresholds defined by the current or the next validator set. Shouldn't we change this to only verify against the current validator set?
Wizdave97 commented
WE want to exist early if the number of signatures does not meet the minimum threshold for either the current set or the next set
Wizdave97 commented
If it doesn't meet the threshold it doesn't make sense to continue in any case.
We also validate against the next_authority_set because the justification might be for the block where the authority set changed
blasrodri commented
Thanks