Skip to content

Releases: dl-solarity/hardhat-zkit

Release v0.4.13

04 Nov 14:50
120bd7a
Compare
Choose a tag to compare

Release notes v0.4.13 🎉

This is a patch release

  • Fixed circuits cache schema bug that resulted in the recompilation of circuits regardless of the cache.

Release v0.4.12

01 Nov 12:33
86f97e8
Compare
Choose a tag to compare

Release notes v0.4.12 🎉

This is a minor release

  • Made the O1 optimization flag the default one. Older Circom compilers (prior v2.2.0) used the default O2 flag deemed insecure due to heavy removal of constraints.
  • Migrated to circom-parser v0.2.0 that aims to cover 99.9% of Circom grammar.
  • Refactored and improved circuits parsing visitors that should result in more exotic cases being considered.

Release v0.4.11

30 Oct 15:38
755e538
Compare
Choose a tag to compare

Release notes v0.4.11 🎉

This is a patch release

  • Fixed a bug with missing optimization flags in the cache that always recompiled circuits regardless of their modification.

Release v0.4.10

29 Oct 16:57
93224ef
Compare
Choose a tag to compare

Release notes v0.4.10 🎉

This is a patch release

  • Added support for Circom optimization flags. They can be specified in the config and follow the naming conventions O0, O1, and O2.
  • Fixed the snarkjs curve thread termination bug on the plugin level. The full fix requires an upgrade to zkit v0.3.0 which will be made in the next major plugin release.

Release v0.4.9

22 Oct 14:02
e3e92ca
Compare
Choose a tag to compare

Release notes v0.4.9 🎉

This is a patch release

  • Added "filtering" logic to the circuits parser to log warnings instead of panicking if certain Circom var expressions are encountered:

    var var1 = functionCall(); // function call
    var var2 = component.out; // nested signals

Note

Please avoid using complex var expressions as template constants or array signal dimensions.

Release v0.4.8

17 Oct 16:49
9c0f597
Compare
Choose a tag to compare

Release notes v0.4.8 🎉

This is a patch release

  • Added minimal viable support for Circom var variables. Simple expressions like var declarations, assignments, not-nested if / else statements, loops, etc, are now properly parsed and can be used as arguments in templates (fixes #40).
  • Updated circom-parser dependency to v0.1.5 that fixes a bug where the parser confused <= operator with >=.

Release v0.4.7

14 Oct 14:08
15f657e
Compare
Choose a tag to compare

Release notes v0.4.7 🎉

This is a patch release

  • Updated circom-parser to handle several edge cases in circom grammar (fixes #39).

Release v0.4.6

11 Oct 17:17
abd18d7
Compare
Choose a tag to compare

Release notes v0.4.6 🎉

This is a bugfix release

  • Fixed circom parser issue that the parser didn't recognize circom logging functions with multiple parameters.
  • Fixed another circom parser issue where the parser panicked in case inner component multidimensional array signals were referenced (e.g. ... <== component.out[i][j]).
  • Fixed resolution of wasm and arm compilers. Now supported compiler boundaries are properly checked and handled.
  • Required the node engine to be >=16.

Release v0.4.5

09 Oct 13:04
6365041
Compare
Choose a tag to compare

Release notes v0.4.5 🎉

This is a minor release

  • Expanded arm circom compilers compatibility all the way down to circom v2.0.5.

Note

Previous plugin versions may not download arm compilers properly. If you are facing this issue, upgrade to hardhat-zkit v0.4.5.

Release v0.4.4

08 Oct 11:28
09d084f
Compare
Choose a tag to compare

Release notes v0.4.4 🎉

This is a bugfix release

  • Fixed a bug with @src remappings in dist that crashed the plugin.