Skip to content

0.8.2

Compare
Choose a tag to compare
@zokratesbot zokratesbot released this 06 Sep 21:26
· 296 commits to develop since this release
f592a4a

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 from utils/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.