Reprocess an ExecutedBlock on unavailable blobs

This commit is contained in:
Pawan Dhananjay
2023-03-17 21:30:14 +05:30
parent 05db0d2ba3
commit acd36ccaa6
8 changed files with 320 additions and 33 deletions

View File

@@ -686,6 +686,12 @@ pub struct ExecutedBlock<E: EthSpec> {
pub payload_verification_outcome: PayloadVerificationOutcome,
}
impl<E: EthSpec> std::fmt::Debug for ExecutedBlock<E> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", self.block)
}
}
/// Implemented on types that can be converted into a `ExecutionPendingBlock`.
///
/// Used to allow functions to accept blocks at various stages of verification.