mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Fix Bitfield type inference
This commit is contained in:
@@ -495,7 +495,9 @@ async fn invalid_attestation_bad_aggregation_bitfield_len() {
|
|||||||
.next()
|
.next()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.aggregation_bits_base_mut()
|
.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 mut ctxt = ConsensusContext::new(state.slot());
|
||||||
let result = process_operations::process_attestations(
|
let result = process_operations::process_attestations(
|
||||||
|
|||||||
Reference in New Issue
Block a user