mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Rust clippy 1.87 lint fixes (#7471)
Fix clippy lints for `rustc` 1.87 clippy complains about `BeaconChainError` being too large. I went on a bit of a boxing spree because of this. We may instead want to `Box` some of the `BeaconChainError` variants?
This commit is contained in:
@@ -84,7 +84,7 @@ pub fn process_epoch<E: EthSpec>(
|
||||
Ok(EpochProcessingSummary::Altair {
|
||||
progressive_balances: current_epoch_progressive_balances,
|
||||
current_epoch_total_active_balance,
|
||||
participation: participation_summary,
|
||||
participation: participation_summary.into(),
|
||||
sync_committee,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ pub enum EpochProcessingSummary<E: EthSpec> {
|
||||
Altair {
|
||||
progressive_balances: ProgressiveBalancesCache,
|
||||
current_epoch_total_active_balance: u64,
|
||||
participation: ParticipationEpochSummary<E>,
|
||||
participation: Box<ParticipationEpochSummary<E>>,
|
||||
sync_committee: Arc<SyncCommittee<E>>,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user