@maci-protocol/circuits 0.0.0-ci.ffb9e52 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,438 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 3.0.0 (2026-06-12)
7
+
8
+ * chore: add publishConfig (#2308) ([26f28d6](https://github.com/privacy-scaling-explorations/maci/commit/26f28d6)), closes [#2308](https://github.com/privacy-scaling-explorations/maci/issues/2308)
9
+ * chore: explicity define packages as not private ([1736fec](https://github.com/privacy-scaling-explorations/maci/commit/1736fec))
10
+ * chore: move packages to @maci org (#2286) ([7275509](https://github.com/privacy-scaling-explorations/maci/commit/7275509)), closes [#2286](https://github.com/privacy-scaling-explorations/maci/issues/2286)
11
+ * chore: optimize lean imt and minor improvements ([a68701b](https://github.com/privacy-scaling-explorations/maci/commit/a68701b))
12
+ * chore: optimize message processing circuits ([145ef3f](https://github.com/privacy-scaling-explorations/maci/commit/145ef3f))
13
+ * chore: use type imports ([9da523a](https://github.com/privacy-scaling-explorations/maci/commit/9da523a))
14
+ * chore(deps-dev): bump @types/mocha from 10.0.8 to 10.0.10 ([a8b029a](https://github.com/privacy-scaling-explorations/maci/commit/a8b029a))
15
+ * chore(deps-dev): bump @types/node from 20.17.19 to 22.13.9 ([aa7c356](https://github.com/privacy-scaling-explorations/maci/commit/aa7c356))
16
+ * chore(deps-dev): bump @types/node from 22.10.7 to 22.12.0 (#2073) ([1dcb28e](https://github.com/privacy-scaling-explorations/maci/commit/1dcb28e)), closes [#2073](https://github.com/privacy-scaling-explorations/maci/issues/2073)
17
+ * chore(deps-dev): bump @types/node from 22.12.0 to 22.13.1 ([5f06af0](https://github.com/privacy-scaling-explorations/maci/commit/5f06af0))
18
+ * chore(deps-dev): bump @types/node from 22.13.1 to 22.13.4 ([dba94f4](https://github.com/privacy-scaling-explorations/maci/commit/dba94f4))
19
+ * chore(deps-dev): bump @types/node from 22.13.17 to 22.14.0 ([3434168](https://github.com/privacy-scaling-explorations/maci/commit/3434168))
20
+ * chore(deps-dev): bump @types/node from 22.13.9 to 22.13.10 (#2241) ([3f50bb6](https://github.com/privacy-scaling-explorations/maci/commit/3f50bb6)), closes [#2241](https://github.com/privacy-scaling-explorations/maci/issues/2241)
21
+ * chore(deps-dev): bump @types/node from 22.14.0 to 22.14.1 ([38f0947](https://github.com/privacy-scaling-explorations/maci/commit/38f0947))
22
+ * chore(deps-dev): bump @types/node from 22.14.1 to 22.15.3 ([430d214](https://github.com/privacy-scaling-explorations/maci/commit/430d214))
23
+ * chore(deps-dev): bump @types/node from 22.15.17 to 24.0.1 ([33485a5](https://github.com/privacy-scaling-explorations/maci/commit/33485a5))
24
+ * chore(deps-dev): bump @types/node from 22.15.8 to 22.15.17 ([b144ca2](https://github.com/privacy-scaling-explorations/maci/commit/b144ca2))
25
+ * chore(deps-dev): bump @types/node from 22.9.0 to 22.10.7 ([3e4a5ae](https://github.com/privacy-scaling-explorations/maci/commit/3e4a5ae))
26
+ * chore(deps-dev): bump @types/node from 24.0.1 to 24.0.3 ([834943a](https://github.com/privacy-scaling-explorations/maci/commit/834943a))
27
+ * chore(deps-dev): bump @types/node from 24.0.12 to 24.0.13 ([f85b4b1](https://github.com/privacy-scaling-explorations/maci/commit/f85b4b1))
28
+ * chore(deps-dev): bump @types/node from 24.0.13 to 24.2.0 (#2697) ([35e2fb7](https://github.com/privacy-scaling-explorations/maci/commit/35e2fb7)), closes [#2697](https://github.com/privacy-scaling-explorations/maci/issues/2697)
29
+ * chore(deps-dev): bump @types/node from 24.0.3 to 24.0.4 ([a00ce55](https://github.com/privacy-scaling-explorations/maci/commit/a00ce55))
30
+ * chore(deps-dev): bump @types/node from 24.0.4 to 24.0.7 ([fbbe0a7](https://github.com/privacy-scaling-explorations/maci/commit/fbbe0a7))
31
+ * chore(deps-dev): bump @types/node from 24.0.7 to 24.0.12 (#2626) ([5975ca0](https://github.com/privacy-scaling-explorations/maci/commit/5975ca0)), closes [#2626](https://github.com/privacy-scaling-explorations/maci/issues/2626)
32
+ * chore(deps-dev): bump @types/snarkjs from 0.7.8 to 0.7.9 ([5259169](https://github.com/privacy-scaling-explorations/maci/commit/5259169))
33
+ * chore(deps-dev): bump chai-as-promised and @types/chai-as-promised ([7ff001d](https://github.com/privacy-scaling-explorations/maci/commit/7ff001d))
34
+ * chore(deps-dev): bump fast-check from 3.23.1 to 3.23.2 ([b6c6167](https://github.com/privacy-scaling-explorations/maci/commit/b6c6167))
35
+ * chore(deps-dev): bump fast-check from 3.23.2 to 4.0.0 ([266738d](https://github.com/privacy-scaling-explorations/maci/commit/266738d))
36
+ * chore(deps-dev): bump fast-check from 4.0.1 to 4.1.0 ([a224917](https://github.com/privacy-scaling-explorations/maci/commit/a224917))
37
+ * chore(deps-dev): bump fast-check from 4.1.0 to 4.1.1 ([e1fcaee](https://github.com/privacy-scaling-explorations/maci/commit/e1fcaee))
38
+ * chore(deps-dev): bump fast-check from 4.1.1 to 4.2.0 ([b222ed8](https://github.com/privacy-scaling-explorations/maci/commit/b222ed8))
39
+ * chore(deps-dev): bump glob from 11.0.0 to 11.0.1 ([0382977](https://github.com/privacy-scaling-explorations/maci/commit/0382977))
40
+ * chore(deps-dev): bump glob from 11.0.1 to 11.0.2 ([b59a1a3](https://github.com/privacy-scaling-explorations/maci/commit/b59a1a3))
41
+ * chore(deps-dev): bump glob from 11.0.2 to 11.0.3 ([63453aa](https://github.com/privacy-scaling-explorations/maci/commit/63453aa))
42
+ * chore(deps-dev): bump glob from 11.0.3 to 11.1.0 ([fdae21e](https://github.com/privacy-scaling-explorations/maci/commit/fdae21e))
43
+ * chore(deps-dev): bump mocha from 10.7.3 to 11.0.1 ([457a504](https://github.com/privacy-scaling-explorations/maci/commit/457a504))
44
+ * chore(deps-dev): bump mocha from 10.8.2 to 11.1.0 ([f524a07](https://github.com/privacy-scaling-explorations/maci/commit/f524a07))
45
+ * chore(deps-dev): bump mocha from 11.1.0 to 11.2.2 ([044ad2e](https://github.com/privacy-scaling-explorations/maci/commit/044ad2e))
46
+ * chore(deps-dev): bump mocha from 11.2.2 to 11.4.0 ([09929d2](https://github.com/privacy-scaling-explorations/maci/commit/09929d2))
47
+ * chore(deps-dev): bump mocha from 11.4.0 to 11.6.0 (#2546) ([54823d2](https://github.com/privacy-scaling-explorations/maci/commit/54823d2)), closes [#2546](https://github.com/privacy-scaling-explorations/maci/issues/2546)
48
+ * chore(deps-dev): bump mocha from 11.6.0 to 11.7.0 ([739b4e5](https://github.com/privacy-scaling-explorations/maci/commit/739b4e5))
49
+ * chore(deps-dev): bump mocha from 11.7.1 to 11.7.2 ([5646026](https://github.com/privacy-scaling-explorations/maci/commit/5646026))
50
+ * chore(deps-dev): bump ts-mocha from 10.0.0 to 11.1.0 ([df84193](https://github.com/privacy-scaling-explorations/maci/commit/df84193))
51
+ * chore(deps-dev): bump typescript and typedoc ([4ee5de5](https://github.com/privacy-scaling-explorations/maci/commit/4ee5de5))
52
+ * chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 ([e37f1bf](https://github.com/privacy-scaling-explorations/maci/commit/e37f1bf))
53
+ * chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 ([048cefc](https://github.com/privacy-scaling-explorations/maci/commit/048cefc))
54
+ * chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 ([17e4a70](https://github.com/privacy-scaling-explorations/maci/commit/17e4a70))
55
+ * chore(deps): bump @types/node to 24.11.0 ([36f727b](https://github.com/privacy-scaling-explorations/maci/commit/36f727b))
56
+ * chore(deps): bump circomkit from 0.3.1 to 0.3.2 ([5ca05bb](https://github.com/privacy-scaling-explorations/maci/commit/5ca05bb))
57
+ * chore(deps): bump circomkit from 0.3.2 to 0.3.3 (#2533) ([1b21794](https://github.com/privacy-scaling-explorations/maci/commit/1b21794)), closes [#2533](https://github.com/privacy-scaling-explorations/maci/issues/2533)
58
+ * chore(deps): bump circomkit from 0.3.3 to 0.3.4 ([798ed97](https://github.com/privacy-scaling-explorations/maci/commit/798ed97))
59
+ * fix: add missing parts after anon poll joining rebase ([6349806](https://github.com/privacy-scaling-explorations/maci/commit/6349806))
60
+ * fix: anon poll joining ([bc6d4c2](https://github.com/privacy-scaling-explorations/maci/commit/bc6d4c2))
61
+ * fix: check if poll joining is withing voting deadline ([539bf95](https://github.com/privacy-scaling-explorations/maci/commit/539bf95))
62
+ * fix: maci 2 incorrect subgroup check for public key ([8b65e95](https://github.com/privacy-scaling-explorations/maci/commit/8b65e95))
63
+ * fix: maci 3 missing group validation for public key and signature ([88ff5ed](https://github.com/privacy-scaling-explorations/maci/commit/88ff5ed))
64
+ * fix: maci 5 unconstrained signal input ([f932e83](https://github.com/privacy-scaling-explorations/maci/commit/f932e83))
65
+ * fix: maci 6 under constrained num2bits ([380a696](https://github.com/privacy-scaling-explorations/maci/commit/380a696))
66
+ * fix: remove max vote options param ([765ca42](https://github.com/privacy-scaling-explorations/maci/commit/765ca42))
67
+ * fix: under-constrained bug in BinaryMerkleRoot ([4fe3cec](https://github.com/privacy-scaling-explorations/maci/commit/4fe3cec))
68
+ * fix(circuits): remove unused variables ([cb8ce92](https://github.com/privacy-scaling-explorations/maci/commit/cb8ce92))
69
+ * feat: add message processor for full voice credits mode ([d7f4240](https://github.com/privacy-scaling-explorations/maci/commit/d7f4240))
70
+ * feat: add number of valid vote options ([cdba5a3](https://github.com/privacy-scaling-explorations/maci/commit/cdba5a3))
71
+ * feat: add poll state tree depth ([3d74d4b](https://github.com/privacy-scaling-explorations/maci/commit/3d74d4b))
72
+ * feat: add start and end timestmap for poll ([cf67b53](https://github.com/privacy-scaling-explorations/maci/commit/cf67b53))
73
+ * feat: anonymous poll joining milestone 1 (#1625) ([5566cfe](https://github.com/privacy-scaling-explorations/maci/commit/5566cfe)), closes [#1625](https://github.com/privacy-scaling-explorations/maci/issues/1625)
74
+ * feat: anonymous poll joining milestone 2 and 3 (#1750) ([47d6937](https://github.com/privacy-scaling-explorations/maci/commit/47d6937)), closes [#1750](https://github.com/privacy-scaling-explorations/maci/issues/1750)
75
+ * feat: force the same key for each poll (#2063) ([11e5b8a](https://github.com/privacy-scaling-explorations/maci/commit/11e5b8a)), closes [#2063](https://github.com/privacy-scaling-explorations/maci/issues/2063)
76
+ * feat: make nullifier not leak identity between polls (#1974) ([c9e7efc](https://github.com/privacy-scaling-explorations/maci/commit/c9e7efc)), closes [#1974](https://github.com/privacy-scaling-explorations/maci/issues/1974)
77
+ * feat: rebase anon poll joining with dev ([c384a5b](https://github.com/privacy-scaling-explorations/maci/commit/c384a5b))
78
+ * feat: voice credits per poll (#1967) ([f59e9c3](https://github.com/privacy-scaling-explorations/maci/commit/f59e9c3)), closes [#1967](https://github.com/privacy-scaling-explorations/maci/issues/1967)
79
+ * feat(circuits): add partial support for full spent voting mode ([8c06abb](https://github.com/privacy-scaling-explorations/maci/commit/8c06abb))
80
+ * feat(circuits): add poll joined circuit ([30c4f6a](https://github.com/privacy-scaling-explorations/maci/commit/30c4f6a))
81
+ * feat(circuits): remove timestamp from state leaf ([831e00d](https://github.com/privacy-scaling-explorations/maci/commit/831e00d))
82
+ * feat(circuits): reuse tally non-qv for full spent mode (#2437) ([ae1d978](https://github.com/privacy-scaling-explorations/maci/commit/ae1d978)), closes [#2437](https://github.com/privacy-scaling-explorations/maci/issues/2437)
83
+ * feat(core): support individual vote counts circuit inputs (#2575) ([38c76f2](https://github.com/privacy-scaling-explorations/maci/commit/38c76f2)), closes [#2575](https://github.com/privacy-scaling-explorations/maci/issues/2575)
84
+ * feat(relayer): add auth guard for message publishing ([813bfc7](https://github.com/privacy-scaling-explorations/maci/commit/813bfc7))
85
+ * refactor: circuit structure (#2485) ([2cf83db](https://github.com/privacy-scaling-explorations/maci/commit/2cf83db)), closes [#2485](https://github.com/privacy-scaling-explorations/maci/issues/2485)
86
+ * refactor: cleanup anon poll joining ([c94bd8e](https://github.com/privacy-scaling-explorations/maci/commit/c94bd8e))
87
+ * refactor: contract imports and proofs (#2074) ([66dfab7](https://github.com/privacy-scaling-explorations/maci/commit/66dfab7)), closes [#2074](https://github.com/privacy-scaling-explorations/maci/issues/2074)
88
+ * refactor: expand shorthand variables to full names ([75547c0](https://github.com/privacy-scaling-explorations/maci/commit/75547c0))
89
+ * refactor: rename from short to full names ([120cffa](https://github.com/privacy-scaling-explorations/maci/commit/120cffa))
90
+ * refactor(circuits): modularize Merkle tree templates ([f4a2843](https://github.com/privacy-scaling-explorations/maci/commit/f4a2843))
91
+ * refactor(circuits): rename circuits signal inputs and move templates ([c2f4e36](https://github.com/privacy-scaling-explorations/maci/commit/c2f4e36))
92
+ * docs: add full credits information ([e65476e](https://github.com/privacy-scaling-explorations/maci/commit/e65476e))
93
+ * docs: update roadmap entry ([d73bca5](https://github.com/privacy-scaling-explorations/maci/commit/d73bca5))
94
+ * docs: update the readme (#2242) ([ffdceee](https://github.com/privacy-scaling-explorations/maci/commit/ffdceee)), closes [#2242](https://github.com/privacy-scaling-explorations/maci/issues/2242)
95
+ * docs: update v3 docs and cleanup ([d27c13f](https://github.com/privacy-scaling-explorations/maci/commit/d27c13f))
96
+
97
+
98
+ ### BREAKING CHANGE
99
+
100
+ * message processing is changed
101
+
102
+ * fix(ipoll): add missing parameter
103
+
104
+ * fix(poll-tests): add missing parameter maxMessagebatchSize
105
+
106
+ * feat(poll.ts): add chain hash updating
107
+
108
+ * test(poll tests): add test for checking chain hash computation
109
+
110
+ * feat(poll.ts): add batch hashes array computation
111
+
112
+ * feat(poll.sol): pad zeroes to the maximum size of batch
113
+
114
+ * feat(messageprocessor): update process messages to use chain hash
115
+
116
+ * refactor(vkregistry): refactor function call
117
+
118
+ * feat(processmessages.circom): add chainHash feature in circuits and test for that
119
+
120
+ * test(processmessages): rearrange test for key-change
121
+
122
+ * refactor(mergemessages): refactor functions calls which include mergemessages
123
+
124
+ * refactor(mergemessages): add some more changes about functions call which include mergemessages
125
+
126
+ * test(all tests): fixing tests after refactoring code
127
+
128
+ * refactor(accqueue): remove all calls for accqueue
129
+
130
+ * fix(currentmessagebatchindex): fix message batch indexing
131
+
132
+ * refactor(circuit tests): refactor code for circuit testing
133
+
134
+ * test(ceremonyparams.test): correct constants for CeremonyParams test
135
+
136
+ * perf(processmessages.circom + contracts): optimize last batch padding, remove unused inputs
137
+
138
+ * docs(padlastbatch method): update doc comment
139
+
140
+ * docs(poll.ts): remove stale comments
141
+
142
+ * docs(test comments): fix typos
143
+
144
+ * ci(treedepths mock): modify interface for mocked function
145
+
146
+ * fix(ceremony params test): fix circuit inputs
147
+
148
+ * test(messagevalidator): fix function calls for messagevalidator circuit in tests
149
+
150
+ * chore(comments): fix unusefull comments
151
+
152
+ * refactor(poll.sol): replace external contracts with maci only
153
+
154
+ * perf(messageprocessor.sol): hardcode initialization for batchHashes array
155
+
156
+ * docs(comments): fix some more comments
157
+
158
+ * test(test for pr checks): correct some of tests for PR checks
159
+
160
+ * ci: 🎡 renamed old ProcessMessages_10-2-1-2_test
161
+
162
+ * ci: 🎡 correct rapidsnark/build/prover path
163
+
164
+ * style(reviews): solve some reviews for merging
165
+
166
+ * refactor(messageaqq): remove more message merging and message aqq
167
+
168
+ * style(messageaqq): remove more message merging and message aqq
169
+
170
+ * refactor(messageaqq): remove message aqq from subgraph
171
+
172
+ * test(coordinator): hide NOT_MERGED_MESSAGE_TREE error
173
+
174
+ * test(coordinator): fix test about message merging
175
+
176
+ * test(proveonchain): change chainHash calculation
177
+
178
+ * test(proveonchain): fix chainHashes declaration
179
+
180
+ * test(proveonchain): fix chainHash calculation
181
+
182
+ * test(proveonchain): fix chainHashes calculations
183
+
184
+ * test(proveonchain): fix chainHashes calculation
185
+
186
+ * test(proveonchain): fix loop limit
187
+
188
+ * style(review comments): resolve some of review comments
189
+
190
+ * style(review comments): resolve some of review comments
191
+
192
+ * test(lint:ts): fix e2e test because of lint:ts check
193
+
194
+ * docs(wrong changes): fix wrong changes about documentation that is not in our scope
195
+
196
+ * refactor(batchsizes): change batchSizes struct with messageBatchSize variable
197
+
198
+ * refactor(contracts): rollback to provide external contract references
199
+
200
+ * docs(messageprocessor.sol): fix typo
201
+
202
+ * refactor(messagebatchsize): chenge messageBatchSize location from Params.sol to Poll.sol
203
+
204
+ * refactor(maxmessages): remove maxMessages from maxValues
205
+
206
+ * refactor(sltimestemp): remove slTimestamp from circuits
207
+
208
+ * refactor(review comments): resolve more review comments
209
+
210
+ * fix(subgraph): fix bug about maxVoteOptions dunction call
211
+
212
+ * fix(sltimestamp): fix test for removing slTimestap signal
213
+
214
+ * refactor(promise.all): refactor promise.all for only one async call
215
+
216
+ * fix(subgraph): try to fix subgraph build
217
+
218
+ * revert(.nx folder): remove .nx folder from cli folder
219
+ * message processing is changed
220
+
221
+ * fix(ipoll): add missing parameter
222
+
223
+ * fix(poll-tests): add missing parameter maxMessagebatchSize
224
+
225
+ * feat(poll.ts): add chain hash updating
226
+
227
+ * test(poll tests): add test for checking chain hash computation
228
+
229
+ * feat(poll.ts): add batch hashes array computation
230
+
231
+ * feat(poll.sol): pad zeroes to the maximum size of batch
232
+
233
+ * feat(messageprocessor): update process messages to use chain hash
234
+
235
+ * refactor(vkregistry): refactor function call
236
+
237
+ * feat(processmessages.circom): add chainHash feature in circuits and test for that
238
+
239
+ * test(processmessages): rearrange test for key-change
240
+
241
+ * refactor(mergemessages): refactor functions calls which include mergemessages
242
+
243
+ * refactor(mergemessages): add some more changes about functions call which include mergemessages
244
+
245
+ * test(all tests): fixing tests after refactoring code
246
+
247
+ * refactor(accqueue): remove all calls for accqueue
248
+
249
+ * fix(currentmessagebatchindex): fix message batch indexing
250
+
251
+ * refactor(circuit tests): refactor code for circuit testing
252
+
253
+ * test(ceremonyparams.test): correct constants for CeremonyParams test
254
+
255
+ * perf(processmessages.circom + contracts): optimize last batch padding, remove unused inputs
256
+
257
+ * docs(padlastbatch method): update doc comment
258
+
259
+ * docs(poll.ts): remove stale comments
260
+
261
+ * docs(test comments): fix typos
262
+
263
+ * ci(treedepths mock): modify interface for mocked function
264
+
265
+ * fix(ceremony params test): fix circuit inputs
266
+
267
+ * test(messagevalidator): fix function calls for messagevalidator circuit in tests
268
+
269
+ * chore(comments): fix unusefull comments
270
+
271
+ * refactor(poll.sol): replace external contracts with maci only
272
+
273
+ * perf(messageprocessor.sol): hardcode initialization for batchHashes array
274
+
275
+ * docs(comments): fix some more comments
276
+
277
+ * test(test for pr checks): correct some of tests for PR checks
278
+
279
+ * ci: 🎡 renamed old ProcessMessages_10-2-1-2_test
280
+
281
+ * ci: 🎡 correct rapidsnark/build/prover path
282
+
283
+ * style(reviews): solve some reviews for merging
284
+
285
+ * refactor(messageaqq): remove more message merging and message aqq
286
+
287
+ * style(messageaqq): remove more message merging and message aqq
288
+
289
+ * refactor(messageaqq): remove message aqq from subgraph
290
+
291
+ * test(coordinator): hide NOT_MERGED_MESSAGE_TREE error
292
+
293
+ * test(coordinator): fix test about message merging
294
+
295
+ * test(proveonchain): change chainHash calculation
296
+
297
+ * test(proveonchain): fix chainHashes declaration
298
+
299
+ * test(proveonchain): fix chainHash calculation
300
+
301
+ * test(proveonchain): fix chainHashes calculations
302
+
303
+ * test(proveonchain): fix chainHashes calculation
304
+
305
+ * test(proveonchain): fix loop limit
306
+
307
+ * style(review comments): resolve some of review comments
308
+
309
+ * style(review comments): resolve some of review comments
310
+
311
+ * test(lint:ts): fix e2e test because of lint:ts check
312
+
313
+ * docs(wrong changes): fix wrong changes about documentation that is not in our scope
314
+
315
+ * refactor(batchsizes): change batchSizes struct with messageBatchSize variable
316
+
317
+ * refactor(contracts): rollback to provide external contract references
318
+
319
+ * docs(messageprocessor.sol): fix typo
320
+
321
+ * refactor(messagebatchsize): chenge messageBatchSize location from Params.sol to Poll.sol
322
+
323
+ * refactor(maxmessages): remove maxMessages from maxValues
324
+
325
+ * refactor(sltimestemp): remove slTimestamp from circuits
326
+
327
+ * refactor(review comments): resolve more review comments
328
+
329
+ * fix(subgraph): fix bug about maxVoteOptions dunction call
330
+
331
+ * fix(sltimestamp): fix test for removing slTimestap signal
332
+
333
+ * refactor(promise.all): refactor promise.all for only one async call
334
+
335
+ * fix(subgraph): try to fix subgraph build
336
+
337
+ * revert(.nx folder): remove .nx folder from cli folder
338
+
339
+ * fix(merge): tmp-anon-poll-joining merge
340
+
341
+ * fix(merge): tmp-anon-poll-joining merge
342
+
343
+ * test(ceremonyparams): add poll joining in the test
344
+
345
+ * test(processmessages): add poll joining for the test
346
+
347
+ without key-change test
348
+
349
+ * test(polljoining): add poll joining in the test
350
+
351
+ * test(tallyvotes): add poll joining in the test
352
+
353
+ * test(core): add joinPoll function in tests
354
+
355
+ * style(typo): inclusion proof
356
+
357
+ * style(todo): remove finished todo
358
+
359
+ * style(merge): after merge style
360
+
361
+ * style(return): inline return
362
+
363
+ * style(eslint): remove unnecessary eslint-disable
364
+
365
+ * refactor(joiningcircuitargs): add interface IJoiningCircuitArgs
366
+
367
+ * refactor(joinpoll): async read state file
368
+
369
+ * style(genmacisignup): add function description
370
+
371
+ * refactor(gensignuptree): add IGenSignUpTreeArgs interface
372
+
373
+ * style(polljoining): remove extra inlcudes and comments
374
+
375
+ * feat(pollvkkeys): init
376
+
377
+ * feat(vkregistry): separate set functions (process/tally/poll)
378
+
379
+ * test(pollvkkey): adjust test to setPollVkKey
380
+
381
+ * refactor(vkregistry): use setVerifyingKeys in setVerifyingKeysBatch
382
+
383
+ * refactor(poll): add verifier and vkRegystry in constructor
384
+
385
+ * refactor(poll): put verifier and vkRegistry into extContracts
386
+
387
+ * test(core e2e): fix sanity checks test for incorrect signature
388
+
389
+ * refactor(test): removing only from tests
390
+
391
+ * refactor(macistatetree): use LeanIMT instead of QuinTree
392
+
393
+ * refactor(crypto): export hashLeanIMT from index
394
+
395
+ * feat(joinpoll): use genSignUpTree instead of genMaciStateFromContract
396
+
397
+ * feat(joinpoll cli): add optional parameters
398
+
399
+ * test(coordinator): add pollJoiningZkeyPath in app.test
400
+
401
+ * refactor(joinpoll): prettier
402
+
403
+ * test(coordinator): add joinPoll
404
+
405
+ * fix(poll): joiningCircuitInputs with correct siblings, indices and actualStateTreeDepth
406
+
407
+ * test(integration): add joinPoll
408
+
409
+ * build(coordinator): add COORDINATOR_POLL_ZKEY_NAME
410
+
411
+ * refactor(mergestate): remove Maci from MergeState
412
+
413
+ * test(e2e): test:e2e add joinPoll
414
+
415
+ * test(e2e): test:keyChange add joinPoll
416
+
417
+ * docs(complete documentation): complete documentation of the new workflow
418
+
419
+ * docs(documentation): add v3 docs, revert v2 docs
420
+
421
+ * style(docs): prettier
422
+
423
+ * refactor(joinpoll): add generateAndVerifyProof and getStateIndexAndCreditBalance
424
+
425
+ * docs(blogpost): blogpost cuvering the latest updates
426
+
427
+ * docs(blogpost): kudos to our team members!
428
+
429
+ * style(prettier): blog
430
+
431
+ * fix(joinpoll): index value of the user in the state tree leaves
432
+
433
+ * docs(blog): remove poll-joining
434
+
435
+
436
+
437
+
6
438
  ## [3.0.0](https://github.com/privacy-scaling-explorations/maci/compare/v2.5.0...v3.0.0) (2025-03-28)
7
439
 
8
440
 
@@ -22,7 +22,7 @@ export interface IPollJoiningInputs {
22
22
  pollPublicKey: bigint[][];
23
23
  stateLeaf: bigint[];
24
24
  siblings: bigint[][];
25
- indices: bigint[];
25
+ index: bigint;
26
26
  nullifier: bigint;
27
27
  credits: bigint;
28
28
  stateRoot: bigint;
@@ -37,7 +37,7 @@ export interface IPollJoinedInputs {
37
37
  voiceCreditsBalance: bigint;
38
38
  stateLeaf: bigint[];
39
39
  pathElements: bigint[][];
40
- pathIndices: bigint[];
40
+ index: bigint;
41
41
  credits: bigint;
42
42
  stateRoot: bigint;
43
43
  actualStateTreeDepth: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../ts/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAA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