Releases: dl-solarity/hardhat-zkit
Releases · dl-solarity/hardhat-zkit
Release v0.4.13
Release v0.4.12
Release notes v0.4.12 🎉
This is a minor release
- Made the
O1
optimization flag the default one. Older Circom compilers (priorv2.2.0
) used the defaultO2
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
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
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 conventionsO0
,O1
, andO2
. - Fixed the
snarkjs
curve thread termination bug on the plugin level. The full fix requires an upgrade tozkit v0.3.0
which will be made in the next major plugin release.
Release v0.4.9
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
Release notes v0.4.8 🎉
This is a patch release
- Added minimal viable support for Circom
var
variables. Simple expressions likevar
declarations, assignments, not-nestedif / else
statements, loops, etc, are now properly parsed and can be used as arguments intemplates
(fixes #40). - Updated
circom-parser
dependency tov0.1.5
that fixes a bug where the parser confused<=
operator with>=
.
Release v0.4.7
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
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
andarm
compilers. Now supported compiler boundaries are properly checked and handled. - Required the
node
engine to be>=16
.
Release v0.4.5
Release notes v0.4.5 🎉
This is a minor release
- Expanded
arm
circom compilers compatibility all the way down tocircom 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
Release notes v0.4.4 🎉
This is a bugfix release
- Fixed a bug with
@src
remappings indist
that crashed the plugin.