circomkit icon indicating copy to clipboard operation
circomkit copied to clipboard

Parallel testing

Open erhant opened this issue 1 year ago • 0 comments

Consider the following test (of a logical OR gate):

await circuit.expectPass({ in: [0, 0] }, { out: 0 });
await circuit.expectPass({ in: [0, 1] }, { out: 0 });
await circuit.expectPass({ in: [1, 0] }, { out: 0 });
await circuit.expectPass({ in: [1, 1] }, { out: 1 });

If we were to use Promise.all for these, we get errors. Need to dive deeper into why that happens.

erhant avatar Feb 07 '24 13:02 erhant