johnson86tw / maci

Minimal anti collusion infrastructure
https://appliedzkp.github.io/maci/
Other
0 stars 1 forks source link

Failed to compile ProcessMessages (test) with params 10,2,1,2 #6

Closed johnson86tw closed 2 years ago

johnson86tw commented 2 years ago
root@a1e8a611e046:~/maci/cli# npx zkey-manager compile -c zkeys.config.yml
Compiling ProcessMessages (test) with params 10,2,1,2
error[P1000]: UnrecognizedToken { token: (11260, Token(56, "for"), 11263), expected: ["\"!=\"", "\"%\"", "\"%=\"", "\"&\"", "\"&&\"", "\"&=\"", "\"(\"", "\")\"", "\"*\"", "\"**\"", "\"**=\"", "\"*=\"", "\"+\"", "\"++\"", "\"+=\"", "\",\"", "\"-\"", "\"--\"", "\"-->\"", "\"-=\"", "\".\"", "\"/\"", "\"/=\"", "\":\"", "\";\"", "\"<\"", "\"<--\"", "\"<<\"", "\"<<=\"", "\"<=\"", "\"<==\"", "\"=\"", "\"==\"", "\"===\"", "\"==>\"", "\">\"", "\">=\"", "\">>\"", "\">>=\"", "\"?\"", "\"[\"", "\"\\\\\"", "\"\\\\=\"", "\"]\"", "\"^\"", "\"^=\"", "\"|\"", "\"|=\"", "\"||\""] }
    ┌─ "/root/maci/circuits/circom/processMessages.circom":285:9
    │
285 │         for (var j = 0; j < stateTreeDepth; j ++) {
    │         ^^^ Invalid syntax

previous errors were found
cd: no such file or directory: /root/maci/cli/zkeys/ProcessMessages_10-2-1-2_test_cpp
make: *** No targets specified and no makefile found.  Stop.
Error running the make command. Please check if all dependencies are present.
[String: ''] {
  stdout: '',
  stderr: 'make: *** No targets specified and no makefile found.  Stop.\n',
  code: 2,
  cat: [Function: bound ],
  exec: [Function: bound ],
  grep: [Function: bound ],
  head: [Function: bound ],
  sed: [Function: bound ],
  sort: [Function: bound ],
  tail: [Function: bound ],
  to: [Function: bound ],
  toEnd: [Function: bound ],
  uniq: [Function: bound ]
}
make: *** No targets specified and no makefile found.  Stop.

mv: no such file or directory: /root/maci/cli/zkeys/ProcessMessages_10-2-1-2_test_cpp/ProcessMessages_10-2-1-2_test
mv: no such file or directory: /root/maci/cli/zkeys/ProcessMessages_10-2-1-2_test_cpp/ProcessMessages_10-2-1-2_test.dat
Compiling TallyVotes (test) with params 10,1,2
...
johnson86tw commented 2 years ago

https://github.com/appliedzkp/maci/issues/320

johnson86tw commented 2 years ago

appliedzkp#372 Fixed.