Commit 014b2fd
feat!: aggregate out hashes and set on L1 per epoch
Instead of setting and inserting the `outHash` of a checkpoint when proposing a checkpoint. The circuits now aggregate all `outHash`es in an epoch to build an unbalanced tree. The root is inserted to the `Outbox` when the epoch proof is proven on L1.
The `outHash` in the checkpoint header is removed in this pr. It doesn't need to be in the header as it doesn't get checked or used anywhere. And the blob data already contains all tx out hashes, the out hash at the checkpoint level is committed to by the `blobsHash`, which is in the checkpoint header.
It's added back in [this pr](#18605) where the out hash of an epoch is checked on L1 to match the "aggregated" out hash of the last proposed checkpoint.
Co-authored-by: Alex Gherghisan <[email protected]>
Co-authored-by: Charlie <[email protected]>
Co-authored-by: Charlie Lye <[email protected]>
Co-authored-by: DanielKotov <[email protected]>
Co-authored-by: David Banks <[email protected]>
Co-authored-by: Esau <[email protected]>
Co-authored-by: Facundo <[email protected]>
Co-authored-by: Ilyas Ridhuan <[email protected]>
Co-authored-by: Innokentii Sennovskii <[email protected]>
Co-authored-by: Jan Beneš <[email protected]>
Co-authored-by: Jean M <[email protected]>
Co-authored-by: Jonathan Hao <[email protected]>
Co-authored-by: Josh Crites <[email protected]>
Co-authored-by: Khashayar Barooti <[email protected]>
Co-authored-by: LHerskind <[email protected]>
Co-authored-by: Lasse Herskind <[email protected]>
Co-authored-by: Leila Wang <[email protected]>
Co-authored-by: Maddiaa0 <[email protected]>
Co-authored-by: Miranda Wood <[email protected]>
Co-authored-by: Mitch <[email protected]>
Co-authored-by: Mitchell Tracy <[email protected]>
Co-authored-by: Phil Windle <[email protected]>
Co-authored-by: PhilWindle <[email protected]>
Co-authored-by: PhilWindle <[email protected]>
Co-authored-by: Raju Krishnamoorthy <[email protected]>
Co-authored-by: Rumata888 <[email protected]>
Co-authored-by: Santiago Palladino <[email protected]>
Co-authored-by: Santiago Palladino <[email protected]>
Co-authored-by: Santiago Palladino <[email protected]>
Co-authored-by: Sarkoxed <[email protected]>
Co-authored-by: Savio <[email protected]>
Co-authored-by: Savio-Sou <[email protected]>
Co-authored-by: Suyash Bagad <[email protected]>
Co-authored-by: Thunkar <[email protected]>
Co-authored-by: TomAFrench <[email protected]>
Co-authored-by: alejoamiras <[email protected]>
Co-authored-by: alexghr <[email protected]>
Co-authored-by: benesjan <[email protected]>
Co-authored-by: benesjan <[email protected]>
Co-authored-by: charlielye <[email protected]>
Co-authored-by: ciaranightingale <[email protected]>
Co-authored-by: critesjosh <[email protected]>
Co-authored-by: danielntmd <[email protected]>
Co-authored-by: dbanks12 <[email protected]>
Co-authored-by: defkit <[email protected]>
Co-authored-by: esau <[email protected]>
Co-authored-by: fcarreiro <[email protected]>
Co-authored-by: federicobarbacovi <[email protected]>
Co-authored-by: iAmMichaelConnor <[email protected]>
Co-authored-by: iAmMichaelConnor <[email protected]>
Co-authored-by: jewelofchaos9 <[email protected]>
Co-authored-by: jfecher <[email protected]>
Co-authored-by: josh crites <[email protected]>
Co-authored-by: just-mitch <[email protected]>
Co-authored-by: ledwards2225 <[email protected]>
Co-authored-by: ledwards2225 <[email protected]>
Co-authored-by: ludamad <[email protected]>
Co-authored-by: ludamad <[email protected]>
Co-authored-by: ludamad <[email protected]>
Co-authored-by: mralj <[email protected]>
Co-authored-by: mralj <[email protected]>
Co-authored-by: mverzilli <[email protected]>
Co-authored-by: nishatkoti <[email protected]>
Co-authored-by: nventuro <[email protected]>
Co-authored-by: radik878 <[email protected]>
Co-authored-by: saleel <[email protected]>
Co-authored-by: sarkoxed <[email protected]>
Co-authored-by: sergei iakovenko <[email protected]>
Co-authored-by: signorecello <[email protected]>
Co-authored-by: signorecello <[email protected]>
Co-authored-by: sirasistant <[email protected]>
Co-authored-by: sirasistant <[email protected]>
Co-authored-by: sklppy88 <[email protected]>
Co-authored-by: spalladino <[email protected]>
Co-authored-by: spypsy <[email protected]>
Co-authored-by: spypsy <[email protected]>
Co-authored-by: thunkar <[email protected]>
Co-authored-by: wildjos <[email protected]>
Co-authored-by: Álvaro Rodríguez <[email protected]>1 parent d22f230 commit 014b2fd
File tree
113 files changed
+3808
-2668
lines changed- docs/docs-developers/docs
- aztec-nr/framework-description/ethereum-aztec-messaging
- resources
- l1-contracts
- src/core
- interfaces
- messagebridge
- libraries
- rollup
- messagebridge
- test
- base
- benchmark
- compression
- fees
- fixtures
- outbox
- portals
- validator-selection
- noir-projects/noir-protocol-circuits/crates
- rollup-checkpoint-merge
- rollup-checkpoint-root-single-block
- rollup-lib/src
- abis
- checkpoint_merge
- tests
- utils
- checkpoint_root
- components
- tests
- root
- tests
- utils
- tests
- rollup-root
- types/src
- abis
- yarn-project
- archiver/src/archiver
- l1
- aztec-node/src/aztec-node
- aztec.js/src/ethereum
- aztec/src
- local-network
- testing
- constants/src
- end-to-end/src
- composed
- e2e_cross_chain_messaging
- e2e_l1_publisher
- e2e_p2p
- ethereum/src
- contracts
- test
- foundation/src
- eth-address
- trees
- noir-protocol-circuits-types/src/conversion
- prover-client/src
- block-factory
- light
- orchestrator
- prover-node/src
- sequencer-client/src
- publisher
- test
- stdlib/src
- block
- interfaces
- messaging
- rollup
- tests
- tx
- txe/src/utils
- validator-client/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
113 files changed
+3808
-2668
lines changedLines changed: 27 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
| 51 | + | |
54 | 52 | | |
55 | | - | |
| 53 | + | |
56 | 54 | | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | | - | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
| 71 | + | |
74 | 72 | | |
75 | 73 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
79 | 77 | | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
553 | 584 | | |
554 | 585 | | |
555 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
Lines changed: 20 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
| 42 | + | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | | - | |
| 48 | + | |
53 | 49 | | |
54 | | - | |
| 50 | + | |
55 | 51 | | |
56 | | - | |
57 | | - | |
| 52 | + | |
58 | 53 | | |
59 | 54 | | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | | - | |
65 | | - | |
| 59 | + | |
| 60 | + | |
66 | 61 | | |
67 | | - | |
| 62 | + | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | | - | |
| 66 | + | |
72 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 47 | + | |
| 48 | + | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
120 | 132 | | |
121 | 133 | | |
122 | 134 | | |
| |||
170 | 182 | | |
171 | 183 | | |
172 | 184 | | |
| 185 | + | |
173 | 186 | | |
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
178 | 191 | | |
179 | 192 | | |
180 | | - | |
| 193 | + | |
181 | 194 | | |
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
185 | 198 | | |
186 | 199 | | |
187 | 200 | | |
| 201 | + | |
| 202 | + | |
188 | 203 | | |
189 | 204 | | |
190 | 205 | | |
191 | 206 | | |
192 | 207 | | |
193 | | - | |
| 208 | + | |
194 | 209 | | |
195 | 210 | | |
196 | | - | |
| 211 | + | |
197 | 212 | | |
198 | 213 | | |
199 | 214 | | |
| |||
248 | 263 | | |
249 | 264 | | |
250 | 265 | | |
251 | | - | |
252 | 266 | | |
253 | 267 | | |
254 | 268 | | |
| |||
0 commit comments