Function reth::consensus_common::validation::validate_against_parent_4844
source ยท pub fn validate_against_parent_4844(
header: &SealedHeader,
parent: &SealedHeader,
) -> Result<(), ConsensusError>
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.