jellyfish icon indicating copy to clipboard operation
jellyfish copied to clipboard

Code dedup for utils function shared between tests and bench across crates

Open alxiong opened this issue 1 year ago • 0 comments

Currently, there are some util functions that we only want conditionally compile for tests and benches across different crates. (specifically gen_srs_for_testing here)

We currently directly copy the code from jf-primitives inside our snark.rs::universal_setup_for_testing(), which is not ideal. We should try to de-duplicate this later.

initially proposed: https://github.com/EspressoSystems/jellyfish/pull/231#discussion_r1175419699

alxiong avatar Apr 25 '23 11:04 alxiong