openvm_native_compiler::constraints::halo2::compiler

Function convert_fr

Source
pub fn convert_fr<F: PrimeField>(a: &F) -> Fr
Expand description

Assumes F is Bn254 Fr and converts to halo2 Fr type