compute_artifact_hash

Function compute_artifact_hash 

Source
pub fn compute_artifact_hash(artifact: &ContractArtifact) -> Fr
Expand description

Compute the artifact hash for a contract.

Uses SHA256 for per-function bytecode/metadata hashing, then combines private and unconstrained function artifact tree roots with a metadata hash.