Use a more Rust-friendly type for private inputs
nalinbhardwaj opened this issue · 0 comments
nalinbhardwaj commented
Here we use serde::Value, use something like From<PrimeField>
instead and perform the conversion to Circom-friendly JSON in library. This would abstract/simplify lot of the decimal/hex/bytes etc conversions from users of the library:
Line 67 in 1bc7e39