charon icon indicating copy to clipboard operation
charon copied to clipboard

Consensus on periodic duty may result in constant leader ordering

Open corverroos opened this issue 2 years ago • 1 comments

Problem to be solved

Consensus on info_sync duty is triggered every epoch (32 slots). That means that any cluster size that is a divisor of 32 will have a constant leader order, i.e., the same peers will be leader for round 1 and then for round 2 and for round 3 in each instance.

Proposed solution

Change the naive leader function to something like this: https://github.com/protolambda/eth2-shuffle

Note that this is a breaking change...

corverroos avatar Nov 21 '22 07:11 corverroos

Breaking change

thomasheremans avatar Nov 23 '22 15:11 thomasheremans