privacy-scaling-explorations / halo2

https://privacy-scaling-explorations.github.io/halo2/
Other
201 stars 121 forks source link

Adding debugging & testing utils #343

Closed ed255 closed 3 months ago

ed255 commented 3 months ago

I would like to propose introducing a new crate with debugging and testing utilities.

I constantly find myself rewriting the same debugging functions and boilerplate for cases like:

@zemse actually made a repository with utilities like this: https://github.com/zemse/halo2-utils?tab=readme-ov-file#print-assignments

My proposal is to have an implementation of these utilities in a new crate but they don't need to be super clean, they could be targeted to debugging and development, so we don't put high bar on their API or stability (that would be a plus but not a requirement). The main goal would be to be useful.

Here's a list of particular things I would like

adria0 commented 3 months ago

Merged