o1-labs / o1js

TypeScript framework for zk-SNARKs and zkApps

Home Page:https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proper handling of `Struct.empty()` when one of the base types doesn't have `empty()`

mitschabaude opened this issue · comments

Issue reported in discord: https://discord.com/channels/484437221055922177/915745847692636181/1240099940718477412

There are two issues: Group.empty() was missing, and (even worse) it being missing didn't cause an error but rather a garbage Struct.empty() result