Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update AllocatedPoint type specifications in circuits and g…
…adgets (lurk-lang#299) - Change the parameter of `AllocatedPoint` from an `Engine` to the more minimal setup of a `Group` - Ensure no changes are made to the operating logic of the code, only type specification has been updated. Downstream changes: - Modify data type of `W` and `E` fields in structures `AllocatedR1CSInstance` and `AllocatedRelaxedR1CSInstance` to `AllocatedPoint<E::GE>` along with the type of `T` parameter in `fold_with_r1cs`. - Update `conditionally_select_point` function in `gadgets/r1cs.rs` to use a generic parameter `G` that inherits from `Group` instead of `E` from `Engine`. - Update method signatures in `NovaAugmentedCircuit` and `SuperNovaAugmentedCircuit` to accommodate changes in the underlying type of `AllocatedPoint` from `E` to `E::GE`.
- Loading branch information