Merge branch 'unstable' into dvt

This commit is contained in:
chonghe
2025-04-15 10:41:10 +08:00
committed by GitHub
148 changed files with 4415 additions and 3324 deletions

View File

@@ -264,9 +264,9 @@ impl<T: SlotClock + 'static, E: EthSpec> ValidatorStore<T, E> {
/// are two primary functions used here:
///
/// - `DoppelgangerStatus::only_safe`: only returns pubkeys which have passed doppelganger
/// protection and are safe-enough to sign messages.
/// protection and are safe-enough to sign messages.
/// - `DoppelgangerStatus::ignored`: returns all the pubkeys from `only_safe` *plus* those still
/// undergoing protection. This is useful for collecting duties or other non-signing tasks.
/// undergoing protection. This is useful for collecting duties or other non-signing tasks.
#[allow(clippy::needless_collect)] // Collect is required to avoid holding a lock.
pub fn voting_pubkeys<I, F>(&self, filter_func: F) -> I
where