Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@clararod9 clararod9 released this 07 Oct 20:09
· 1 commit to master since this release

October 07, 2024 circom 2.2.0

New features

  • Buses: more information here.

Changes

  • input/output keywords are the first token in declarations (though having it after "signal" is still accepted).
  • The default option for constraint simplification is --O1 (instead of --O2 which was the default until now). More information in here.

Extensions

  • Allowing array assignments of different sizes.
  • Improving error reports when parsing.
  • Improving documentation.

Fixed bugs

  • Main with no inputs is now executed once.
  • Fixing complement function to depend on the prime number used.
  • Applying modulo prime number to any constant in the circuit.
  • Fixing minor panic: the number of signals passed to the anonymous component must be equal to the actual number of inputs.