ssvlabs / ssv-spec

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

feature: (alan) filter committee duties per slot validator duties #467

Closed y0sher closed 1 month ago

y0sher commented 1 month ago

Description

Committee struct holds all the shares for the validators of that committee, though a CommitteeRunner only lives for a certain slot and thereby only needs shares of validators that have duty for that slot.

Changes

Filter the shares of Committee to create a subset that has only shares of validators that have duties for this slot.

y0sher commented 1 month ago

@y0sher Approving, but it seems to me that continue makes more sense (for the above issue)

please change as you wish and merge when you're ready.

MatheusFranco99 commented 1 month ago

@y0sher @GalRogozinski Doing the change and adding tests...