-
Notifications
You must be signed in to change notification settings - Fork 23
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
chore: clean up #74
chore: clean up #74
Conversation
0xmad
commented
Nov 8, 2023
•
edited
Loading
edited
- Add checks for ci actions
- Run prettier, clippy, fmt commands for all the files
- Move circom circuits to a circom folder
- Get rid of js var statements
- Speed up circom tests by moving them to separate files and run concurrently
- [x] Add checks for ci actions - [x] Run prettier, clippy, fmt commands for all the files - [x] Move circom circuits to a circom folder - [x] Get rid of js var statements
This looks great! Until @skaunov reviews it, do you want to send your wallet address and I can send a bounty? |
@Divide-By-0 sorry, but I work at PSE :) |
Oh you know what, that makes a lot of sense LOL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I stumbled through, looking into what caught my attention. GA upgrades are very cool, lots of useful settings/setups, and so on.
The one thing that I would highlight is replacing Yarn for pnpm
. I don't follow JS really closely, and my knowledge of it is pretty basic; I mean no defense of Yarn from my side, heh. The sole reason I highlight the fact is that with mine casual exposure to JS I never came across pnpm
AFAIR. On the other hand I guess @0xmad wouldn't put it here if it weren't developer friendly.
That's all from me, other added comments are truly minor.
@skaunov thanks for the review. I added pnpm just because it's faster and it's easier to use it as monorepo tool (I'll add workspaces later to get rid of relative paths inside |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All items which caught my attention was addressed; so I have nothing to add to the previous review!
I just noticed that @Divide-By-0 asked actually to also merge this one. %) |
Just noticed that we have path with repetition now: <circuits/circom/test/circuits>. I personally try to avoid this due to minor discomfort it brings, so want to attract your attention to this. Though if everybody fine with it, then... |
@skaunov what's the problem with it? It's not going to be exported and it uses internally inside test folder. |
I also received when was quickly running the instructions. devbox@pop-os:~/zk-nullifier-sig/circuits/circom$ pnpm run flatten-deps && pnpm run test
ERR_PNPM_NO_SCRIPT Missing script: flatten-deps
Command "flatten-deps" not found. |
|