Skip to content

Commit

Permalink
Remove witness_gen_only
Browse files Browse the repository at this point in the history
  • Loading branch information
nyunyunyunyu committed Nov 28, 2023
1 parent 5342cb7 commit ca26db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halo2-base/src/utils/halo2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ pub fn constrain_virtual_equals_external<F: Field + Ord>(

/// Circuit with default values.
pub trait CircuitWithDefault<F: Field>: Circuit<F> {
/// Return Circuit with default inputs for the given params.
fn default(witness_gen_only: bool, params: Self::Params) -> Self;
/// Return Circuit with default inputs for the given params. Return struct could be used for pkey generation.
fn default(params: Self::Params) -> Self;
}

0 comments on commit ca26db8

Please sign in to comment.