Before this PR, this is how attestation aggregates were done:
(same applies to sync committee contributions)
Get aggregate attestations for all aggregator duties
Sign all the aggregate attestations
Publish all the aggregate attestations
-> If one of the aggregates took a bit longer to retrieve, the rest of them also waited for it, even though they could have already been signed and published.
With this PR, once any aggregate attestation is available, it is signed and published in a separate, independent task.
Before this PR, this is how attestation aggregates were done: (same applies to sync committee contributions)
-> If one of the aggregates took a bit longer to retrieve, the rest of them also waited for it, even though they could have already been signed and published.
With this PR, once any aggregate attestation is available, it is signed and published in a separate, independent task.