Commit Graph

10 Commits

Author SHA1 Message Date
poma
c3dd7fb2ab
update ceremony size 2020-04-28 11:15:03 +03:00
Kobi Gurkan
d79ba70c89
adds check_ratio tests and modifies tests to accomodate it 2020-04-28 11:08:10 +03:00
Kobi Gurkan
9098e203ea
fixes tests and updates cargo lock 2020-04-28 11:07:54 +03:00
Georgios Konstantopoulos
614b4b899d
Make ceremony params configurable at runtime (#10)
* feat(parameters): Replace trait with a params struct

We define a CeremonyParams struct which contains a curve and setup-specific parameters
The curve is a CurveParams struct which contains the sizes of the compressed and uncompressed group elements
This will allow us to easily extend the implementations over multiple curves and constraint numbers (currently these are hard coded and cannot be easily chagned)

* feat(keypair): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

* feat(accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

* feat(batched-accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

driveby-change: also replace println's with error/info logs

* feat(batched-accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

driveby-change: also replace println's with error/info logs

* refactor(bn256): delete bn256 module and move tests to better locations

* fix(bin): make all binaries build with the CeremonyParams object

* test(e2e): run the test with circuit power and batch size provided at runtime

* chore: remove unused accumulator.rs and new.rs
2020-02-13 11:04:29 +02:00
poma
aed734275e
attach smalltest feature directly to REQUIRED_POWER constant 2020-01-24 13:59:12 +08:00
Kobi Gurkan
1ef0e48957 adds small test parameters, generalizes repr_to_big 2020-01-23 16:42:21 +02:00
poma
e8b14ddb00
Accept filenames as command line arguments 2020-01-08 19:46:34 +07:00
Kobi Gurkan
1388c0a55e removes debug prints 2019-09-04 15:54:48 +03:00
Kobi Gurkan
470dff3d92 adds verify.rs to verify transcript and working phase2 for bn254 2019-09-04 13:15:17 +03:00
Kobi Gurkan
5d6690f9b8 Add 'powersoftau/' from commit '34b4d09b4ccc459d757a77c94b391a1f64f66f76'
git-subtree-dir: powersoftau
git-subtree-mainline: 37bdc022d6ae906eb583746fea8784edc6bd7c6b
git-subtree-split: 34b4d09b4ccc459d757a77c94b391a1f64f66f76
2019-09-02 15:50:38 +03:00