lambdaclass / lambda_ethereum_consensus

Elixir implementation of an Ethereum consensus client, which offers high reliance & fault tolerance
Apache License 2.0
96 stars 33 forks source link

feat: sync committee contribution #1284

Closed rodrigo-o closed 6 days ago

rodrigo-o commented 3 weeks ago

Motivation

SyncCommitteeMessages are aggregated by sync committee aggregators. This is the next step in the Sync Committee feature addition.

Description

This PR adds the calculation of aggregate duties, it's lookahead, and sync contribution production and publish. [Link to the Validator Spec]

Closes #835 Closes #837 Closes #841

rodrigo-o commented 1 week ago

Right now we are in a stable position both in the minimal and the main spec, here is an example of a 200 epoch run in minimal:

image Here is an example of another node picking up contributions published by ourselves in the first, second and third subcommittee

image Here is the whole run still on going