Commit 9a7dd2b
authored
refactor: rollup circuits (#16518)
Add comprehensive tests for all rollup circuits, except for bases.
And some renaming:
#### [Circuits]
private base -> private tx base
public base -> public tx base
merge -> tx merge
block root
block merge
checkpoint root
checkpoint merge
root
base parity -> parity base
root parity -> parity root
#### [Structs]
BaseOrMergeRollupPublicInputs -> TxRollupPublicInputs
PreviousRollupData -> ProofData<TxRollupPublicInputs>
BaseParityInputs -> ParityBasePrivateInputs
RootParityInput -> ParityBaseProofData
RootParityInputs -> ParityRootPrivateInputs
start/end -> (start/end)_partial_stateFile tree
264 files changed
+12291
-9987
lines changed- noir-projects
- mock-protocol-circuits
- crates
- mock-rollup-tx-base-private
- src
- mock-rollup-tx-base-public
- src
- mock-rollup-tx-merge
- src
- noir-protocol-circuits
- crates
- blob/src
- parity-base/src
- parity-lib/src
- base
- root
- tests
- parity-root/src
- private-kernel-init
- private-kernel-inner
- private-kernel-lib/src
- components/reset_output_validator
- tests/previous_kernel_validator_builder
- private-kernel-reset
- private-kernel-tail-to-public
- private-kernel-tail
- reset-kernel-lib/src/reset
- rollup-base-private-simulated/src
- rollup-base-private/src
- rollup-base-public-simulated/src
- rollup-base-public/src
- rollup-block-merge
- rollup-block-root-first-empty-tx
- rollup-block-root-first-single-tx
- rollup-block-root-first
- rollup-block-root-single-tx
- rollup-block-root
- rollup-checkpoint-merge
- rollup-checkpoint-root-single-block
- rollup-checkpoint-root
- rollup-lib/src
- abis
- base
- components
- block_merge
- tests
- utils
- block_root
- components
- tests
- checkpoint_merge
- tests
- utils
- checkpoint_root
- components
- tests
- merge
- utils
- root
- tests
- tests
- tx_base
- components
- tests
- private_tx_base
- public_tx_base
- tx_merge
- tests
- utils
- rollup-merge/src
- rollup-root
- rollup-tx-base-private-simulated
- src
- rollup-tx-base-private
- src
- rollup-tx-base-public-simulated
- src
- rollup-tx-base-public
- src
- rollup-tx-merge
- src
- tube-public/src
- types/src
- abis
- proof
- tests
- fixtures
- merkle_tree_utils
- utils
- arrays
- assert_exposed_sorted_transformed_value_array
- assert_split_sorted_transformed_value_arrays
- scripts
- yarn-project
- bb-prover/src
- bb
- prover
- client
- server
- test
- verifier
- constants/src
- end-to-end/src/e2e_prover
- ivc-integration/src
- scripts
- noir-protocol-circuits-types
- src
- artifacts
- vks
- conversion
- execution
- scripts
- utils/server
- prover-client/src
- block-factory
- orchestrator
- proving_broker
- proving_broker_database
- test
- simulator/src/private
- circuit_recording
- stdlib/src
- interfaces
- parity
- proofs
- rollup
- stats
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
264 files changed
+12291
-9987
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
Lines changed: 43 additions & 62 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | | - | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 94 | + | |
117 | 95 | | |
118 | 96 | | |
119 | 97 | | |
120 | 98 | | |
121 | 99 | | |
122 | 100 | | |
123 | 101 | | |
124 | | - | |
| 102 | + | |
125 | 103 | | |
126 | 104 | | |
127 | 105 | | |
| |||
134 | 112 | | |
135 | 113 | | |
136 | 114 | | |
137 | | - | |
| 115 | + | |
138 | 116 | | |
139 | 117 | | |
140 | 118 | | |
| |||
143 | 121 | | |
144 | 122 | | |
145 | 123 | | |
| 124 | + | |
146 | 125 | | |
147 | 126 | | |
148 | 127 | | |
| |||
172 | 151 | | |
173 | 152 | | |
174 | 153 | | |
175 | | - | |
176 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
177 | 157 | | |
178 | | - | |
179 | 158 | | |
180 | 159 | | |
181 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
182 | 164 | | |
183 | 165 | | |
184 | 166 | | |
| |||
207 | 189 | | |
208 | 190 | | |
209 | 191 | | |
210 | | - | |
| 192 | + | |
211 | 193 | | |
212 | 194 | | |
213 | 195 | | |
214 | | - | |
| 196 | + | |
215 | 197 | | |
216 | 198 | | |
217 | 199 | | |
218 | 200 | | |
219 | | - | |
| 201 | + | |
| 202 | + | |
220 | 203 | | |
221 | 204 | | |
222 | 205 | | |
| |||
280 | 263 | | |
281 | 264 | | |
282 | 265 | | |
283 | | - | |
284 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
285 | 269 | | |
286 | | - | |
287 | 270 | | |
288 | 271 | | |
289 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
290 | 276 | | |
291 | 277 | | |
292 | 278 | | |
| |||
338 | 324 | | |
339 | 325 | | |
340 | 326 | | |
341 | | - | |
342 | | - | |
| 327 | + | |
343 | 328 | | |
344 | 329 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
361 | 337 | | |
362 | 338 | | |
363 | 339 | | |
364 | 340 | | |
365 | | - | |
366 | | - | |
| 341 | + | |
367 | 342 | | |
368 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
369 | 350 | | |
370 | 351 | | |
0 commit comments