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 CTL Handling #1629

Merged
merged 8 commits into from
Oct 9, 2024
Merged

Refactor CTL Handling #1629

merged 8 commits into from
Oct 9, 2024

Conversation

sai-deng
Copy link
Contributor

@sai-deng sai-deng commented Sep 30, 2024

This PR refactors the get_ctl_vars_from_proofs function to sync with the circuit version.

Copy link
Collaborator

@Nashtare Nashtare left a comment

Choose a reason for hiding this comment

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

Non-blocking comments, though I'm not sure about the full removal of MultiProof

Comment on lines 253 to 254
auxiliary_polys: &[&Option<Vec<F::Extension>>; N],
auxiliary_polys_next: &[&Option<Vec<F::Extension>>; N],
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think these could share the same lifetimes as below

@@ -250,7 +250,8 @@ where

/// Outputs all the CTL data necessary to prove a multi-STARK system.
pub fn get_ctl_vars_from_proofs<'a, F, C, const D: usize, const N: usize>(
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: the name is slightly misleading now, as we're not passing the multi_proof as arg anymore. What about get_ctl_vars_from_aux_polys?

starky/src/proof.rs Show resolved Hide resolved
@sai-deng sai-deng force-pushed the sai/support_optional_table2 branch from a54bf6c to 47511bb Compare October 5, 2024 22:57
@sai-deng sai-deng force-pushed the sai/support_optional_table2 branch from 5fb4d2b to 8463eff Compare October 5, 2024 23:01
@sai-deng
Copy link
Contributor Author

sai-deng commented Oct 5, 2024

@Nashtare I also updated the from_proof function to sync with the circuit version. PTAL.

@sai-deng sai-deng merged commit 7959bd2 into main Oct 9, 2024
5 checks passed
@sai-deng sai-deng deleted the sai/support_optional_table2 branch October 9, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants