-
Notifications
You must be signed in to change notification settings - Fork 39
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
Remove chiquito2halo2 function in halo2 backend #276
Conversation
src/plonkish/compiler/mod.rs
Outdated
pub circuit: Circuit<F>, | ||
pub assignment_generator: Option<AssignmentGenerator<F, TG>>, | ||
} | ||
|
||
impl<F: Clone, TG: TraceGenerator<F> + Clone> Clone for PlonkishCompilationResult<F, TG> { |
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.
@alxkzmn I think you can do an automatic derivation
src/plonkish/compiler/mod.rs
Outdated
@@ -54,11 +54,20 @@ pub fn compile< | |||
} | |||
} | |||
|
|||
pub struct PlonkishCompilationResult<F, TG> { | |||
pub struct PlonkishCompilationResult<F: Clone, TG: TraceGenerator<F> + Clone> { |
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.
@alxkzmn I don't think you need to make the generic types Clone here, just in the impl clause that needs that
now the halo2 mock prover is not a mock prover, anymore? The changes to python, apart random setup, are just linting? |
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 |
No description provided.