-
Notifications
You must be signed in to change notification settings - Fork 387
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
(v0.12.2) Move params out of prover/verifier #1404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
prover/src/aggregator/prover.rs
Outdated
impl Prover { | ||
pub fn from_dirs(params_dir: &str, assets_dir: &str) -> Self { | ||
impl<'params> Prover<'params> { | ||
pub fn degrees() -> Vec<u32> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this degrees
method in both the aggregetor/zkevm verifier, since we don't use it. The degrees needed to instantiate the Prover
are more than the degrees needed to instantiate the Verifier
(which is used by libzkp
). Since that part is already handled by simply the layer2_degree
and layer4_degree
, we don't need to expose another function degrees()
here. So I am removing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Added sanity check in commit: 339fe40
Commented on wrong PR
same with #1405
to update, we need to first push to this branch, then merge into v0.13