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
If block.eth1_data equals eth1_data_vote.eth1_data for some eth1_data_vote in state.eth1_data_votes, set eth1_data_vote.vote_count += 1.
On its own this sentence is ambiguous in the case that multiple eth1_data_votes match (should all be updated or only the first one?). I assume that this case is not possible, but this is not obvious from this section alone (state.eth1_data_votes is also updated at other places). So it might be worth clarifying, either by adding a note or by over-specifying what's supposed to be done if multiple votes match.
The text was updated successfully, but these errors were encountered:
This would make it more clear, but I agree that it adds some verbosity only to fix this very minor issue. How about this?
If there is an eth1_data_vote in states.eth1_data_votes for which eth1_data_vote.eth1_data equals block.eth1_data (there will be at most one), set eth1_data_vote.vote_count += 1.
On its own this sentence is ambiguous in the case that multiple
eth1_data_votes
match (should all be updated or only the first one?). I assume that this case is not possible, but this is not obvious from this section alone (state.eth1_data_votes
is also updated at other places). So it might be worth clarifying, either by adding a note or by over-specifying what's supposed to be done if multiple votes match.The text was updated successfully, but these errors were encountered: