ChainSafe / ChainSafe/lodestar
Gloas: also count weight from equivocating committee members when determining if head is weak
Open
meta-feature-request
spec-gloas
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
### Problem description
In gloas, spec's `is_head_weak` is updated to also count weight from equivocating committee validators in addition to just the the active ones from `calculate_committee_fraction`.
We need to update
https://github.com/ChainSafe/lodestar/blob/433e692fd99ad61b9076a0d91a8fe0f9ebdb6dad/packages/fork-choice/src/forkChoice/forkChoice.ts#L418-L428
This is covered in https://github.com/ethereum/consensus-specs/pull/4807 as one of the few things the PR aimed to solve
### Solution description
Implement per spec.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.