Replaced all local imports of SynthesisError, Circuit, ConstraintSystem, LinearCombination, Variable, and many other modules with imports from the bellpepper_core library across multiple files.
Removed several files (src/constraint_system.rs, src/gadgets/num.rs, benches/lc.rs, and src/util_cs/test_cs.rs) which included functions, tests and types related to arithmetic circuits, number representation, and benchmarks.
Restructured some modules to use bellpepper_core. Notably, we made changes to test_cs module, groth16/generator.rs, groth16/prover.rs, and various gadgets (sha256.rs, lookup.rs, multipack.rs etc.), where local implementations were swapped with bellpepper_core equivalents.
Extended GpuError enum to include a conversion to bellpepper_core::SynthesisError.
Added error handling for GPU operations in groth16/prover.rs.
Updated dependency in Cargo.toml to include bellpepper-core version 0.2.0, and removed the 'lc' benchmark (now in bellpepper_core).
SynthesisError
,Circuit
,ConstraintSystem
,LinearCombination
,Variable
, and many other modules with imports from thebellpepper_core
library across multiple files.src/constraint_system.rs
,src/gadgets/num.rs
,benches/lc.rs
, andsrc/util_cs/test_cs.rs
) which included functions, tests and types related to arithmetic circuits, number representation, and benchmarks.bellpepper_core
. Notably, we made changes totest_cs
module,groth16/generator.rs
,groth16/prover.rs
, and various gadgets (sha256.rs
,lookup.rs
,multipack.rs
etc.), where local implementations were swapped withbellpepper_core
equivalents.GpuError
enum to include a conversion tobellpepper_core::SynthesisError
.groth16/prover.rs
.Cargo.toml
to includebellpepper-core
version0.2.0
, and removed the 'lc' benchmark (now in bellpepper_core).