Fix Aggregation Pool for Electra (#5754)

* Fix Aggregation Pool for Electra

* Remove Outdated Interface
This commit is contained in:
ethDreamer
2024-05-09 14:50:11 -05:00
committed by GitHub
parent 07229b76ed
commit cb8c8f59cf
6 changed files with 255 additions and 75 deletions

View File

@@ -92,6 +92,7 @@ impl<E: EthSpec> Decode for Attestation<E> {
}
}
// TODO(electra): think about how to handle fork variants here
impl<E: EthSpec> TestRandom for Attestation<E> {
fn random_for_test(rng: &mut impl RngCore) -> Self {
let aggregation_bits: BitList<E::MaxValidatorsPerCommittee> = BitList::random_for_test(rng);