zero-knowledge-gadgets
zero-knowledge-gadgets copied to clipboard
[BUG] VAnchor amounts / tests are showing broken amount invariant
It seems that the VAnchor R1CS circuit has a bug in either its implementation or in its tests. It is possible to mutate the input UTXO amounts to create an invalid invariant of amounts (public_amount + input_amounts === output_amounts should hold).