dusk-network/plonk

Try to use From impl declared in JubJub and Bls repos to convert between Scalar types.

Closed this issue · 0 comments

We have a From impl which we use across all of our repos to go from JubJubScalar -> BlsScalar. But it is not used always in this repo. And we should do it.

This was probably included in #292 & #255

See the lack of usage:

let raw_bls_scalar = composer.variables.get(&jubjub_scalar).unwrap();