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

Remove chiquito2halo2 function in halo2 backend #276

Merged

Conversation

alxkzmn
Copy link
Collaborator

@alxkzmn alxkzmn commented Jul 18, 2024

No description provided.

@alxkzmn alxkzmn marked this pull request as ready for review July 18, 2024 22:46
@alxkzmn alxkzmn requested review from leolara and rutefig July 18, 2024 22:46
pub circuit: Circuit<F>,
pub assignment_generator: Option<AssignmentGenerator<F, TG>>,
}

impl<F: Clone, TG: TraceGenerator<F> + Clone> Clone for PlonkishCompilationResult<F, TG> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@alxkzmn I think you can do an automatic derivation

@@ -54,11 +54,20 @@ pub fn compile<
}
}

pub struct PlonkishCompilationResult<F, TG> {
pub struct PlonkishCompilationResult<F: Clone, TG: TraceGenerator<F> + Clone> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@alxkzmn I don't think you need to make the generic types Clone here, just in the impl clause that needs that

@leolara
Copy link
Collaborator

leolara commented Jul 19, 2024

@alxkzmn

now the halo2 mock prover is not a mock prover, anymore?

The changes to python, apart random setup, are just linting?

@alxkzmn
Copy link
Collaborator Author

alxkzmn commented Jul 19, 2024

Yep, it's not a mock prover anymore but I didn't want to rename it everywhere because we're still waiting for privacy-scaling-explorations/halo2#356 to be merged so we can have the "mock prover" again. Those big changes to Poseidon example is because of formatting, the only real change there is passing the params_path value.

@alxkzmn alxkzmn requested a review from leolara July 29, 2024 06:01
@alxkzmn alxkzmn merged commit a142e84 into chiquito-2024 Jul 29, 2024
4 checks passed
@alxkzmn alxkzmn deleted the 273-remove-chiquito2halo2-function-in-halo2-backend branch August 7, 2024 11:18
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.

None yet

2 participants