zksecurity / noname

Noname: a programming language to write zkapps
https://zksecurity.github.io/noname/
181 stars 47 forks source link

type as argument #7

Closed mimoo closed 2 years ago

mimoo commented 2 years ago

if I pass a boolean as private argument of main, I think it won't have a constraint that checks that it is a boolean (x(x-1) = 0). This is a bug!