serenita-org / vero

Vero is a multi-node validator client software implementation, targeting Ethereum and Gnosis Chain.
https://serenita.io/public-goods
MIT License
12 stars 0 forks source link

Handle aggregates and contributions concurrently #21

Closed eth2353 closed 5 days ago

eth2353 commented 5 days ago

Before this PR, this is how attestation aggregates were done: (same applies to sync committee contributions)

  1. Get aggregate attestations for all aggregator duties
  2. Sign all the aggregate attestations
  3. 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.