AztecProtocol / barretenberg

Apache License 2.0
129 stars 78 forks source link

circuit simulator: make stdlib primitives tests more robust #957

Closed maramihali closed 2 months ago

maramihali commented 3 months ago

At the moment, because the simulator doesn't have variable indices or number of gates tracking many tests that check statements related to those or retrieve circuit variables using the indices will fail. We can avoid this with compile time if statements but it feels like there has to be a more robust way.