ssvlabs / ssv-spec

GNU General Public License v3.0
25 stars 22 forks source link

CommitteeRunner: allow signatures of unknown validators #442

Closed MatheusFranco99 closed 3 months ago

MatheusFranco99 commented 3 months ago

Issue

If, in a committee, there is, for some reason, a disparity between known validators, we can hit some edge condition that will prevent the creation of a Beacon object. Take a look at this example:

Operator Validators
1 A, B
2 A, B
3 A, C
4 C

In the case where an operator fails whenever it sees a message with an unknown validator, no Beacon Object for validator A will ever be created. There could be more realistic scenarios where we lose some fault tolerance where not all operators create the beacon object.

Fix

This PR changes the CommitteeRunner to allow signatures of unknown validators. For that, we made the following changes:

Tests: