Skip to main content

encode_input

Function encode_input 

Source
pub fn encode_input<S: BuildHasher>(
    circuit: &CircuitBody,
    args: &HashMap<String, RuntimeValue, S>,
) -> Result<AlignedValue>
Expand description

Encode the circuit’s input arguments as a single concatenated AlignedValue (matching the JS-emit partialProofData.input = _descriptor_N.toValue(arg) shape).