0.8.2
This new release of ZoKrates introduces some new language features:
- Shadowing is now allowed ✅
field a = 42;
bool a = true;
- Functions implicitly return
()
. For example, the following is now allowed without a return statement:
def main() {
}
- Casting between types is now easier by importing
cast
fromutils/casts
function
u64 a = 42;
u16[4] b = cast(42);
- A bug in the
circom
integration was fixed
For a full list of the changes, check out the changelog.