mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 21:34:36 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use crate::per_epoch_processing::single_pass::{process_epoch_single_pass, SinglePassConfig};
|
||||
use crate::EpochProcessingError;
|
||||
use crate::per_epoch_processing::single_pass::{SinglePassConfig, process_epoch_single_pass};
|
||||
use types::beacon_state::BeaconState;
|
||||
use types::chain_spec::ChainSpec;
|
||||
use types::eth_spec::EthSpec;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::per_epoch_processing::Error;
|
||||
use crate::per_epoch_processing::{
|
||||
weigh_justification_and_finalization, JustificationAndFinalizationState,
|
||||
JustificationAndFinalizationState, weigh_justification_and_finalization,
|
||||
};
|
||||
use safe_arith::SafeArith;
|
||||
use types::{BeaconState, EthSpec};
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
use crate::EpochProcessingError;
|
||||
use types::List;
|
||||
use types::beacon_state::BeaconState;
|
||||
use types::eth_spec::EthSpec;
|
||||
use types::participation_flags::ParticipationFlags;
|
||||
use types::List;
|
||||
|
||||
pub fn process_participation_flag_updates<E: EthSpec>(
|
||||
state: &mut BeaconState<E>,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::per_epoch_processing::{
|
||||
single_pass::{process_epoch_single_pass, SinglePassConfig},
|
||||
Error,
|
||||
single_pass::{SinglePassConfig, process_epoch_single_pass},
|
||||
};
|
||||
use types::consts::altair::PARTICIPATION_FLAG_WEIGHTS;
|
||||
use types::{BeaconState, ChainSpec, EthSpec};
|
||||
|
||||
Reference in New Issue
Block a user