From a discussion here with @erhant, it appears that circomkit does not yet handle automatically-generating wrappers for circom templates whose input signals are tagged.
This would be nice to have for several reasons:
- Tags add a much needed layer of sanity checks to
circom development
- Manually writing stubs for different tests of the same template does not scale well
I am not sure what's the best way to actually allow for tags in circomkit though. Here's my two cents:
Non-valued tags:
These seem simple to handle: just add them automatically in the auto-generated wrapper by circomkit!
Valued tags:
These may need special handling.
I think it would be best if developers using circomkit could, in their TypeScript tests, specify the value of the tags they want to test with for their input signals. (This means that the circom wrapper has to be generated at run time?)
From a discussion here with @erhant, it appears that
circomkitdoes not yet handle automatically-generating wrappers forcircomtemplates whose input signals are tagged.This would be nice to have for several reasons:
circomdevelopmentI am not sure what's the best way to actually allow for tags in
circomkitthough. Here's my two cents:Non-valued tags:
These seem simple to handle: just add them automatically in the auto-generated wrapper by circomkit!
Valued tags:
These may need special handling.
I think it would be best if developers using
circomkitcould, in their TypeScript tests, specify the value of the tags they want to test with for their input signals. (This means that the circom wrapper has to be generated at run time?)