remove requirements on _pairing_ and `ark-poly-commit`
Compare changes
Files
13+ 15
− 15
ark-poly-commit
from the dependenciessetup.rs
foo.rs
which define (some details are ommited for brevity)
struct Powers<F, G>
struct Commitment<F, G>
fn build_powers<F, G>(...) -> Powers<F, G>
fn commit<F, G, P>(powers: &Powers<F, G>, polynomial: &P) -> Commitment<F, G>
foo.rs
is then renamed to setup.rs
KomodoError
variants have been created to replace ark_poly_commit::Error
DegreeIsZero
TooFewPowersInTrustedSetup(usize, usize)
E: Pairing
and setup::random
have been replaced with F, G
and setup::build_powers
respectively