Open Shadow-Silhouette opened 4 months ago
Thanks for reporting this situation. Instead of catching the panic case, in the new release 2.1.9, we have allowed the programmer to define any number of different input signal names in the main component. So, it should compile correctly now.
Bug Report
Description
When introducing more than 256 input signals, the circom compiler panics and does not exit gracefully.
As a user of the circom compiler, I expect the compiler to exit gracefully and provide a meaningful error message.
Example Circuit
bug.circom
Steps to Reproduce
circom ./path/to/bug.circom --r1cs --wasm --sym --c -o ./target/compiled/
Expected Behavior
The compiler should exit gracefully and provide a meaningful error message or allow any number of input signals if there is no technical limitation behind that behaviour. Also, the cpp artifacts are generated which should probably not be the case on error.
Actual Behavior
Error (circom compiler):
Environment