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

Stage 1 public reference #2567

Open
wants to merge 3 commits into
base: stage-1-public-reference
Choose a base branch
from

Conversation

qwang98
Copy link
Collaborator

@qwang98 qwang98 commented Mar 20, 2025

Depends on #2556. Pass stage 1 publics to the backend but not using them yet (TODO for future PR).

@qwang98 qwang98 changed the base branch from main to stage-1-public-reference March 20, 2025 03:23
@qwang98 qwang98 marked this pull request as ready for review March 20, 2025 11:37
@qwang98 qwang98 mentioned this pull request Mar 21, 2025
@@ -111,7 +111,7 @@ impl<T: FieldElement> WitgenCallbackContext<T> {
current_witness: &[(String, Vec<T>)],
challenges: BTreeMap<u64, T>,
stage: u8,
) -> Vec<(String, Vec<T>)> {
) -> (Witness<T>, Publics<T>) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe not a topic of this PR, but I think this would need to receive the stage-0 publics as input as well, no? For example, we could have a constraint stage1_public = stage0_public;, or write a stage-0 public to the bus, or something like that.

Perhaps it makes sense to do that as part of this PR too if you implement this suggestion. Basically, we'd always group the trace and the publics-

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.

2 participants