This commit is contained in:
Eitan Seri- Levi
2026-03-18 06:57:19 -07:00
parent 2acbd2ef45
commit 4d04ac1381
6 changed files with 40 additions and 45 deletions

View File

@@ -322,12 +322,6 @@ pub enum BlockError {
bid_parent_root: Hash256,
block_parent_root: Hash256,
},
/// An error occurred while processing a payload envelope.
///
/// ## Peer scoring
///
/// Peer scoring depends on the inner `EnvelopeError`.
EnvelopeError(EnvelopeError),
}
/// Which specific signature(s) are invalid in a SignedBeaconBlock
@@ -347,12 +341,6 @@ impl From<AvailabilityCheckError> for BlockError {
}
}
impl From<EnvelopeError> for BlockError {
fn from(e: EnvelopeError) -> Self {
Self::EnvelopeError(e)
}
}
/// Returned when block validation failed due to some issue verifying
/// the execution payload.
#[derive(Debug)]