Skip to content
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

test: fuzz testing for circuits #1506

Merged
merged 1 commit into from
May 24, 2024
Merged

test: fuzz testing for circuits #1506

merged 1 commit into from
May 24, 2024

Conversation

0xmad
Copy link
Collaborator

@0xmad 0xmad commented May 23, 2024

Description

  • Add fast-check for circuits packages
  • Add fuzz testing test templates
  • Code style fixes for circuits

Additional Notes

Fuzz tests are not enabled for now. You can run them locally with pnpm run test:fuzz command inside circuits folder (very time consuming).

Related issue(s)

Related to #1406

Confirmation

@0xmad 0xmad added the testing Issue/PR related to tests label May 23, 2024
@0xmad 0xmad self-assigned this May 23, 2024
Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
maci-website ✅ Ready (Inspect) Visit Preview May 24, 2024 3:10pm

Copy link
Collaborator

@ctrlc03 ctrlc03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff, left some comments

circuits/circom/utils/privToPubKey.circom Show resolved Hide resolved
circuits/ts/__tests__/PrivToPubKey.test.ts Outdated Show resolved Hide resolved
circuits/package.json Outdated Show resolved Hide resolved
- [x] Add fast-check for circuits packages
- [x] Add fuzz testing test templates
- [x] Code style fixes for circuits
Copy link
Collaborator

@ctrlc03 ctrlc03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@0xmad 0xmad merged commit 1dc6084 into dev May 24, 2024
21 checks passed
@0xmad 0xmad deleted the test/circuits-pbt branch May 24, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issue/PR related to tests
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants