Merge branch 'unstable' into vc-fallback

This commit is contained in:
Mac L
2024-04-15 21:31:51 +10:00
574 changed files with 34664 additions and 12047 deletions

View File

@@ -7,7 +7,7 @@ use tokio::time::{sleep, Duration};
use types::EthSpec;
/// Spawns a notifier service which periodically logs information about the node.
pub fn spawn_notifier<T: EthSpec>(client: &ProductionValidatorClient<T>) -> Result<(), String> {
pub fn spawn_notifier<E: EthSpec>(client: &ProductionValidatorClient<E>) -> Result<(), String> {
let context = client.context.service_context("notifier".into());
let executor = context.executor.clone();
let duties_service = client.duties_service.clone();
@@ -58,7 +58,7 @@ async fn notify<T: SlotClock + 'static, E: EthSpec>(
);
if num_synced > 0 {
let primary = candidate_info
.get(0)
.first()
.map(|candidate| candidate.node.as_str())
.unwrap_or("None");
info!(