pub fn validate_4844_header_standalone(
header: &Header,
) -> Result<(), ConsensusError>
Expand description
Validates that the EIP-4844 header fields exist and conform to the spec. This ensures that:
blob_gas_used
exists as a header fieldexcess_blob_gas
exists as a header fieldparent_beacon_block_root
exists as a header fieldblob_gas_used
is less than or equal toMAX_DATA_GAS_PER_BLOCK
blob_gas_used
is a multiple ofDATA_GAS_PER_BLOB
excess_blob_gas
is a multiple ofDATA_GAS_PER_BLOB