mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Fix Bitfield type inference
This commit is contained in:
@@ -495,7 +495,9 @@ async fn invalid_attestation_bad_aggregation_bitfield_len() {
|
||||
.next()
|
||||
.unwrap()
|
||||
.aggregation_bits_base_mut()
|
||||
.unwrap() = Bitfield::with_capacity(spec.target_committee_size).unwrap();
|
||||
.unwrap() =
|
||||
Bitfield::<ssz::Variable<<MainnetEthSpec as EthSpec>::MaxValidatorsPerCommittee>>::with_capacity(spec.target_committee_size)
|
||||
.unwrap();
|
||||
|
||||
let mut ctxt = ConsensusContext::new(state.slot());
|
||||
let result = process_operations::process_attestations(
|
||||
|
||||
Reference in New Issue
Block a user