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

chores: adjust domain api visibility #238

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

hero78119
Copy link
Member

@hero78119 hero78119 commented Dec 15, 2023

Context

Recently in zkEVM proof chunk we introduce user-challenge to derive application level challenge by random oracle with selected columns commitments. To derive commitment of advices column, we follow halo2 create_proof api, where one of the halo2 domain api need to adjust visibility to public, since this is the only way to derive Polynomial<Assigned<F>, LagrangeCoeff> type.

Furthermore, another domain api fn empty_lagrange is also public so it make sense for fn empty_lagrange_assigned as well.

reference usecase zkEVM PR privacy-scaling-explorations/zkevm-circuits#1709

@hero78119 hero78119 changed the title adjust domain api visibility chores: adjust domain api visibility Dec 15, 2023
Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

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

I'm starting to think at some point we should make a polynomial lib and get this out of here.

@CPerezz CPerezz merged commit a4abbf5 into privacy-scaling-explorations:main Dec 15, 2023
12 checks passed
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.

3 participants