pub fn validate_4844_header_standalone<H: BlockHeader>(
header: &H,
blob_params: BlobParams,
) -> Result<(), ConsensusError>Expand description
Validates that the EIP-4844 header fields exist and conform to the spec. This ensures that:
blob_gas_usedexists as a header fieldexcess_blob_gasexists as a header fieldparent_beacon_block_rootexists as a header fieldblob_gas_usedis a multiple ofDATA_GAS_PER_BLOBexcess_blob_gasis a multiple ofDATA_GAS_PER_BLOBblob_gas_useddoesn’t exceed the max allowed blob gas based on the given params
Note: This does not enforce any restrictions on blob_gas_used