Fix allocated public inputs indexes (#1)

* fix: manage already allocated public inputs with a custom mapping

* fix: initialize CircomCircuit with empty allocated public input variables

* feat: add ability to choose to allocate inputs as witnesses or instances

* chore: remove outdated comment

* test: add relevant tests and asserts for generate_constraints

* chore: add files used for tests

* chore: replace assert_eq with match statement
This commit is contained in:
Pierre
2024-05-28 12:30:59 +02:00
committed by GitHub
parent 48f2915b64
commit a8b03b56e1
7 changed files with 275 additions and 37 deletions

Binary file not shown.