Function ensure_matching_blob_versioned_hashes

Source
pub fn ensure_matching_blob_versioned_hashes<T: Transaction + Typed2718>(
    block_body: &BlockBody<T>,
    cancun_sidecar_fields: Option<&CancunPayloadFields>,
) -> Result<(), PayloadError>
Expand description

Ensures that the number of blob versioned hashes of a EIP-4844 transactions in block, matches the number hashes included in the separate block_versioned_hashes of the cancun payload fields on the sidecar.