-
Hello, I need to use a variable inside the Define function as an input to another circuit. I basically need to define a variable as "signal output X" like in circom language. I have researched through the docs and the examples in the repo, but couldn't find an alias to output. It seems like only public and secret inputs are definable. Is it possible to define a variable as output of the circuit? If not what else can i use? Thank you for the answers! |
Beta Was this translation helpful? Give feedback.
Answered by
gbotrel
Mar 24, 2023
Replies: 1 comment 3 replies
-
Hi -- with gnark, you only have 1 circuit; to call "subcomponents", you just call functions. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Faedon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi -- with gnark, you only have 1 circuit; to call "subcomponents", you just call functions.