diff --git a/beacon_node/beacon_chain/tests/attestation_verification.rs b/beacon_node/beacon_chain/tests/attestation_verification.rs index be64967efc4..dd0901d14da 100644 --- a/beacon_node/beacon_chain/tests/attestation_verification.rs +++ b/beacon_node/beacon_chain/tests/attestation_verification.rs @@ -717,6 +717,7 @@ async fn aggregated_gossip_verification() { "aggregate with unknown aggregator index", |_, a| a.message.aggregator_index = VALIDATOR_COUNT as u64, |_, err| { + println!("{:?}", err); assert!(matches!( err, // Naively we should think this condition would trigger this error: diff --git a/consensus/types/src/attestation.rs b/consensus/types/src/attestation.rs index 89e4c87d34f..621305c3e57 100644 --- a/consensus/types/src/attestation.rs +++ b/consensus/types/src/attestation.rs @@ -95,9 +95,9 @@ impl TestRandom for Attestation { let data = AttestationData::random_for_test(rng); let signature = AggregateSignature::random_for_test(rng); - Self::Electra(AttestationElectra { + Self::Base(AttestationBase { aggregation_bits, - committee_bits, + // committee_bits, data, signature, }) diff --git a/consensus/types/src/pending_attestation.rs b/consensus/types/src/pending_attestation.rs index d7bb701403d..738b4168c2f 100644 --- a/consensus/types/src/pending_attestation.rs +++ b/consensus/types/src/pending_attestation.rs @@ -89,9 +89,9 @@ impl TestRandom for PendingAttestation { let proposer_index = u64::random_for_test(rng); let inclusion_delay = u64::random_for_test(rng); - Self::Electra(PendingAttestationElectra { + Self::Base(PendingAttestationBase { aggregation_bits, - committee_bits, + // committee_bits, data, proposer_index, inclusion_delay,