Skip to main content

Module cancun

Module cancun 

Source
Expand description

Cancun rules for new payloads.

Functionsยง

ensure_matching_blob_versioned_hashes
Ensures that the number of blob versioned hashes in EIP-4844 transactions in the block matches the number of hashes included in the separate block_versioned_hashes Cancun payload field 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.