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

(v0.12.2) Move params out of prover/verifier #1404

Merged
merged 3 commits into from
Aug 26, 2024
Merged

Conversation

lispc
Copy link

@lispc lispc commented Aug 26, 2024

same with #1405

to update, we need to first push to this branch, then merge into v0.13

Copy link

@roynalnaruto roynalnaruto left a comment

Choose a reason for hiding this comment

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

Looks good.

impl Prover {
pub fn from_dirs(params_dir: &str, assets_dir: &str) -> Self {
impl<'params> Prover<'params> {
pub fn degrees() -> Vec<u32> {

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.

@roynalnaruto roynalnaruto changed the title refactor(prover): move params out of prover/verifier (v0.12.2) Move params out of prover/verifier Aug 26, 2024
@roynalnaruto roynalnaruto marked this pull request as ready for review August 26, 2024 16:47
Copy link

@roynalnaruto roynalnaruto left a 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

@roynalnaruto roynalnaruto merged commit 6f7b46a into v0.12 Aug 26, 2024
32 checks passed
@roynalnaruto roynalnaruto deleted the v0.12-params branch August 26, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants