-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor pre-processing SNARK (#220)
* refactor: Refactor and add test module for `padded` function - Simplified the `padded` function in `ppsnark.rs` - test case for the `padded` function * refactor: clean up some unnnecessary wraps * refactor: enforce stricter linting rules - Updated clippy configuration by removing and adding specific lints for stricter code checks. * refactor: refactor sparse matrix iteration - Refactor `R1CSShapeSparkRepr` in `ppsnark.rs` - Restructure the main loop for simultaneous population of `row`, `col`, and `val_X` vectors. * clippy::use_self * feat: Move all Sumcheck engine related items to the sumcheck module - Introduced a new module `src/spartan/sumcheck/engine.rs`, - Changed the visibility status of the `sumcheck` module, making it visible within the `spartan` module. - Refactored the file structure as `src/spartan/sumcheck.rs` was renamed to `src/spartan/sumcheck/mod.rs` and a new submodule `engine` was added within the `spartan` crate. - Refactored the import structures in `ppsnark` and `sumcheck::engine`, moving several items to `sumcheck::engine`. * fixup! clippy::use_self
- Loading branch information
1 parent
7754a70
commit c11e890
Showing
36 changed files
with
943 additions
and
914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.