Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing endianess to big across functions #39

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

anupsv
Copy link
Collaborator

@anupsv anupsv commented Jan 12, 2025

@anupsv anupsv requested review from bxue-l2 and samlaf January 12, 2025 03:51
src/kzg.rs Outdated Show resolved Hide resolved
src/kzg.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@bxue-l2 bxue-l2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, please address sam's comment

@anupsv
Copy link
Collaborator Author

anupsv commented Jan 14, 2025

lgtm, please address sam's comment

done

@samlaf samlaf force-pushed the cleanup/fixing-to-big-endian branch from d50ed86 to ff678ff Compare January 14, 2025 20:28
@samlaf
Copy link
Contributor

samlaf commented Jan 14, 2025

Just rebased against master

@samlaf samlaf merged commit 94f57a1 into master Jan 14, 2025
1 check passed
@samlaf samlaf deleted the cleanup/fixing-to-big-endian branch January 14, 2025 20:36
anupsv added a commit that referenced this pull request Jan 15, 2025
* fixing endianess to big across functions

* removing todo's
samlaf added a commit that referenced this pull request Jan 19, 2025
* removing reading g2, fixing g2 tau points. clean up

* fixing mainnet points

* removing unwated files

* style+perf: clean-up and optimize remove_empty_byte_from_padded_bytes_unchecked fn (#41)

* style+perf: clean-up and optimize remove_empty_byte_from_padded_bytes_unchecked function

* ci: make cargo fmt use nightly

There were a bunch of warnings that some of our set fmt properties were not being run:
Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel.
Warning: can't set `normalize_comments = true`, unstable features are only available in nightly channel.

* style: cargo fmt

* Revert "ci: make cargo fmt use nightly"

Getting "error: toolchain 'nightly-x86_64-unknown-linux-gnu' is not installed" on github,
and don't feel like debugging. Not even sure how cargo/rust are installed.
Do they come preloaded by default?

This reverts commit 6e87e0a.

* Revert "style: cargo fmt"

This reverts commit ae70bf5.

* style: cargo fmt

* Cleanup/roots of unities setup functions (#37)

* 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 <[email protected]>

* Update src/kzg.rs

Co-authored-by: Samuel Laferriere <[email protected]>

* Update src/kzg.rs

Co-authored-by: Samuel Laferriere <[email protected]>

* Update src/kzg.rs

Co-authored-by: Samuel Laferriere <[email protected]>

* Update src/helpers.rs

Co-authored-by: Samuel Laferriere <[email protected]>

* 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

* removing unwanted setup functions

* removing vars from struct

* fixing function name and comments

* fixing naming for tests

* fixing naming in benches

* formatting

* removing is_zero

---------

Co-authored-by: anupsv <[email protected]>
Co-authored-by: Samuel Laferriere

* fixing endianess to big across functions (#39)

* fixing endianess to big across functions

* removing todo's

* storing g2 tau as consts

* cargo fmt

* moving checker to test, adding explanation, cargo fmt

* more cargo fmt

---------

Co-authored-by: anupsv <[email protected]>
Co-authored-by: Samuel Laferriere <[email protected]>
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.

3 participants