kroma-network / circom-example

0 stars 0 forks source link

I have trouble running a circom circuit consisting of multiple circom files #1

Open Dimo99 opened 1 month ago

Dimo99 commented 1 month ago

Issue type

Support

OS platform and distribution

No response

Current behavior?

All examples are for a simple one file circom circuit. But I am trying to run a complicated example with lots of files and it doesn't work even if I pass includes parameter to compile_circuit

Expected Behavior?

I expect that if I pass includes parameter to the compile_circuit circom will be able to find the included files

Standalone code or description to reproduce the issue

Just add a circom file importing another self written circom file

Additional context

No response

chokobole commented 1 month ago

Hey! I'll give you the example of how to include self written circom files! Please refer to https://github.com/kroma-network/tachyon/blob/benchmark/plonky2-circom/vendors/circom/examples/plonky2/BUILD.bazel