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

refactor: make dynamic dory helper code generic #424

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

stuarttimwhite
Copy link
Contributor

Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.

Please go through the following checklist

Rationale for this change

There will be a new Hyrax commitment evaluation scheme which will use much existing common code from dynamic dory. This is preliminary work to make that code centralized.

What changes are included in this PR?

  • New directory in proof_primitive for common hyrax and dynamic dory code.
  • Removal of dynamic dory helper code to this new directory

Are these changes tested?

Existing dynamic dory tests are modified to use the generic code.

@stuarttimwhite stuarttimwhite force-pushed the refactor/make-dynamic-dory-helper-code-generic branch 2 times, most recently from 02c2d30 to fe7ceee Compare December 10, 2024 17:21
@stuarttimwhite stuarttimwhite requested review from jacobtrombetta, JayWhite2357 and Dustin-Ray and removed request for jacobtrombetta December 10, 2024 17:32
@stuarttimwhite stuarttimwhite marked this pull request as ready for review December 10, 2024 17:34
@iajoiner iajoiner changed the title Refactor/make dynamic dory helper code generic refactor: make dynamic dory helper code generic Dec 10, 2024
@stuarttimwhite stuarttimwhite force-pushed the refactor/make-dynamic-dory-helper-code-generic branch 2 times, most recently from 4cc7deb to 77da6bf Compare December 10, 2024 20:33
alphas: &[F],
alpha_invs: &[F],
) -> (F, F) {
pub(crate) fn fold_dynamic_standard_basis_tensors<S: Scalar, I: Into<S> + From<S> + Copy>(
Copy link
Contributor

@Dustin-Ray Dustin-Ray Dec 11, 2024

Choose a reason for hiding this comment

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

NIT: This needs a doc comment please

Copy link
Contributor Author

@stuarttimwhite stuarttimwhite Dec 11, 2024

Choose a reason for hiding this comment

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

This is not a new function.

@stuarttimwhite stuarttimwhite force-pushed the refactor/make-dynamic-dory-helper-code-generic branch from 77da6bf to b039952 Compare December 11, 2024 17:46
@stuarttimwhite stuarttimwhite force-pushed the refactor/make-dynamic-dory-helper-code-generic branch from b039952 to 6617c1d Compare December 11, 2024 17:59
Dustin-Ray
Dustin-Ray previously approved these changes Dec 11, 2024
Copy link
Contributor

@Dustin-Ray Dustin-Ray left a comment

Choose a reason for hiding this comment

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

LGTM - Thank you!

@stuarttimwhite stuarttimwhite force-pushed the refactor/make-dynamic-dory-helper-code-generic branch from 6617c1d to a458ba5 Compare December 12, 2024 14:51
@stuarttimwhite stuarttimwhite merged commit 674cf4c into main Dec 12, 2024
12 checks passed
@stuarttimwhite stuarttimwhite deleted the refactor/make-dynamic-dory-helper-code-generic branch December 12, 2024 17:00
Copy link

🎉 This PR is included in version 0.62.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants