Commit Graph

1 Commits

Author SHA1 Message Date
Pierre
a8b03b56e1 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
2024-05-28 12:30:59 +02:00