Closed GalRogozinski closed 1 week ago
Two options:
Create two types SignedQBFTMessage
and SignedPartialSigMessage
.
This would get ugly though when trying to decode the proper message with ssz lib.
Pass both the Signed wrapper and the inner message. All logic would be done on the inner message, but the final broadcast will be done on the wrapper.
Currently we solved with option 2 in #440
Currently
SignedSSVMessage
wrapsSSVMessage
that can orchestrate as either a QBFT message or a Partial Sig Message.This isn't readable and currently causes too many invocations to
Decode
...