Commit f36b128
authored
chore: Remove legacy prover code (#4357)
## What ❔
Remove bincode encoding for prover-related types(ones involved in both
prover and core)
Remove API mode config option.
So, after this PR it will be not possible to:
* Run proof data handler in server mode
* Run prover gateway in client mode
* Save/get files(like witness inputs/final proofs) from Object store
which are encoded with bincode
## Why ❔
This code was left in codebase for the sake of backwards compatibility.
Now, since these changes were introduced in protocol version 27, it is
"safe" to remove them in version 29.
## Is this a breaking change?
- [x] Yes
- [ ] No
## Operational changes
<!-- Any config changes? Any new flags? Any changes to any scripts? -->
<!-- Please add anything that non-Matter Labs entities running their own
ZK Chain may need to know -->
## Checklist
<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->
- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.1 parent 9ea3c37 commit f36b128
File tree
25 files changed
+93
-1064
lines changed- core
- bin/zksync_server/src
- lib
- config/src/configs
- prover_interface
- src
- tests
- snapshots
- tee_verifier/src
- node
- eth_sender/src
- proof_data_handler/src
- tee_proof_data_handler/src
- vm_runner/src/impls
- prover/crates
- bin/prover_fri_gateway/src
- client
- lib
- proof_fri_compressor_service/src
- witness_generator_service/src/rounds/basic_circuits
25 files changed
+93
-1064
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | 337 | | |
342 | 338 | | |
343 | | - | |
344 | | - | |
345 | | - | |
| 339 | + | |
| 340 | + | |
346 | 341 | | |
347 | 342 | | |
348 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
14 | | - | |
15 | | - | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 15 | | |
36 | 16 | | |
37 | 17 | | |
| |||
42 | 22 | | |
43 | 23 | | |
44 | 24 | | |
45 | | - | |
46 | 25 | | |
47 | 26 | | |
48 | 27 | | |
| |||
53 | 32 | | |
54 | 33 | | |
55 | 34 | | |
56 | | - | |
57 | 35 | | |
58 | 36 | | |
59 | 37 | | |
| |||
70 | 48 | | |
71 | 49 | | |
72 | 50 | | |
73 | | - | |
74 | 51 | | |
75 | 52 | | |
76 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
67 | | - | |
| 64 | + | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 68 | | |
75 | 69 | | |
76 | 70 | | |
| |||
106 | 100 | | |
107 | 101 | | |
108 | 102 | | |
109 | | - | |
110 | 103 | | |
111 | 104 | | |
112 | 105 | | |
| |||
158 | 151 | | |
159 | 152 | | |
160 | 153 | | |
161 | | - | |
| 154 | + | |
162 | 155 | | |
163 | 156 | | |
164 | 157 | | |
| |||
170 | 163 | | |
171 | 164 | | |
172 | 165 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 166 | | |
177 | 167 | | |
178 | | - | |
| 168 | + | |
179 | 169 | | |
180 | 170 | | |
181 | 171 | | |
| |||
203 | 193 | | |
204 | 194 | | |
205 | 195 | | |
206 | | - | |
207 | | - | |
208 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
209 | 199 | | |
210 | 200 | | |
211 | 201 | | |
| |||
258 | 248 | | |
259 | 249 | | |
260 | 250 | | |
261 | | - | |
| 251 | + | |
262 | 252 | | |
263 | 253 | | |
264 | 254 | | |
| |||
0 commit comments