-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup/moving primitive roots to consts (#38)
* adding bare changes for batch verification * adding some comments * adding more comments * moving back to sha2 * removing a test which is no longer needed. Removing methods no longer needed * updates to method visibility, updating tests * fmt fixes * clean up * cleanup, optimization, inline docs * removing unwanted const * more docs and cleanup * formatting * removing unwanted comments * cargo fmt and clippy * adding test for point at infinity * cleaner errors, cleanup * adding another test case * removing unwanted errors * adding fixes per comments * adding 4844 spec references * comment fixes * formatting, adding index out of bound check, removing print statement * removing unwanted test, adding test for evaluate_polynomial_in_evaluation_form * moving test to bottom section * Update src/polynomial.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * Update src/kzg.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * Update src/kzg.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * Update src/kzg.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * Update src/helpers.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * updating deps, and toolchain to 1.84 * removing errors test, no longer useful * adding to_byte_array arg explanation * fmt fixes * fmt and clippy fixes * fixing function names and fmt * clippy fixes * moving primitive root to consts, adding helper function and changing call methods. * removing function * wrong branch updated * removing is_zero * comment updates * using macro for roots consts * adding explanation to PRIMITIVE_ROOTS_OF_UNITY * Update src/kzg.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * Update src/helpers.rs Co-authored-by: Samuel Laferriere <samlaf92@gmail.com> * comment change, renames and doc fixes * cargo fmt --------- Co-authored-by: anupsv <6407789+anupsv@users.noreply.github.com> Co-authored-by: Samuel Laferriere
- Loading branch information
Showing
4 changed files
with
125 additions
and
53 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