mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +00:00
Beta compiler fix (#5659)
* fix beta compiler compilation * remove unused import * Revert "remove unused import" This reverts commit0bef36b05b. * Revert "fix beta compiler compilation" This reverts commit23152cf4cc. * rename ununsed fields * allow dead code on some error variants * remove unused blob download queue * add back debug to backfill error * more allow dead code on errors
This commit is contained in:
@@ -87,16 +87,17 @@ pub enum ProcessResult {
|
||||
}
|
||||
|
||||
/// The ways a backfill sync can fail.
|
||||
// The info in the enum variants is displayed in logging, clippy thinks it's dead code.
|
||||
#[derive(Debug)]
|
||||
pub enum BackFillError {
|
||||
/// A batch failed to be downloaded.
|
||||
BatchDownloadFailed(BatchId),
|
||||
BatchDownloadFailed(#[allow(dead_code)] BatchId),
|
||||
/// A batch could not be processed.
|
||||
BatchProcessingFailed(BatchId),
|
||||
BatchProcessingFailed(#[allow(dead_code)] BatchId),
|
||||
/// A batch entered an invalid state.
|
||||
BatchInvalidState(BatchId, String),
|
||||
BatchInvalidState(#[allow(dead_code)] BatchId, #[allow(dead_code)] String),
|
||||
/// The sync algorithm entered an invalid state.
|
||||
InvalidSyncState(String),
|
||||
InvalidSyncState(#[allow(dead_code)] String),
|
||||
/// The chain became paused.
|
||||
Paused,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user