ssvlabs / ssv-spec

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

We do slashing checks on sync committees #437

Open GalRogozinski opened 4 months ago

GalRogozinski commented 4 months ago

As part of committee consensus we perform attestation slashing checks on combined attestation/sync-committee data.

Meaning that slashable attestation data will hinder sync committee duty.

Since slashable data is rare and this should optimistically be resolved on the next QBFT round, it isn't this bad.

_Originally posted by @GalRogozinski in https://github.com/ssvlabs/ssv-spec/pull/421#discussion_r1656562403_

GalRogozinski commented 4 months ago

This needs to be discussed

GalRogozinski commented 4 months ago

So we have a max of 512 sync committee participants. As the network grows this number will become more and more negligible.

So perhaps it makes sense to separate runners for attestations and sync committees so we have a clean protocol that won't run into rare issues.

On the other hand, we can have an optimization instead that all non-slashable duties will use the same consensus

GalRogozinski commented 4 months ago

This is easily solvable In spec we need to initialize valueCheckF with only the validators that do attestation duties

GalRogozinski commented 3 months ago

Solved by #471