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

Add prover parameters file and set defaults to 96 bits #420

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

m-kus
Copy link

@m-kus m-kus commented Jan 30, 2025

Why: currently there's no way to change PCS config externally, plus the default parameters set to 15 bits which may mislead ppl benchmarking programs with Stwo (e.g. in terms of the proof size).

What:

  • ProverParameters struct is introduced (similarly to Stone which has prover config and prover params)
  • A new CLI optional argument is introduced
  • Default prover parameters chosen to ensure 96 bits of security and to keep the same proving time (prioritize speed over proof size)

This PR depends on #419
Related to #410


This change is Reviewable

@m-kus
Copy link
Author

m-kus commented Jan 30, 2025

@yuvalsw please take a look

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.

1 participant