pub fn validate_against_parent_4844<H>(
header: &H,
parent: &H,
) -> Result<(), ConsensusError>where
H: BlockHeader,
Expand description
Validates that the EIP-4844 header fields are correct with respect to the parent block. This
ensures that the blob_gas_used
and excess_blob_gas
fields exist in the child header, and
that the excess_blob_gas
field matches the expected excess_blob_gas
calculated from the
parent header fields.