Block and bid production

This commit is contained in:
Eitan Seri- Levi
2026-02-02 23:22:00 -08:00
parent 15691237b1
commit 4c9fa245af
4 changed files with 700 additions and 0 deletions

View File

@@ -334,6 +334,14 @@ impl<E: EthSpec, Payload: AbstractExecPayload<E>> BlockProposalContents<E, Paylo
Self::PayloadAndBlobs { block_value, .. } => block_value,
}
}
pub fn blob_kzg_commitments(&self) -> Option<&KzgCommitments<E>> {
match self {
Self::Payload { .. } => None,
Self::PayloadAndBlobs {
kzg_commitments, ..
} => Some(kzg_commitments),
}
}
}
// This just groups together a bunch of parameters that commonly