We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to somehow specify publicity of arguments of circuit function: which arguments are public and which are private.
In C++ we now can do it by applying attributes to function arguments:
[[circuit]] void example( int a, // this is public input [[private_input]] int b, // this is private input );
Possible syntax of that in Rust is quite similar (using attributes on function parameters):
#[circuit] fn example( a: u32, // this is public input #[private] b: u32, // this is private input ) {}
The text was updated successfully, but these errors were encountered:
aleasims
No branches or pull requests
We need to somehow specify publicity of arguments of circuit function: which arguments are public and which are private.
In C++ we now can do it by applying attributes to function arguments:
Possible syntax of that in Rust is quite similar (using attributes on function parameters):
The text was updated successfully, but these errors were encountered: