diff --git a/validator_client/src/block_service.rs b/validator_client/src/block_service.rs index aeac9e880f5..cce2219b103 100644 --- a/validator_client/src/block_service.rs +++ b/validator_client/src/block_service.rs @@ -366,7 +366,6 @@ impl BlockService { .validator_store .get_builder_proposals(&validator_pubkey); let service = self.clone(); - let log = log.clone(); self.inner.context.executor.spawn( async move { if builder_proposals { @@ -560,7 +559,7 @@ impl BlockService { metrics::start_timer_vec(&metrics::BLOCK_SERVICE_TIMES, &[metrics::BEACON_BLOCK]); let current_slot = self.slot_clock.now().ok_or_else(|| { - BlockError::Recoverable("Unable to determine current slot from clock".to_string()) + BlockError::Irrecoverable("Unable to determine current slot from clock".to_string()) })?; let randao_reveal = match self @@ -582,7 +581,7 @@ impl BlockService { return Ok(()); } Err(e) => { - return Err(BlockError::Recoverable(format!( + return Err(BlockError::Irrecoverable(format!( "Unable to produce randao reveal signature: {:?}", e ))) @@ -626,7 +625,7 @@ impl BlockService { .get_validator_blocks_v3::(slot, randao_reveal_ref, graffiti.as_ref()) .await .map_err(|e| { - BlockError::Recoverable(format!( + BlockError::Irrecoverable(format!( "Error from beacon node when producing block: {:?}", e ))