Improve error handling

This commit is contained in:
Emilia Hane
2023-01-20 21:16:34 +01:00
parent 8e57eef0ed
commit f7eb89ddd9
3 changed files with 39 additions and 7 deletions

View File

@@ -210,6 +210,8 @@ pub enum BeaconChainError {
InconsistentFork(InconsistentFork),
ProposerHeadForkChoiceError(fork_choice::Error<proto_array::Error>),
BlobsUnavailable,
NoKzgCommitmentsFieldOnBlock,
BlobsOlderThanDataAvailabilityBoundary,
}
easy_from_to!(SlotProcessingError, BeaconChainError);