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