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

Plonky public values constrained by fixed columns #1610

Merged
merged 12 commits into from
Aug 1, 2024

Conversation

topanisto
Copy link
Contributor

Addressing #1607 -- changing the implementation for constraining public values to reflect changes from #1543, as well as a slight refactoring of PowdrCircuit struct to include publics.

plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/stark.rs Show resolved Hide resolved
plonky3/src/stark.rs Show resolved Hide resolved
.public_declarations
.values()
.map(|public_declaration| {
let witness_name = public_declaration.referenced_poly_name();
Copy link
Collaborator

Choose a reason for hiding this comment

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

This does not have to be a witness, public inputs can reference any column (even if it doesn't make sense in practice to expose a cell of a fixed column)

Copy link
Collaborator

Choose a reason for hiding this comment

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

probably column makes more sense in this block

plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Show resolved Hide resolved
plonky3/src/circuit_builder.rs Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
plonky3/src/circuit_builder.rs Outdated Show resolved Hide resolved
@Schaeff Schaeff added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit 9a29272 Aug 1, 2024
14 checks passed
@Schaeff Schaeff deleted the plonky3-publics-as-fixed-cols branch August 1, 2024 15:19
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