From be9d697ad9798d0695e48c433000e0ff6b4445fe Mon Sep 17 00:00:00 2001 From: Mac L Date: Fri, 13 Feb 2026 05:29:36 +1100 Subject: [PATCH] Fix Bitfield type inference --- consensus/state_processing/src/per_block_processing/tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/consensus/state_processing/src/per_block_processing/tests.rs b/consensus/state_processing/src/per_block_processing/tests.rs index 739717b33f..ca359c93c7 100644 --- a/consensus/state_processing/src/per_block_processing/tests.rs +++ b/consensus/state_processing/src/per_block_processing/tests.rs @@ -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::::MaxValidatorsPerCommittee>>::with_capacity(spec.target_committee_size) + .unwrap(); let mut ctxt = ConsensusContext::new(state.slot()); let result = process_operations::process_attestations(