pragma circom 2.0.4;
// [assignment] Modify the circuit below to perform a multiplication of three signals
template Multiplier3 () {
// Declaration of signals.
signal input a;
signal input b;
signal temp1;
signal input c;
signal output d;
// Constraints.
temp1 <== a*b;
d <== temp1*c;
}
component main = Multiplier3();
When I compile and export the PLONK solidity file on Mac, I got these lines different from the Linux version:
When I try to run a test on the Mac version, it fails, while the test on linux passes. Test code:
This is my circuit:
When I compile and export the PLONK solidity file on Mac, I got these lines different from the Linux version:
When I try to run a test on the Mac version, it fails, while the test on linux passes. Test code:
Both envs using:
node v16.15.0
circom compiler 2.0.4
snarkjs@0.4.16