Skip to content

Commit

Permalink
Refactor imports into a fully-qualified manner from the crate root
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoAlice committed Apr 30, 2024
1 parent d0663d6 commit 25ee170
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions ethereum-consensus/src/electra/epoch_processing.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
use crate::electra::{
compute_activation_exit_epoch, get_activation_exit_churn_limit, get_active_balance,
get_current_epoch, increase_balance, initiate_validator_exit, is_active_validator,
is_eligible_for_activation, is_eligible_for_activation_queue, switch_to_compounding_validator,
BeaconState, Context, Error,
use crate::{
electra::{
compute_activation_exit_epoch, decrease_balance, get_current_epoch,
helpers::{
get_activation_exit_churn_limit, get_active_balance, initiate_validator_exit,
is_eligible_for_activation_queue, switch_to_compounding_validator,
},
increase_balance, is_active_validator, is_eligible_for_activation, BeaconState, Context,
Error,
},
ssz::prelude::List,
};
use ssz_rs::List;

use super::decrease_balance;

pub fn process_registry_updates<
const SLOTS_PER_HISTORICAL_ROOT: usize,
Expand Down

0 comments on commit 25ee170

Please sign in to comment.