mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-30 19:23:50 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -581,9 +581,9 @@ mod tests {
|
||||
use store::BitVector;
|
||||
use tree_hash::TreeHash;
|
||||
use types::{
|
||||
test_utils::{generate_deterministic_keypair, test_random_instance},
|
||||
Attestation, AttestationBase, AttestationElectra, FixedBytesExtended, Fork, Hash256,
|
||||
SyncCommitteeMessage,
|
||||
test_utils::{generate_deterministic_keypair, test_random_instance},
|
||||
};
|
||||
|
||||
type E = types::MainnetEthSpec;
|
||||
@@ -647,11 +647,11 @@ mod tests {
|
||||
|
||||
fn unset_attestation_bit(a: &mut Attestation<E>, i: usize) {
|
||||
match a {
|
||||
Attestation::Base(ref mut att) => att
|
||||
Attestation::Base(att) => att
|
||||
.aggregation_bits
|
||||
.set(i, false)
|
||||
.expect("should unset aggregation bit"),
|
||||
Attestation::Electra(ref mut att) => att
|
||||
Attestation::Electra(att) => att
|
||||
.aggregation_bits
|
||||
.set(i, false)
|
||||
.expect("should unset aggregation bit"),
|
||||
|
||||
Reference in New Issue
Block a user