mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Add new error type missed in previous commit
This commit is contained in:
@@ -4,6 +4,7 @@ use ssz_types::Error as SszTypesError;
|
|||||||
use state_processing::per_block_processing::errors::AttestationValidationError;
|
use state_processing::per_block_processing::errors::AttestationValidationError;
|
||||||
use state_processing::BlockProcessingError;
|
use state_processing::BlockProcessingError;
|
||||||
use state_processing::SlotProcessingError;
|
use state_processing::SlotProcessingError;
|
||||||
|
use std::time::Duration;
|
||||||
use types::*;
|
use types::*;
|
||||||
|
|
||||||
macro_rules! easy_from_to {
|
macro_rules! easy_from_to {
|
||||||
@@ -40,8 +41,9 @@ pub enum BeaconChainError {
|
|||||||
},
|
},
|
||||||
AttestationValidationError(AttestationValidationError),
|
AttestationValidationError(AttestationValidationError),
|
||||||
StateSkipTooLarge {
|
StateSkipTooLarge {
|
||||||
head_slot: Slot,
|
start_slot: Slot,
|
||||||
requested_slot: Slot,
|
requested_slot: Slot,
|
||||||
|
max_task_runtime: Duration,
|
||||||
},
|
},
|
||||||
/// Returned when an internal check fails, indicating corrupt data.
|
/// Returned when an internal check fails, indicating corrupt data.
|
||||||
InvariantViolated(String),
|
InvariantViolated(String),
|
||||||
|
|||||||
Reference in New Issue
Block a user