fix: assert types are not mutated in constant folding#9481
fix: assert types are not mutated in constant folding#9481TomAFrench merged 6 commits intomasterfrom
Conversation
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: c1f9de8 | Previous: b51b616 | Ratio |
|---|---|---|---|
test_report_zkpassport_noir-ecdsa_ |
2 s |
1 s |
2 |
test_report_zkpassport_noir_rsa_ |
2 s |
1 s |
2 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Execution Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 05939f9 | Previous: b51b616 | Ratio |
|---|---|---|---|
private-kernel-tail |
0.013 s |
0.01 s |
1.30 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
Changes to Brillig bytecode sizes
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Compilation Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 05939f9 | Previous: b51b616 | Ratio |
|---|---|---|---|
private-kernel-tail |
1.788 s |
1.328 s |
1.35 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE chore: restore noir libs in CI (noir-lang/noir#9499) feat!: new semantic for bit-shifts (noir-lang/noir#9373) fix(ssa): Replace side effects with defaults when disabled (noir-lang/noir#9462) fix(ssa): Replace pop from 0-length slice with constraint and defaults (noir-lang/noir#9489) fix: assert types are not mutated in constant folding (noir-lang/noir#9481) fix: remove shadowing in `BoundedVec::any` causing returning false unconditionally (noir-lang/noir#9478) END_COMMIT_OVERRIDE
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE chore: restore noir libs in CI (noir-lang/noir#9499) feat!: new semantic for bit-shifts (noir-lang/noir#9373) fix(ssa): Replace side effects with defaults when disabled (noir-lang/noir#9462) fix(ssa): Replace pop from 0-length slice with constraint and defaults (noir-lang/noir#9489) fix: assert types are not mutated in constant folding (noir-lang/noir#9481) fix: remove shadowing in `BoundedVec::any` causing returning false unconditionally (noir-lang/noir#9478) END_COMMIT_OVERRIDE
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE chore: restore noir libs in CI (noir-lang/noir#9499) feat!: new semantic for bit-shifts (noir-lang/noir#9373) fix(ssa): Replace side effects with defaults when disabled (noir-lang/noir#9462) fix(ssa): Replace pop from 0-length slice with constraint and defaults (noir-lang/noir#9489) fix: assert types are not mutated in constant folding (noir-lang/noir#9481) fix: remove shadowing in `BoundedVec::any` causing returning false unconditionally (noir-lang/noir#9478) END_COMMIT_OVERRIDE
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE chore: restore noir libs in CI (noir-lang/noir#9499) feat!: new semantic for bit-shifts (noir-lang/noir#9373) fix(ssa): Replace side effects with defaults when disabled (noir-lang/noir#9462) fix(ssa): Replace pop from 0-length slice with constraint and defaults (noir-lang/noir#9489) fix: assert types are not mutated in constant folding (noir-lang/noir#9481) fix: remove shadowing in `BoundedVec::any` causing returning false unconditionally (noir-lang/noir#9478) END_COMMIT_OVERRIDE
Description
Problem*
Resolves #9477
Resolves #9480
Summary*
This PR adds tests to catch types being mutated inside of constant folding.
Additional Context
Documentation*
Check one:
PR Checklist*
cargo fmton default settings.