evaluate_commit

Function evaluate_commit 

Source
pub fn evaluate_commit<N: Network>(
    variant: CommitVariant,
    input: &Value<N>,
    randomizer: &Scalar<N>,
    destination_type: LiteralType,
) -> Result<Literal<N>>
Expand description

Evaluate a commit operation.

This allows running the commit without the machinery of stacks and registers. This is necessary for the Leo interpeter.