Commit b7f2353
authored
Backport of #21020
to v4.
Cherry-pick applied cleanly — no conflicts.
## Summary
Two fixes:
### 1. Fix `MAX_EVENT_SERIALIZATION_LENGTH` mismatch
PR #20840 changed `MAX_EVENT_LEN` from 12 to 10 in
`yarn-project/txe/src/rpc_translator.ts` but forgot to update the
corresponding Noir constant `MAX_EVENT_SERIALIZATION_LENGTH` in
`txe_oracles.nr`. This caused the TXE oracle to return `10 * 5 = 50`
fields while the Noir oracle declaration expected `12 * 5 = 60` fields,
crashing the `emit_and_discover_event` test.
### 2. Re-enable TXE-dependent noir tests in CI
The `build_and_test` function in `bootstrap.sh` had a guard that only
ran TXE tests when no argument was passed, but CI always calls
`build_and_test fast` or `build_and_test full`. This fix removes the
conditional so TXE tests run in all CI modes.
ClaudeBox log: http://ci.aztec-labs.com/ed670f8e16fb711b-1
1 parent 2776313 commit b7f2353
3 files changed
Lines changed: 5 additions & 7 deletions
File tree
- noir-projects
- aztec-nr/aztec/src/test/helpers
- noir-contracts-comp-failures/contracts/invalid_note
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
315 | 313 | | |
316 | 314 | | |
317 | 315 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments