Skip to content

Arecibo backports#227

Merged
srinathsetty merged 3 commits into
microsoft:mainfrom
huitseeker:arecibo-backports
Sep 25, 2023
Merged

Arecibo backports#227
srinathsetty merged 3 commits into
microsoft:mainfrom
huitseeker:arecibo-backports

Conversation

@huitseeker

Copy link
Copy Markdown
Contributor

* Optimize generator creation in provider module

- Refactored the `from_label` function in pasta.rs removing redundant collect, flatten operations and Vec<usize> creation,

* fix: rename VanillaRO -> NativeRO

* refactor: Optimize circuit methods and enhance trait compatibility

- Replaced the `.map()` function with the `.map_or()` function in `r1cs.rs` for efficiency.
- Added `Eq` trait derivation to `NovaAugmentedCircuitParams` in `circuit.rs` to enable comparisons.
- Introduced `Eq` trait to `TrivialTestCircuit` struct in `traits/circuit.rs` without altering its input or output.
- Optimized performance by refactoring the use of iterator `into_iter()` to the iterator itself in `gadgets/r1cs.rs`.
* ci: Bring clippy standards lurk-rs -> arecibo

- Added a new .cargo/config file with a custom alias "xclippy" to execute Clippy lints for code quality assurance,
- Fixed code correspondingly when necessary,
- Added xclippy to CI

* chore: add dbg_macro to ci's clippy

- Implemented a new clippy lint for the dbg_macro in the cargo config file
- Enhanced testing for multiple modules, including bellpepper, spartan, and provider, focusing on the addition and multiplication of multi-linear polynomials and the Keccak transcript.
- Introduced usage of secp256k1::Scalar (and sometimes bn256_grumpkin::bn256::Scalar) into tests for improved coverage.
@srinathsetty
srinathsetty merged commit 13577b3 into microsoft:main Sep 25, 2023
hero78119 pushed a commit to hero78119/SuperNova that referenced this pull request Jan 5, 2024
* NIFS::prove -> NIFS::prove_mut

* preallocate witness

* simplify resourcebuffer init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants