Closed tayfunelmas closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.73%. Comparing base (
dae8e84
) to head (5ea551b
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Deduplicate validators that appear as the block producer in the next
NUM_NEXT_BLOCK_PRODUCERS_TO_SEND_CHUNK_ENDORSEMENT
blocks.While debugging some nayduck tests, I noticed that the validators that we send endorsements appear in the computed
block_producers
list multiple times; this would lead to sending duplicate endorsement messages to the same producers.Not sure this will be a problem for non-test environments but wanted to fix it anyways. To fix it, we collect "unique" AccountIds into the Vector.