Skip to content

feat: handle circom tags #116

@alinush

Description

@alinush

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:

  1. Tags add a much needed layer of sanity checks to circom development
  2. 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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions