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
Issue 1~3 are fixed by #307
https://docs.circom.io/circom-language/templates-and-components/#components
a.in
template A(N){ signal input in; signal output out; out <== in; } template C(N){ signal output out; out <== N; } template B(N){ signal output out; component a; if(N > 0){ a = A(N); } else{ a = A(0); } a.in <== 1 //add this line } component main = B(1);
var
component rollupTx[nTx]; for (var i = 0; i < nTx; i++) { //add var rollupTx[i] = parallel RollupTx(nLevels, maxFeeTx); }
pragma circom 2.1.0; //add pragma version template B() { //remove arg n signal input in; signal output out; //input -> output out <== in + 1; } template A(n) { signal aux; signal out; if(n == 2) { aux <== 2; out <== B()(aux); } else { out <== 5; } } component main = A(3);
raise an error while being compiled
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue 1~3 are fixed by #307
https://docs.circom.io/circom-language/templates-and-components/#components
is missing an assignment fora.in
.var
in for loop?https://docs.circom.io/circom-language/templates-and-components/#components
raise an error while being compiled
The text was updated successfully, but these errors were encountered: