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: get number of layers from private inputs #1735

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Nov 2, 2023

Instead of passing in the number of layers through the public params, get the number of layers from the private inputs that are required anyway. The number of layers equals the number of columns of a columns proof.


I first wasn't really convinced that it makes sense, but after seeing that now circuit() doesn't need the public params anymore it looks like a win to me.

Copy link
Contributor

@DrPeterVanNostrand DrPeterVanNostrand left a comment

Choose a reason for hiding this comment

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

Thanks, I've wanted this change for a long time. Just one comment, but otherwise looks good to me.

@vmx vmx force-pushed the stacked-circuit-num-layers branch from dab8b31 to a1843e5 Compare December 1, 2023 18:56
Base automatically changed from stacked-circuit-num-layers to master December 1, 2023 19:59
@vmx vmx dismissed DrPeterVanNostrand’s stale review December 1, 2023 19:59

The base branch was changed.

Instead of passing in the number of layers through the public params,
get the number of layers from the private inputs that are required
anyway. The number of layers equals the number of columns of a columns
proof.
@vmx vmx force-pushed the stacked-circuit-remove-num-layers branch from d08ea73 to 01eaf2d Compare December 1, 2023 20:03
@vmx vmx merged commit 259c992 into master Dec 1, 2023
32 checks passed
@vmx vmx deleted the stacked-circuit-remove-num-layers branch December 1, 2023 23:51
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