Commit 72c8ae2
feat(fast-inbox): drop bundle num_real_msgs and pad in the prover path (A-1384)
Align the node message-bundle representation and prover orchestrator with the
circuit flip (AZIP-22 Fast Inbox):
- stdlib L1ToL2MessageBundle drops numRealMsgs (single numMsgs real count);
makeL1ToL2MessageBundle and the noir conversion follow.
- Prover orchestrator: compact (unpadded) L1-to-L2 tree insertion, checkpoint
InboxParity in_hash hint fed zero, getPaddedL1ToL2Messages/getNumRealL1ToL2Messages
retired.
Known follow-up (flagged in-code): the prover still assigns the whole checkpoint's
messages to its first block; post-flip a block carries at most
MAX_L1_TO_L2_MSGS_PER_BLOCK and a checkpoint drains across up to four blocks, so
the per-block message split (with per-block snapshots and compact frontier hints)
still needs the proving-path rework, verified by epoch-proving e2e on CI.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 9e80502 commit 72c8ae2
6 files changed
Lines changed: 28 additions & 51 deletions
File tree
- yarn-project
- noir-protocol-circuits-types/src/conversion
- prover-client/src/orchestrator
- stdlib/src
- messaging
- tests
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
840 | 839 | | |
841 | 840 | | |
842 | 841 | | |
| |||
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
| 381 | + | |
383 | 382 | | |
384 | 383 | | |
385 | 384 | | |
| |||
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
82 | 74 | | |
83 | 75 | | |
84 | 76 | | |
| |||
179 | 171 | | |
180 | 172 | | |
181 | 173 | | |
182 | | - | |
| 174 | + | |
| 175 | + | |
183 | 176 | | |
184 | 177 | | |
185 | 178 | | |
| |||
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
528 | 526 | | |
529 | 527 | | |
530 | 528 | | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
| 529 | + | |
| 530 | + | |
535 | 531 | | |
536 | 532 | | |
537 | 533 | | |
| |||
547 | 543 | | |
548 | 544 | | |
549 | 545 | | |
550 | | - | |
551 | 546 | | |
552 | 547 | | |
553 | 548 | | |
| |||
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
35 | | - | |
| 31 | + | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
| 42 | + | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
62 | | - | |
| 58 | + | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | | - | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
| 969 | + | |
974 | 970 | | |
975 | 971 | | |
976 | 972 | | |
| |||
980 | 976 | | |
981 | 977 | | |
982 | 978 | | |
983 | | - | |
| 979 | + | |
984 | 980 | | |
985 | 981 | | |
986 | 982 | | |
| |||
0 commit comments