Module cancun

Source
Expand description

Cancun rules for new payloads.

Functionsยง

ensure_matching_blob_versioned_hashes
Ensures that the number of blob versioned hashes of a EIP-4844 transactions in block, matches the number hashes included in the separate block_versioned_hashes of the cancun payload fields on the sidecar.
ensure_well_formed_fields
Checks block and sidecar w.r.t new Cancun fields and new transaction type EIP-4844.
ensure_well_formed_header_and_sidecar_fields
Checks that Cancun fields on block header and sidecar are present if Cancun is active and vv.
ensure_well_formed_transactions_field_with_sidecar
Checks transactions field and sidecar w.r.t new Cancun fields and new transaction type EIP-4844.