Commit cfad664
authored
chore: test ACVM
# Description
## Problem\*
Part of #5426
## Summary\*
Tests
- Conversion to/from LE arrays of bytes
- Add/Mul associative/commutative/identity
- Mul has L/R zero
- Distributive property
- Invertibility of Add/Mul
- Injectivity of Add
## Additional Context
Without updating `overflow-checks` defaults, the invalid-modulus only
panics locally while passing in CI.
It results in a 22% increase in user time and 27% increase in wall-clock
time running `cargo test` (in release mode):
- With overflow checks: `708.25s user 38.29s system 842% cpu 1:28.65
total`
- Without overflow checks: `577.09s user 32.65s system 875% cpu 1:09.68
total`
## 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.BigInt (#5559)1 parent a764c5b commit cfad664
2,402 files changed
Lines changed: 10741 additions & 17 deletions
File tree
- acvm-repo/acvm
- tests
- docs/docs/noir/standard_library
- test_programs/execution_failure/bigint_from_too_many_le_bytes
- src
- tooling
- nargo_cli
- nargo_fuzz_target/outputs/default
- hangs
- queue
- .state
- deterministic_done
- redundant_edges
- variable_behavior
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments