remove requirements on _pairing_ and `ark-poly-commit`
changelog
- remove
ark-poly-commitfrom the dependencies - remove the old
setup.rs - add temporary
foo.rswhich 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>- tests
-
foo.rsis then renamed tosetup.rs - two new
KomodoErrorvariants have been created to replaceark_poly_commit::ErrorDegreeIsZeroTooFewPowersInTrustedSetup(usize, usize)
- finally, all the past mentions to
E: Pairingandsetup::randomhave been replaced withF, Gandsetup::build_powersrespectively
Edited by STEVAN Antoine