Skip to content

Commit

Permalink
refactor!: update to circom 2.2.0 behavior
Browse files Browse the repository at this point in the history
BREAKING CHANGE: In accordance to the circom 2.2.0 release, the default simplification level is now O1
  • Loading branch information
dkales committed Nov 5, 2024
1 parent bc519ba commit 2b4dbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions co-circom/circom-mpc-compiler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub enum SimplificationLevel {

impl Default for SimplificationLevel {
fn default() -> Self {
SimplificationLevel::O2(usize::MAX)
SimplificationLevel::O1
}
}

Expand Down Expand Up @@ -86,7 +86,7 @@ pub struct CompilerConfig {
}

fn default_version() -> String {
"2.0.0".to_owned()
"2.2.0".to_owned()
}

impl Default for CompilerConfig {
Expand Down

0 comments on commit 2b4dbc9

Please sign in to comment.