-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying a custom dir with "dirCircuits" #33
Comments
Hello, thanks for the issue! You are right, I believe I'd initially started as an opinionated repo where all circuits lay below There is a test for a custom path but there is no test for custom dir, so I think I will add a test for this as well. I will fix it by exposing that directory config to instantiate + use that for |
@erhant Thanks for your quick reply, I'll wait for it. And great work, I really like this tool! |
@cedoor heya, I believe the issue is fixed now & is published at v0.0.19 The test workflow failed because apparently the Circom installation fails in the workflow (#35 ) but the tests were passing locally™ for me. Please let me know if the issue is fixed on your end. Also I wanted to ask for an opinion: the fix is as we have first discussed where Circomkit has a single EDIT: Workflow bug is fixed & tests are pacito ✅ |
@erhant It works 👍🏽 Thank you so much!
Yes, I think it makes sense and I'd probably need it soon :D |
No problem! Truly happy to hear that you enjoyed the lib & a pleasure to see PSE using it ❤️ I've created an issue about the aforementioned feature #37, I will look at it sometime soon, please |
Sure! I think it's not urgent tho 👍🏽 |
If I specify a custom directory for my circuit templates (e.g. src) and run
circomkit compile
it still creates acircuits/main/circuit.circom
folder for its component. It fails because the relative path generated within that circuit is wrong."../circuit.circom"
doesn't exist in that folder.I think the right folder for components should be
src/main/circuit.circom
.The following line could be the problem.
circomkit/src/utils/instantiate.ts
Line 42 in 0473d88
Does it make sense? Or am I missing something?
The text was updated successfully, but these errors were encountered: