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

Audit preparedness omnibus #5173

Open
1 of 4 tasks
michaeljklein opened this issue Jun 4, 2024 · 0 comments
Open
1 of 4 tasks

Audit preparedness omnibus #5173

michaeljklein opened this issue Jun 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@michaeljklein
Copy link
Contributor

michaeljklein commented Jun 4, 2024

Problem

This is an omnibus issue for unit testing for audit readiness.

To do:

Summary:

  • acir-gen
    • acir-gen optimizations
    • Individual acir-gen functions, e.g. in acir_variables.rs
      • Plan to use quickcheck for unit tests first
      • Need to handle both witnesses and expressions as inputs
        • E.g. convert a witness to an expression by multiplying it by a variable
  • SSA
    • Has a number of smaller SSA passes, some already unit tested
  • Monomorphizer
    • Unit test individual cases, e.g. monomorphizing TypeVariableKind::IntegerOrField
  • Revisit after unit tests:
    • Fuzzing:
      • Areas where bugs were found
      • ACVM solvers
        • Checking that we return proper errors on garbage inputs, e.g. for
          embedded_curve_add
    • Integration tests for ACVM

Happy Case

We have unit tests for all key cases listed above

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@michaeljklein michaeljklein added the enhancement New feature or request label Jun 4, 2024
@michaeljklein michaeljklein self-assigned this Jun 4, 2024
github-merge-queue bot pushed a commit that referenced this issue Jun 10, 2024
# Description

## Problem\*

Related to #5173 

## Summary\*

This PR adds some usage of the `proptest` crate into ACVM crates to
replace some smoke-tests which use hardcoded values.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant