pub fn payload_id_optimism(
parent: &B256,
attributes: &OpPayloadAttributes,
payload_version: u8,
) -> PayloadId
Expand description
Generates the payload id for the configured payload from the OpPayloadAttributes
.
Returns an 8-byte identifier by hashing the payload components with sha256 hash.