pub fn compute_initialization_hash(
init_fn: Option<&FunctionArtifact>,
args: &[AbiValue],
) -> Result<Fr, Error>Expand description
Compute the initialization hash for a contract deployment.
Returns Fr::zero() if init_fn is None (no constructor).
Formula: poseidon2_hash_with_separator([selector, args_hash], INITIALIZER)