@maci-protocol/relayer 0.0.0-ci.4c6d4e8 → 0.0.0-ci.4d0e3a3

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +269 -0
  2. package/LICENSE +1 -2
  3. package/build/tests/constants.d.ts +6 -7
  4. package/build/tests/constants.d.ts.map +1 -1
  5. package/build/tests/constants.js +13 -11
  6. package/build/tests/constants.js.map +1 -1
  7. package/build/tests/messageBatches.test.js +11 -11
  8. package/build/tests/messageBatches.test.js.map +1 -1
  9. package/build/tests/messages.test.js +12 -12
  10. package/build/tests/messages.test.js.map +1 -1
  11. package/build/tests/onchain.test.js +10 -10
  12. package/build/tests/onchain.test.js.map +1 -1
  13. package/build/ts/message/__tests__/message.guard.test.js +1 -1
  14. package/build/ts/message/__tests__/message.guard.test.js.map +1 -1
  15. package/build/ts/message/__tests__/message.repository.test.js +1 -1
  16. package/build/ts/message/__tests__/message.repository.test.js.map +1 -1
  17. package/build/ts/message/__tests__/message.service.test.js +1 -1
  18. package/build/ts/message/__tests__/utils.js +1 -1
  19. package/build/ts/message/__tests__/utils.js.map +1 -1
  20. package/build/ts/message/__tests__/validation.test.js +1 -1
  21. package/build/ts/message/__tests__/validation.test.js.map +1 -1
  22. package/build/ts/message/message.guard.js +1 -1
  23. package/build/ts/message/message.guard.js.map +1 -1
  24. package/build/ts/message/message.schema.d.ts +2 -2
  25. package/build/ts/message/message.service.js +2 -2
  26. package/build/ts/message/message.service.js.map +1 -1
  27. package/build/ts/message/validation.js +3 -3
  28. package/build/ts/message/validation.js.map +1 -1
  29. package/build/ts/messageBatch/__tests__/utils.js +2 -2
  30. package/build/ts/messageBatch/__tests__/utils.js.map +1 -1
  31. package/build/ts/messageBatch/messageBatch.schema.d.ts +2 -2
  32. package/build/ts/messageBatch/messageBatch.service.d.ts.map +1 -1
  33. package/build/ts/messageBatch/messageBatch.service.js +3 -3
  34. package/build/ts/messageBatch/messageBatch.service.js.map +1 -1
  35. package/build/tsconfig.build.tsbuildinfo +1 -1
  36. package/package.json +35 -35
package/CHANGELOG.md CHANGED
@@ -3,6 +3,275 @@
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
+ ## 1.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: bump nest packages ([cbbaaf4](https://github.com/privacy-scaling-explorations/maci/commit/cbbaaf4))
10
+ * chore: explicity define packages as not private ([1736fec](https://github.com/privacy-scaling-explorations/maci/commit/1736fec))
11
+ * 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)
12
+ * chore: remove private packages ([6d7801d](https://github.com/privacy-scaling-explorations/maci/commit/6d7801d))
13
+ * chore: sync nestjs dependencies versions ([9c66b33](https://github.com/privacy-scaling-explorations/maci/commit/9c66b33))
14
+ * chore: use type imports ([9da523a](https://github.com/privacy-scaling-explorations/maci/commit/9da523a))
15
+ * chore(deps-dev): bump @jest/globals from 29.7.0 to 30.0.0 ([ffe6ea3](https://github.com/privacy-scaling-explorations/maci/commit/ffe6ea3))
16
+ * chore(deps-dev): bump @jest/globals from 30.0.0 to 30.0.3 ([7cd1a3f](https://github.com/privacy-scaling-explorations/maci/commit/7cd1a3f))
17
+ * chore(deps-dev): bump @jest/globals from 30.0.3 to 30.0.4 ([2fc8595](https://github.com/privacy-scaling-explorations/maci/commit/2fc8595))
18
+ * chore(deps-dev): bump @jest/globals from 30.0.4 to 30.0.5 ([98ef3b3](https://github.com/privacy-scaling-explorations/maci/commit/98ef3b3))
19
+ * chore(deps-dev): bump @nestjs packages ([a17c5e7](https://github.com/privacy-scaling-explorations/maci/commit/a17c5e7))
20
+ * chore(deps-dev): bump @nestjs/cli from 10.4.9 to 11.0.0 ([7da263d](https://github.com/privacy-scaling-explorations/maci/commit/7da263d))
21
+ * chore(deps-dev): bump @nestjs/cli from 11.0.0 to 11.0.2 ([7498355](https://github.com/privacy-scaling-explorations/maci/commit/7498355))
22
+ * chore(deps-dev): bump @nestjs/cli from 11.0.2 to 11.0.4 ([bf6331f](https://github.com/privacy-scaling-explorations/maci/commit/bf6331f))
23
+ * chore(deps-dev): bump @nestjs/cli from 11.0.4 to 11.0.5 ([159c4d3](https://github.com/privacy-scaling-explorations/maci/commit/159c4d3))
24
+ * chore(deps-dev): bump @nestjs/cli from 11.0.5 to 11.0.6 ([e985a16](https://github.com/privacy-scaling-explorations/maci/commit/e985a16))
25
+ * chore(deps-dev): bump @nestjs/cli from 11.0.6 to 11.0.7 ([6ff8616](https://github.com/privacy-scaling-explorations/maci/commit/6ff8616))
26
+ * chore(deps-dev): bump @nestjs/schematics from 10.2.3 to 11.0.0 ([109889f](https://github.com/privacy-scaling-explorations/maci/commit/109889f))
27
+ * chore(deps-dev): bump @nestjs/schematics from 11.0.0 to 11.0.1 ([c7a095e](https://github.com/privacy-scaling-explorations/maci/commit/c7a095e))
28
+ * chore(deps-dev): bump @nestjs/schematics from 11.0.1 to 11.0.2 ([25d7e15](https://github.com/privacy-scaling-explorations/maci/commit/25d7e15))
29
+ * chore(deps-dev): bump @nestjs/schematics from 11.0.2 to 11.0.3 ([0fd3f7a](https://github.com/privacy-scaling-explorations/maci/commit/0fd3f7a))
30
+ * chore(deps-dev): bump @nestjs/schematics from 11.0.3 to 11.0.4 ([4743d9a](https://github.com/privacy-scaling-explorations/maci/commit/4743d9a))
31
+ * chore(deps-dev): bump @nestjs/schematics from 11.0.4 to 11.0.5 ([bb3364e](https://github.com/privacy-scaling-explorations/maci/commit/bb3364e))
32
+ * chore(deps-dev): bump @nestjs/testing from 10.4.15 to 11.0.11 ([63bb589](https://github.com/privacy-scaling-explorations/maci/commit/63bb589))
33
+ * chore(deps-dev): bump @nestjs/testing from 11.0.1 to 11.0.3 ([c2fa817](https://github.com/privacy-scaling-explorations/maci/commit/c2fa817))
34
+ * chore(deps-dev): bump @nestjs/testing from 11.0.12 to 11.0.13 ([df80da8](https://github.com/privacy-scaling-explorations/maci/commit/df80da8))
35
+ * chore(deps-dev): bump @nestjs/testing from 11.0.13 to 11.0.17 ([82dd78b](https://github.com/privacy-scaling-explorations/maci/commit/82dd78b))
36
+ * chore(deps-dev): bump @nestjs/testing from 11.0.17 to 11.0.19 ([a2df507](https://github.com/privacy-scaling-explorations/maci/commit/a2df507))
37
+ * chore(deps-dev): bump @nestjs/testing from 11.0.19 to 11.0.20 ([691fca4](https://github.com/privacy-scaling-explorations/maci/commit/691fca4))
38
+ * chore(deps-dev): bump @nestjs/testing from 11.0.20 to 11.1.0 ([2b9e063](https://github.com/privacy-scaling-explorations/maci/commit/2b9e063))
39
+ * chore(deps-dev): bump @nestjs/testing from 11.0.3 to 11.0.6 ([69ae687](https://github.com/privacy-scaling-explorations/maci/commit/69ae687))
40
+ * chore(deps-dev): bump @nestjs/testing from 11.0.6 to 11.0.7 ([8bfde5e](https://github.com/privacy-scaling-explorations/maci/commit/8bfde5e))
41
+ * chore(deps-dev): bump @nestjs/testing from 11.0.7 to 11.0.9 ([8be92cf](https://github.com/privacy-scaling-explorations/maci/commit/8be92cf))
42
+ * chore(deps-dev): bump @nestjs/testing from 11.0.9 to 11.0.10 ([df18270](https://github.com/privacy-scaling-explorations/maci/commit/df18270))
43
+ * chore(deps-dev): bump @nestjs/testing from 11.1.0 to 11.1.3 (#2526) ([6a4db66](https://github.com/privacy-scaling-explorations/maci/commit/6a4db66)), closes [#2526](https://github.com/privacy-scaling-explorations/maci/issues/2526)
44
+ * chore(deps-dev): bump @nestjs/testing from 11.1.3 to 11.1.5 ([01ee5cc](https://github.com/privacy-scaling-explorations/maci/commit/01ee5cc))
45
+ * chore(deps-dev): bump @types/express from 5.0.0 to 5.0.1 (#2291) ([a0011c5](https://github.com/privacy-scaling-explorations/maci/commit/a0011c5)), closes [#2291](https://github.com/privacy-scaling-explorations/maci/issues/2291)
46
+ * chore(deps-dev): bump @types/express from 5.0.1 to 5.0.3 ([b81af04](https://github.com/privacy-scaling-explorations/maci/commit/b81af04))
47
+ * chore(deps-dev): bump @types/jest from 29.5.14 to 30.0.0 ([16f466f](https://github.com/privacy-scaling-explorations/maci/commit/16f466f))
48
+ * chore(deps-dev): bump @types/lodash from 4.17.14 to 4.17.15 ([3fef01d](https://github.com/privacy-scaling-explorations/maci/commit/3fef01d))
49
+ * chore(deps-dev): bump @types/lodash from 4.17.15 to 4.17.16 ([3aa1c4e](https://github.com/privacy-scaling-explorations/maci/commit/3aa1c4e))
50
+ * chore(deps-dev): bump @types/lodash from 4.17.16 to 4.17.17 ([c3de49f](https://github.com/privacy-scaling-explorations/maci/commit/c3de49f))
51
+ * chore(deps-dev): bump @types/lodash from 4.17.17 to 4.17.19 ([145179f](https://github.com/privacy-scaling-explorations/maci/commit/145179f))
52
+ * chore(deps-dev): bump @types/lodash from 4.17.19 to 4.17.20 (#2623) ([5201a1d](https://github.com/privacy-scaling-explorations/maci/commit/5201a1d)), closes [#2623](https://github.com/privacy-scaling-explorations/maci/issues/2623)
53
+ * chore(deps-dev): bump @types/node from 20.17.19 to 22.13.9 ([aa7c356](https://github.com/privacy-scaling-explorations/maci/commit/aa7c356))
54
+ * 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)
55
+ * chore(deps-dev): bump @types/node from 22.12.0 to 22.13.1 ([5f06af0](https://github.com/privacy-scaling-explorations/maci/commit/5f06af0))
56
+ * chore(deps-dev): bump @types/node from 22.13.1 to 22.13.4 ([dba94f4](https://github.com/privacy-scaling-explorations/maci/commit/dba94f4))
57
+ * chore(deps-dev): bump @types/node from 22.13.17 to 22.14.0 ([3434168](https://github.com/privacy-scaling-explorations/maci/commit/3434168))
58
+ * 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)
59
+ * chore(deps-dev): bump @types/node from 22.14.0 to 22.14.1 ([38f0947](https://github.com/privacy-scaling-explorations/maci/commit/38f0947))
60
+ * chore(deps-dev): bump @types/node from 22.14.1 to 22.15.3 ([430d214](https://github.com/privacy-scaling-explorations/maci/commit/430d214))
61
+ * chore(deps-dev): bump @types/node from 22.15.17 to 24.0.1 ([33485a5](https://github.com/privacy-scaling-explorations/maci/commit/33485a5))
62
+ * chore(deps-dev): bump @types/node from 22.15.8 to 22.15.17 ([b144ca2](https://github.com/privacy-scaling-explorations/maci/commit/b144ca2))
63
+ * chore(deps-dev): bump @types/node from 22.9.0 to 22.10.7 ([3e4a5ae](https://github.com/privacy-scaling-explorations/maci/commit/3e4a5ae))
64
+ * chore(deps-dev): bump @types/node from 24.0.1 to 24.0.3 ([834943a](https://github.com/privacy-scaling-explorations/maci/commit/834943a))
65
+ * chore(deps-dev): bump @types/node from 24.0.12 to 24.0.13 ([f85b4b1](https://github.com/privacy-scaling-explorations/maci/commit/f85b4b1))
66
+ * 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)
67
+ * chore(deps-dev): bump @types/node from 24.0.3 to 24.0.4 ([a00ce55](https://github.com/privacy-scaling-explorations/maci/commit/a00ce55))
68
+ * chore(deps-dev): bump @types/node from 24.0.4 to 24.0.7 ([fbbe0a7](https://github.com/privacy-scaling-explorations/maci/commit/fbbe0a7))
69
+ * 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)
70
+ * chore(deps-dev): bump fast-check from 3.23.1 to 3.23.2 ([b6c6167](https://github.com/privacy-scaling-explorations/maci/commit/b6c6167))
71
+ * chore(deps-dev): bump fast-check from 3.23.2 to 4.0.0 ([266738d](https://github.com/privacy-scaling-explorations/maci/commit/266738d))
72
+ * chore(deps-dev): bump fast-check from 4.0.1 to 4.1.0 ([a224917](https://github.com/privacy-scaling-explorations/maci/commit/a224917))
73
+ * chore(deps-dev): bump fast-check from 4.1.0 to 4.1.1 ([e1fcaee](https://github.com/privacy-scaling-explorations/maci/commit/e1fcaee))
74
+ * chore(deps-dev): bump fast-check from 4.1.1 to 4.2.0 ([b222ed8](https://github.com/privacy-scaling-explorations/maci/commit/b222ed8))
75
+ * chore(deps-dev): bump jest from 29.7.0 to 30.0.0 ([7fd6037](https://github.com/privacy-scaling-explorations/maci/commit/7fd6037))
76
+ * chore(deps-dev): bump jest from 30.0.0 to 30.0.3 ([cfc7238](https://github.com/privacy-scaling-explorations/maci/commit/cfc7238))
77
+ * chore(deps-dev): bump jest from 30.0.3 to 30.0.4 (#2615) ([e94886c](https://github.com/privacy-scaling-explorations/maci/commit/e94886c)), closes [#2615](https://github.com/privacy-scaling-explorations/maci/issues/2615)
78
+ * chore(deps-dev): bump jest from 30.0.4 to 30.2.0 ([b020e46](https://github.com/privacy-scaling-explorations/maci/commit/b020e46))
79
+ * chore(deps-dev): bump mongodb-memory-server from 10.1.3 to 10.1.4 ([0fd8e3b](https://github.com/privacy-scaling-explorations/maci/commit/0fd8e3b))
80
+ * chore(deps-dev): bump mongodb-memory-server from 10.1.4 to 11.0.1 ([2ea88a0](https://github.com/privacy-scaling-explorations/maci/commit/2ea88a0))
81
+ * chore(deps-dev): bump supertest from 7.1.0 to 7.1.1 ([17f099e](https://github.com/privacy-scaling-explorations/maci/commit/17f099e))
82
+ * chore(deps-dev): bump supertest from 7.1.1 to 7.1.3 (#2625) ([6c2ffeb](https://github.com/privacy-scaling-explorations/maci/commit/6c2ffeb)), closes [#2625](https://github.com/privacy-scaling-explorations/maci/issues/2625)
83
+ * chore(deps-dev): bump supertest from 7.1.3 to 7.1.4 ([f211173](https://github.com/privacy-scaling-explorations/maci/commit/f211173))
84
+ * chore(deps-dev): bump ts-jest from 29.2.5 to 29.2.6 ([aaf7978](https://github.com/privacy-scaling-explorations/maci/commit/aaf7978))
85
+ * chore(deps-dev): bump ts-jest from 29.2.6 to 29.3.0 (#2293) ([d24dcc5](https://github.com/privacy-scaling-explorations/maci/commit/d24dcc5)), closes [#2293](https://github.com/privacy-scaling-explorations/maci/issues/2293)
86
+ * chore(deps-dev): bump ts-jest from 29.3.1 to 29.3.2 ([2e4cf7e](https://github.com/privacy-scaling-explorations/maci/commit/2e4cf7e))
87
+ * chore(deps-dev): bump ts-jest from 29.3.2 to 29.3.4 ([ff66a03](https://github.com/privacy-scaling-explorations/maci/commit/ff66a03))
88
+ * chore(deps-dev): bump ts-jest from 29.3.4 to 29.4.0 ([0bf8810](https://github.com/privacy-scaling-explorations/maci/commit/0bf8810))
89
+ * chore(deps-dev): bump ts-jest from 29.4.0 to 29.4.1 ([7ce80f9](https://github.com/privacy-scaling-explorations/maci/commit/7ce80f9))
90
+ * chore(deps-dev): bump typescript and typedoc ([4ee5de5](https://github.com/privacy-scaling-explorations/maci/commit/4ee5de5))
91
+ * chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 ([e37f1bf](https://github.com/privacy-scaling-explorations/maci/commit/e37f1bf))
92
+ * chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 ([048cefc](https://github.com/privacy-scaling-explorations/maci/commit/048cefc))
93
+ * chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 ([17e4a70](https://github.com/privacy-scaling-explorations/maci/commit/17e4a70))
94
+ * chore(deps): bump @helia/json from 4.0.1 to 4.0.2 ([a423fa1](https://github.com/privacy-scaling-explorations/maci/commit/a423fa1))
95
+ * chore(deps): bump @helia/json from 4.0.2 to 4.0.3 ([74ee87d](https://github.com/privacy-scaling-explorations/maci/commit/74ee87d))
96
+ * chore(deps): bump @helia/json from 4.0.3 to 4.0.5 ([68185dd](https://github.com/privacy-scaling-explorations/maci/commit/68185dd))
97
+ * chore(deps): bump @helia/json from 4.0.5 to 4.0.6 (#2515) ([69586e7](https://github.com/privacy-scaling-explorations/maci/commit/69586e7)), closes [#2515](https://github.com/privacy-scaling-explorations/maci/issues/2515)
98
+ * chore(deps): bump @nestjs/common from 10.4.15 to 11.0.11 ([1a1256d](https://github.com/privacy-scaling-explorations/maci/commit/1a1256d))
99
+ * chore(deps): bump @nestjs/common from 11.0.1 to 11.0.3 ([34ac159](https://github.com/privacy-scaling-explorations/maci/commit/34ac159))
100
+ * chore(deps): bump @nestjs/common from 11.0.11 to 11.0.12 ([79f3f53](https://github.com/privacy-scaling-explorations/maci/commit/79f3f53))
101
+ * chore(deps): bump @nestjs/common from 11.0.12 to 11.0.13 ([e790c27](https://github.com/privacy-scaling-explorations/maci/commit/e790c27))
102
+ * chore(deps): bump @nestjs/common from 11.0.16 to 11.0.17 ([02563ea](https://github.com/privacy-scaling-explorations/maci/commit/02563ea))
103
+ * chore(deps): bump @nestjs/common from 11.0.17 to 11.0.20 ([b09c91b](https://github.com/privacy-scaling-explorations/maci/commit/b09c91b))
104
+ * chore(deps): bump @nestjs/common from 11.0.20 to 11.1.0 ([6871839](https://github.com/privacy-scaling-explorations/maci/commit/6871839))
105
+ * chore(deps): bump @nestjs/common from 11.0.3 to 11.0.6 ([a80a308](https://github.com/privacy-scaling-explorations/maci/commit/a80a308))
106
+ * chore(deps): bump @nestjs/common from 11.0.6 to 11.0.7 ([81272e6](https://github.com/privacy-scaling-explorations/maci/commit/81272e6))
107
+ * chore(deps): bump @nestjs/common from 11.0.7 to 11.0.9 ([f579ffd](https://github.com/privacy-scaling-explorations/maci/commit/f579ffd))
108
+ * chore(deps): bump @nestjs/common from 11.0.9 to 11.0.10 ([9ff8f7b](https://github.com/privacy-scaling-explorations/maci/commit/9ff8f7b))
109
+ * chore(deps): bump @nestjs/common from 11.1.0 to 11.1.3 (#2530) ([16017f7](https://github.com/privacy-scaling-explorations/maci/commit/16017f7)), closes [#2530](https://github.com/privacy-scaling-explorations/maci/issues/2530)
110
+ * chore(deps): bump @nestjs/common from 11.1.3 to 11.1.5 (#2660) ([66f9b31](https://github.com/privacy-scaling-explorations/maci/commit/66f9b31)), closes [#2660](https://github.com/privacy-scaling-explorations/maci/issues/2660)
111
+ * chore(deps): bump @nestjs/core from 10.4.15 to 11.0.1 ([b0490d6](https://github.com/privacy-scaling-explorations/maci/commit/b0490d6))
112
+ * chore(deps): bump @nestjs/core from 10.4.15 to 11.0.11 ([061c778](https://github.com/privacy-scaling-explorations/maci/commit/061c778))
113
+ * chore(deps): bump @nestjs/core from 11.0.1 to 11.0.3 ([9ca9937](https://github.com/privacy-scaling-explorations/maci/commit/9ca9937))
114
+ * chore(deps): bump @nestjs/core from 11.0.12 to 11.0.13 ([d928ede](https://github.com/privacy-scaling-explorations/maci/commit/d928ede))
115
+ * chore(deps): bump @nestjs/core from 11.0.13 to 11.0.17 ([84ffa4c](https://github.com/privacy-scaling-explorations/maci/commit/84ffa4c))
116
+ * chore(deps): bump @nestjs/core from 11.0.17 to 11.0.19 ([52ec7c3](https://github.com/privacy-scaling-explorations/maci/commit/52ec7c3))
117
+ * chore(deps): bump @nestjs/core from 11.0.19 to 11.0.20 ([162480f](https://github.com/privacy-scaling-explorations/maci/commit/162480f))
118
+ * chore(deps): bump @nestjs/core from 11.0.20 to 11.1.0 ([2e40b41](https://github.com/privacy-scaling-explorations/maci/commit/2e40b41))
119
+ * chore(deps): bump @nestjs/core from 11.0.3 to 11.0.6 ([2469a09](https://github.com/privacy-scaling-explorations/maci/commit/2469a09))
120
+ * chore(deps): bump @nestjs/core from 11.0.6 to 11.0.7 ([643be9f](https://github.com/privacy-scaling-explorations/maci/commit/643be9f))
121
+ * chore(deps): bump @nestjs/core from 11.0.7 to 11.0.9 ([90314c9](https://github.com/privacy-scaling-explorations/maci/commit/90314c9))
122
+ * chore(deps): bump @nestjs/core from 11.0.9 to 11.0.10 ([0bde8c3](https://github.com/privacy-scaling-explorations/maci/commit/0bde8c3))
123
+ * chore(deps): bump @nestjs/core from 11.1.0 to 11.1.3 (#2531) ([efbbb42](https://github.com/privacy-scaling-explorations/maci/commit/efbbb42)), closes [#2531](https://github.com/privacy-scaling-explorations/maci/issues/2531)
124
+ * chore(deps): bump @nestjs/mongoose from 10.1.0 to 11.0.0 ([c349e9b](https://github.com/privacy-scaling-explorations/maci/commit/c349e9b))
125
+ * chore(deps): bump @nestjs/mongoose from 11.0.0 to 11.0.1 ([a07dca5](https://github.com/privacy-scaling-explorations/maci/commit/a07dca5))
126
+ * chore(deps): bump @nestjs/mongoose from 11.0.1 to 11.0.3 ([05620d7](https://github.com/privacy-scaling-explorations/maci/commit/05620d7))
127
+ * chore(deps): bump @nestjs/platform-express from 10.4.15 to 11.0.11 ([12fb1d4](https://github.com/privacy-scaling-explorations/maci/commit/12fb1d4))
128
+ * chore(deps): bump @nestjs/platform-express from 11.0.1 to 11.0.3 ([b6351ca](https://github.com/privacy-scaling-explorations/maci/commit/b6351ca))
129
+ * chore(deps): bump @nestjs/platform-express from 11.0.11 to 11.0.12 (#2290) ([5a311bc](https://github.com/privacy-scaling-explorations/maci/commit/5a311bc)), closes [#2290](https://github.com/privacy-scaling-explorations/maci/issues/2290)
130
+ * chore(deps): bump @nestjs/platform-express from 11.0.12 to 11.0.13 ([84efdbe](https://github.com/privacy-scaling-explorations/maci/commit/84efdbe))
131
+ * chore(deps): bump @nestjs/platform-express from 11.0.13 to 11.0.19 ([e330198](https://github.com/privacy-scaling-explorations/maci/commit/e330198))
132
+ * chore(deps): bump @nestjs/platform-express from 11.0.19 to 11.0.20 ([22243d4](https://github.com/privacy-scaling-explorations/maci/commit/22243d4))
133
+ * chore(deps): bump @nestjs/platform-express from 11.0.20 to 11.1.0 ([5c43ea2](https://github.com/privacy-scaling-explorations/maci/commit/5c43ea2))
134
+ * chore(deps): bump @nestjs/platform-express from 11.0.3 to 11.0.6 ([f86f9fc](https://github.com/privacy-scaling-explorations/maci/commit/f86f9fc))
135
+ * chore(deps): bump @nestjs/platform-express from 11.0.6 to 11.0.7 ([2ca5c97](https://github.com/privacy-scaling-explorations/maci/commit/2ca5c97))
136
+ * chore(deps): bump @nestjs/platform-express from 11.0.7 to 11.0.9 ([54145e7](https://github.com/privacy-scaling-explorations/maci/commit/54145e7))
137
+ * chore(deps): bump @nestjs/platform-express from 11.0.9 to 11.0.10 ([0b3634e](https://github.com/privacy-scaling-explorations/maci/commit/0b3634e))
138
+ * chore(deps): bump @nestjs/platform-express from 11.1.0 to 11.1.1 ([e55ce30](https://github.com/privacy-scaling-explorations/maci/commit/e55ce30))
139
+ * chore(deps): bump @nestjs/platform-express from 11.1.1 to 11.1.2 ([021c702](https://github.com/privacy-scaling-explorations/maci/commit/021c702))
140
+ * chore(deps): bump @nestjs/platform-express from 11.1.2 to 11.1.3 ([ff9e5be](https://github.com/privacy-scaling-explorations/maci/commit/ff9e5be))
141
+ * chore(deps): bump @nestjs/platform-express from 11.1.5 to 11.1.6 ([ebabca9](https://github.com/privacy-scaling-explorations/maci/commit/ebabca9))
142
+ * chore(deps): bump @nestjs/platform-socket.io from 10.4.15 to 11.0.11 ([23ff1f2](https://github.com/privacy-scaling-explorations/maci/commit/23ff1f2))
143
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.1 to 11.0.3 ([04d1d55](https://github.com/privacy-scaling-explorations/maci/commit/04d1d55))
144
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.12 to 11.0.13 ([be96a25](https://github.com/privacy-scaling-explorations/maci/commit/be96a25))
145
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.13 to 11.0.17 ([7f11eb8](https://github.com/privacy-scaling-explorations/maci/commit/7f11eb8))
146
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.17 to 11.0.20 ([2760456](https://github.com/privacy-scaling-explorations/maci/commit/2760456))
147
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.20 to 11.1.0 ([8302a2e](https://github.com/privacy-scaling-explorations/maci/commit/8302a2e))
148
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.3 to 11.0.6 (#2076) ([4e37210](https://github.com/privacy-scaling-explorations/maci/commit/4e37210)), closes [#2076](https://github.com/privacy-scaling-explorations/maci/issues/2076)
149
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.6 to 11.0.7 ([3b952a5](https://github.com/privacy-scaling-explorations/maci/commit/3b952a5))
150
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.7 to 11.0.9 ([6c3c20f](https://github.com/privacy-scaling-explorations/maci/commit/6c3c20f))
151
+ * chore(deps): bump @nestjs/platform-socket.io from 11.0.9 to 11.0.10 ([2ece68c](https://github.com/privacy-scaling-explorations/maci/commit/2ece68c))
152
+ * chore(deps): bump @nestjs/platform-socket.io from 11.1.0 to 11.1.3 ([b850f38](https://github.com/privacy-scaling-explorations/maci/commit/b850f38))
153
+ * chore(deps): bump @nestjs/platform-socket.io from 11.1.5 to 11.1.6 ([b6736f7](https://github.com/privacy-scaling-explorations/maci/commit/b6736f7))
154
+ * chore(deps): bump @nestjs/schedule from 4.1.2 to 5.0.0 ([eeda1e8](https://github.com/privacy-scaling-explorations/maci/commit/eeda1e8))
155
+ * chore(deps): bump @nestjs/schedule from 5.0.0 to 5.0.1 ([601add3](https://github.com/privacy-scaling-explorations/maci/commit/601add3))
156
+ * chore(deps): bump @nestjs/schedule from 5.0.1 to 6.0.0 ([07690db](https://github.com/privacy-scaling-explorations/maci/commit/07690db))
157
+ * chore(deps): bump @nestjs/swagger from 11.0.0 to 11.0.1 ([1d4d296](https://github.com/privacy-scaling-explorations/maci/commit/1d4d296))
158
+ * chore(deps): bump @nestjs/swagger from 11.0.1 to 11.0.2 ([59d272e](https://github.com/privacy-scaling-explorations/maci/commit/59d272e))
159
+ * chore(deps): bump @nestjs/swagger from 11.0.2 to 11.0.3 (#2075) ([2d6ce6d](https://github.com/privacy-scaling-explorations/maci/commit/2d6ce6d)), closes [#2075](https://github.com/privacy-scaling-explorations/maci/issues/2075)
160
+ * chore(deps): bump @nestjs/swagger from 11.0.3 to 11.0.4 ([8c9b9ee](https://github.com/privacy-scaling-explorations/maci/commit/8c9b9ee))
161
+ * chore(deps): bump @nestjs/swagger from 11.1.0 to 11.1.1 ([7fc6d73](https://github.com/privacy-scaling-explorations/maci/commit/7fc6d73))
162
+ * chore(deps): bump @nestjs/swagger from 11.1.1 to 11.1.3 ([535687d](https://github.com/privacy-scaling-explorations/maci/commit/535687d))
163
+ * chore(deps): bump @nestjs/swagger from 11.1.3 to 11.1.4 ([a488d6e](https://github.com/privacy-scaling-explorations/maci/commit/a488d6e))
164
+ * chore(deps): bump @nestjs/swagger from 11.1.4 to 11.1.5 ([e2e735c](https://github.com/privacy-scaling-explorations/maci/commit/e2e735c))
165
+ * chore(deps): bump @nestjs/swagger from 11.1.5 to 11.2.0 ([7fed6f4](https://github.com/privacy-scaling-explorations/maci/commit/7fed6f4))
166
+ * chore(deps): bump @nestjs/swagger from 8.1.1 to 11.0.6 ([4e8aca9](https://github.com/privacy-scaling-explorations/maci/commit/4e8aca9))
167
+ * chore(deps): bump @nestjs/throttler from 6.3.0 to 6.4.0 ([f49f730](https://github.com/privacy-scaling-explorations/maci/commit/f49f730))
168
+ * chore(deps): bump @nestjs/websockets from 10.4.15 to 11.0.1 ([600b1ec](https://github.com/privacy-scaling-explorations/maci/commit/600b1ec))
169
+ * chore(deps): bump @nestjs/websockets from 11.0.1 to 11.0.3 ([b29e483](https://github.com/privacy-scaling-explorations/maci/commit/b29e483))
170
+ * chore(deps): bump @nestjs/websockets from 11.0.12 to 11.0.13 ([8ffaa34](https://github.com/privacy-scaling-explorations/maci/commit/8ffaa34))
171
+ * chore(deps): bump @nestjs/websockets from 11.0.13 to 11.0.17 ([69f736f](https://github.com/privacy-scaling-explorations/maci/commit/69f736f))
172
+ * chore(deps): bump @nestjs/websockets from 11.0.17 to 11.0.20 ([14942c2](https://github.com/privacy-scaling-explorations/maci/commit/14942c2))
173
+ * chore(deps): bump @nestjs/websockets from 11.0.20 to 11.1.0 ([d9d7d6c](https://github.com/privacy-scaling-explorations/maci/commit/d9d7d6c))
174
+ * chore(deps): bump @nestjs/websockets from 11.0.3 to 11.0.6 ([f0de52f](https://github.com/privacy-scaling-explorations/maci/commit/f0de52f))
175
+ * chore(deps): bump @nestjs/websockets from 11.0.6 to 11.0.7 ([9ed83a0](https://github.com/privacy-scaling-explorations/maci/commit/9ed83a0))
176
+ * chore(deps): bump @nestjs/websockets from 11.0.7 to 11.0.9 ([9a09dd4](https://github.com/privacy-scaling-explorations/maci/commit/9a09dd4))
177
+ * chore(deps): bump @nestjs/websockets from 11.0.9 to 11.0.10 ([11a8d90](https://github.com/privacy-scaling-explorations/maci/commit/11a8d90))
178
+ * chore(deps): bump @nestjs/websockets from 11.1.0 to 11.1.2 ([950486a](https://github.com/privacy-scaling-explorations/maci/commit/950486a))
179
+ * chore(deps): bump @nestjs/websockets from 11.1.2 to 11.1.3 ([6011c54](https://github.com/privacy-scaling-explorations/maci/commit/6011c54))
180
+ * chore(deps): bump @nestjs/websockets from 11.1.5 to 11.1.6 (#2751) ([17f017c](https://github.com/privacy-scaling-explorations/maci/commit/17f017c)), closes [#2751](https://github.com/privacy-scaling-explorations/maci/issues/2751)
181
+ * chore(deps): bump @nomicfoundation/hardhat-ethers from 3.0.8 to 3.0.9 (#2529) ([4946891](https://github.com/privacy-scaling-explorations/maci/commit/4946891)), closes [#2529](https://github.com/privacy-scaling-explorations/maci/issues/2529)
182
+ * chore(deps): bump @nomicfoundation/hardhat-ethers from 3.0.9 to 3.1.0 ([a1ac5d8](https://github.com/privacy-scaling-explorations/maci/commit/a1ac5d8))
183
+ * chore(deps): bump @nomicfoundation/hardhat-toolbox from 5.0.0 to 6.0.0 ([efc5e53](https://github.com/privacy-scaling-explorations/maci/commit/efc5e53))
184
+ * chore(deps): bump @nomicfoundation/hardhat-toolbox from 6.0.0 to 6.1.0 ([30d53d5](https://github.com/privacy-scaling-explorations/maci/commit/30d53d5))
185
+ * chore(deps): bump @types/node to 24.11.0 ([36f727b](https://github.com/privacy-scaling-explorations/maci/commit/36f727b))
186
+ * chore(deps): bump class-validator from 0.14.1 to 0.14.2 ([18d26a9](https://github.com/privacy-scaling-explorations/maci/commit/18d26a9))
187
+ * chore(deps): bump dotenv from 16.4.5 to 16.4.7 (#2032) ([43eec88](https://github.com/privacy-scaling-explorations/maci/commit/43eec88)), closes [#2032](https://github.com/privacy-scaling-explorations/maci/issues/2032)
188
+ * chore(deps): bump dotenv from 16.4.7 to 16.5.0 ([5a51cba](https://github.com/privacy-scaling-explorations/maci/commit/5a51cba))
189
+ * chore(deps): bump dotenv from 16.5.0 to 17.0.0 ([4a0cb2e](https://github.com/privacy-scaling-explorations/maci/commit/4a0cb2e))
190
+ * chore(deps): bump dotenv from 17.0.0 to 17.0.1 ([d8f0253](https://github.com/privacy-scaling-explorations/maci/commit/d8f0253))
191
+ * chore(deps): bump dotenv from 17.1.0 to 17.2.0 ([baaf672](https://github.com/privacy-scaling-explorations/maci/commit/baaf672))
192
+ * chore(deps): bump dotenv from 17.2.0 to 17.2.2 ([7bd56d2](https://github.com/privacy-scaling-explorations/maci/commit/7bd56d2))
193
+ * chore(deps): bump ethers from 6.13.4 to 6.13.5 ([5e0256c](https://github.com/privacy-scaling-explorations/maci/commit/5e0256c))
194
+ * chore(deps): bump ethers from 6.13.5 to 6.13.7 ([ea37135](https://github.com/privacy-scaling-explorations/maci/commit/ea37135))
195
+ * chore(deps): bump ethers from 6.13.7 to 6.14.0 ([e806553](https://github.com/privacy-scaling-explorations/maci/commit/e806553))
196
+ * chore(deps): bump ethers from 6.14.0 to 6.14.3 ([05118f4](https://github.com/privacy-scaling-explorations/maci/commit/05118f4))
197
+ * chore(deps): bump ethers from 6.14.3 to 6.14.4 ([00bccaa](https://github.com/privacy-scaling-explorations/maci/commit/00bccaa))
198
+ * chore(deps): bump ethers from 6.14.4 to 6.15.0 ([525ff51](https://github.com/privacy-scaling-explorations/maci/commit/525ff51))
199
+ * chore(deps): bump hardhat from 2.22.15 to 2.22.18 ([cd2950f](https://github.com/privacy-scaling-explorations/maci/commit/cd2950f))
200
+ * chore(deps): bump hardhat from 2.22.18 to 2.22.19 ([49af291](https://github.com/privacy-scaling-explorations/maci/commit/49af291))
201
+ * chore(deps): bump hardhat from 2.22.19 to 2.23.0 ([38bc36f](https://github.com/privacy-scaling-explorations/maci/commit/38bc36f))
202
+ * chore(deps): bump hardhat from 2.23.0 to 2.24.0 ([37f2b85](https://github.com/privacy-scaling-explorations/maci/commit/37f2b85))
203
+ * chore(deps): bump hardhat from 2.24.1 to 2.24.3 ([3727b4e](https://github.com/privacy-scaling-explorations/maci/commit/3727b4e))
204
+ * chore(deps): bump hardhat from 2.24.3 to 2.25.0 ([333297e](https://github.com/privacy-scaling-explorations/maci/commit/333297e))
205
+ * chore(deps): bump helia from 5.1.1 to 5.2.0 ([77a2db2](https://github.com/privacy-scaling-explorations/maci/commit/77a2db2))
206
+ * chore(deps): bump helia from 5.2.0 to 5.2.1 ([3ba8ce5](https://github.com/privacy-scaling-explorations/maci/commit/3ba8ce5))
207
+ * chore(deps): bump helia from 5.2.1 to 5.3.0 ([7ea38ee](https://github.com/privacy-scaling-explorations/maci/commit/7ea38ee))
208
+ * chore(deps): bump helia from 5.3.0 to 5.4.1 ([87f1638](https://github.com/privacy-scaling-explorations/maci/commit/87f1638))
209
+ * chore(deps): bump helia from 5.4.1 to 5.4.2 ([83cc734](https://github.com/privacy-scaling-explorations/maci/commit/83cc734))
210
+ * chore(deps): bump helmet from 8.0.0 to 8.1.0 ([9e544e2](https://github.com/privacy-scaling-explorations/maci/commit/9e544e2))
211
+ * chore(deps): bump mongoose from 8.10.0 to 8.10.1 ([660bfe5](https://github.com/privacy-scaling-explorations/maci/commit/660bfe5))
212
+ * chore(deps): bump mongoose from 8.10.1 to 8.12.0 ([f5587a8](https://github.com/privacy-scaling-explorations/maci/commit/f5587a8))
213
+ * chore(deps): bump mongoose from 8.12.0 to 8.12.1 ([4a6d6e0](https://github.com/privacy-scaling-explorations/maci/commit/4a6d6e0))
214
+ * chore(deps): bump mongoose from 8.12.1 to 8.13.1 ([2f47884](https://github.com/privacy-scaling-explorations/maci/commit/2f47884))
215
+ * chore(deps): bump mongoose from 8.13.1 to 8.13.2 ([bb94fa3](https://github.com/privacy-scaling-explorations/maci/commit/bb94fa3))
216
+ * chore(deps): bump mongoose from 8.13.2 to 8.14.0 ([10a3659](https://github.com/privacy-scaling-explorations/maci/commit/10a3659))
217
+ * chore(deps): bump mongoose from 8.14.0 to 8.14.2 ([8a66b0b](https://github.com/privacy-scaling-explorations/maci/commit/8a66b0b))
218
+ * chore(deps): bump mongoose from 8.14.2 to 8.15.0 ([455e027](https://github.com/privacy-scaling-explorations/maci/commit/455e027))
219
+ * chore(deps): bump mongoose from 8.15.0 to 8.15.1 ([e1a02ff](https://github.com/privacy-scaling-explorations/maci/commit/e1a02ff))
220
+ * chore(deps): bump mongoose from 8.15.1 to 8.15.2 ([35c23ab](https://github.com/privacy-scaling-explorations/maci/commit/35c23ab))
221
+ * chore(deps): bump mongoose from 8.15.2 to 8.16.1 ([d6dd0e4](https://github.com/privacy-scaling-explorations/maci/commit/d6dd0e4))
222
+ * chore(deps): bump mongoose from 8.16.1 to 8.16.2 (#2624) ([54209f1](https://github.com/privacy-scaling-explorations/maci/commit/54209f1)), closes [#2624](https://github.com/privacy-scaling-explorations/maci/issues/2624)
223
+ * chore(deps): bump mongoose from 8.16.2 to 8.16.3 ([b2fa8b3](https://github.com/privacy-scaling-explorations/maci/commit/b2fa8b3))
224
+ * chore(deps): bump mongoose from 8.16.3 to 8.17.0 ([bc40ba4](https://github.com/privacy-scaling-explorations/maci/commit/bc40ba4))
225
+ * chore(deps): bump mongoose from 8.17.0 to 8.18.0 ([c2b1ae8](https://github.com/privacy-scaling-explorations/maci/commit/c2b1ae8))
226
+ * chore(deps): bump mongoose from 8.9.3 to 8.9.5 ([79c44dd](https://github.com/privacy-scaling-explorations/maci/commit/79c44dd))
227
+ * chore(deps): bump mongoose from 8.9.5 to 8.9.7 ([d0aedca](https://github.com/privacy-scaling-explorations/maci/commit/d0aedca))
228
+ * chore(deps): bump mongoose from 8.9.7 to 8.10.0 ([a2815e8](https://github.com/privacy-scaling-explorations/maci/commit/a2815e8))
229
+ * chore(deps): bump multiformats from 13.3.1 to 13.3.2 (#2146) ([56a05a0](https://github.com/privacy-scaling-explorations/maci/commit/56a05a0)), closes [#2146](https://github.com/privacy-scaling-explorations/maci/issues/2146)
230
+ * chore(deps): bump rxjs from 7.8.1 to 7.8.2 ([e683e9e](https://github.com/privacy-scaling-explorations/maci/commit/e683e9e))
231
+ * chore(relayer): disable typescript type import error for jest setup ([b823c59](https://github.com/privacy-scaling-explorations/maci/commit/b823c59))
232
+ * chore(relayer): do not forbid unknown entity fields for validation ([7bfc825](https://github.com/privacy-scaling-explorations/maci/commit/7bfc825))
233
+ * 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)
234
+ * 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)
235
+ * refactor: deploy maci command ([3eb6915](https://github.com/privacy-scaling-explorations/maci/commit/3eb6915))
236
+ * refactor: expand shorthand variables to full names ([75547c0](https://github.com/privacy-scaling-explorations/maci/commit/75547c0))
237
+ * refactor: make separate testing package (#2229) ([bd07a7f](https://github.com/privacy-scaling-explorations/maci/commit/bd07a7f)), closes [#2229](https://github.com/privacy-scaling-explorations/maci/issues/2229)
238
+ * refactor: poll deploy sdk (#2189) ([da1b785](https://github.com/privacy-scaling-explorations/maci/commit/da1b785)), closes [#2189](https://github.com/privacy-scaling-explorations/maci/issues/2189)
239
+ * refactor: setVerifyingKeys ([8ce195b](https://github.com/privacy-scaling-explorations/maci/commit/8ce195b))
240
+ * refactor: vote sdk (#2089) ([fed0e25](https://github.com/privacy-scaling-explorations/maci/commit/fed0e25)), closes [#2089](https://github.com/privacy-scaling-explorations/maci/issues/2089)
241
+ * refactor(circuits): rename circuits signal inputs and move templates ([c2f4e36](https://github.com/privacy-scaling-explorations/maci/commit/c2f4e36))
242
+ * refactor(cli): cleanup signup command ([601269c](https://github.com/privacy-scaling-explorations/maci/commit/601269c))
243
+ * refactor(cli): move deploy vk registry and testing commands to sdk ([bcd8d12](https://github.com/privacy-scaling-explorations/maci/commit/bcd8d12))
244
+ * refactor(cli): move proof generation and poll deploy to sdk ([31922b2](https://github.com/privacy-scaling-explorations/maci/commit/31922b2))
245
+ * refactor(cli): move prove onchain to sdk ([452a68a](https://github.com/privacy-scaling-explorations/maci/commit/452a68a))
246
+ * refactor(cli): move vk commands to sdk ([1f2a81e](https://github.com/privacy-scaling-explorations/maci/commit/1f2a81e))
247
+ * refactor(cli): use contract storage for cli ([b417ee7](https://github.com/privacy-scaling-explorations/maci/commit/b417ee7))
248
+ * refactor(sdk): rename pollWasm param to pollJoiningZkey for consistency ([d4aae1f](https://github.com/privacy-scaling-explorations/maci/commit/d4aae1f)), closes [#2568](https://github.com/privacy-scaling-explorations/maci/issues/2568)
249
+ * fix: nightly workflows ([0729bfd](https://github.com/privacy-scaling-explorations/maci/commit/0729bfd))
250
+ * fix: optimize nightly workflows ([0cb76c0](https://github.com/privacy-scaling-explorations/maci/commit/0cb76c0))
251
+ * feat: add start and end timestmap for poll ([cf67b53](https://github.com/privacy-scaling-explorations/maci/commit/cf67b53))
252
+ * feat(circuits): remove timestamp from state leaf ([831e00d](https://github.com/privacy-scaling-explorations/maci/commit/831e00d))
253
+ * 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)
254
+ * feat(contracts): integrate excubiae for gatekeepers ([fae260b](https://github.com/privacy-scaling-explorations/maci/commit/fae260b))
255
+ * feat(contracts): support etherscan v2 ([b419b9b](https://github.com/privacy-scaling-explorations/maci/commit/b419b9b))
256
+ * feat(relayer): add auth guard for message publishing ([813bfc7](https://github.com/privacy-scaling-explorations/maci/commit/813bfc7))
257
+ * feat(relayer): add database integration ([5170627](https://github.com/privacy-scaling-explorations/maci/commit/5170627))
258
+ * feat(relayer): add deploy scripts ([39c6119](https://github.com/privacy-scaling-explorations/maci/commit/39c6119))
259
+ * feat(relayer): add ipfs integration ([648414a](https://github.com/privacy-scaling-explorations/maci/commit/648414a))
260
+ * feat(relayer): add publish message api method ([b083ec7](https://github.com/privacy-scaling-explorations/maci/commit/b083ec7))
261
+ * feat(relayer): add relayer service boilerplate ([985f572](https://github.com/privacy-scaling-explorations/maci/commit/985f572))
262
+ * feat(relayer): fetch message batches ([0048939](https://github.com/privacy-scaling-explorations/maci/commit/0048939))
263
+ * feat(relayer): relay messages onchain ([1aa4ea3](https://github.com/privacy-scaling-explorations/maci/commit/1aa4ea3))
264
+ * feat(sdk): add relayer functions ([6273ef8](https://github.com/privacy-scaling-explorations/maci/commit/6273ef8))
265
+ * docs: add entries for coordinator and relayer services ([737e673](https://github.com/privacy-scaling-explorations/maci/commit/737e673))
266
+ * 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)
267
+ * docs(relayer): add general documentation for service ([84e8c16](https://github.com/privacy-scaling-explorations/maci/commit/84e8c16))
268
+ * test(relayer): add checks for onchain publishing ([a25f4bd](https://github.com/privacy-scaling-explorations/maci/commit/a25f4bd))
269
+ * test(relayer): add more e2e tests ([0cbfc40](https://github.com/privacy-scaling-explorations/maci/commit/0cbfc40))
270
+
271
+
272
+
273
+
274
+
6
275
  ## [3.0.0](https://github.com/privacy-scaling-explorations/maci/compare/v2.5.0...v3.0.0) (2025-03-28)
7
276
 
8
277
 
package/LICENSE CHANGED
@@ -1,7 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Barry WhiteHat, Kendrick Tan, Kobi Gurkan, Kirill Goncharov
4
- Cory Dickson, Han Jian, Chih-Cheng Liang, and Koh Wei Jie
3
+ Copyright (c) 2025 Ethereum Foundation
5
4
 
6
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,19 +1,18 @@
1
1
  import type request from "supertest";
2
2
  export declare const STATE_TREE_DEPTH = 10;
3
- export declare const INT_STATE_TREE_DEPTH = 1;
3
+ export declare const TALLY_PROCESSING_STATE_TREE_DEPTH = 1;
4
4
  export declare const VOTE_OPTION_TREE_DEPTH = 2;
5
5
  export declare const MESSAGE_BATCH_SIZE = 20;
6
6
  export declare const DEFAULT_INITIAL_VOICE_CREDITS = 99;
7
7
  export declare const DEFAULT_VOTE_OPTIONS = 25;
8
- export declare const dirname: string;
9
8
  export declare const pollJoiningZkey: string;
10
9
  export declare const pollJoinedZkey: string;
11
- export declare const pollWasm: string;
12
- export declare const pollWitgen: string;
10
+ export declare const pollJoiningWasm: string;
11
+ export declare const pollWitnessGenerator: string;
13
12
  export declare const pollJoinedWasm: string;
14
- export declare const pollJoinedWitgen: string;
13
+ export declare const pollJoinedWitnessGenerator: string;
15
14
  export declare const rapidsnark: string;
16
- export declare const processMessagesZkeyPathNonQv: string;
17
- export declare const tallyVotesZkeyPathNonQv: string;
15
+ export declare const messageProcessorZkeyPathNonQv: string;
16
+ export declare const voteTallyZkeyPathNonQv: string;
18
17
  export type TApp = Parameters<typeof request>[0];
19
18
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../tests/constants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,eAAO,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0BAA0B,QAGtC,CAAC;AACF,eAAO,MAAM,UAAU,QAAyC,CAAC;AACjE,eAAO,MAAM,6BAA6B,QAGzC,CAAC;AACF,eAAO,MAAM,sBAAsB,QAGlC,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,20 +1,22 @@
1
1
  import { homedir } from "os";
2
2
  import path from "path";
3
- import url from "url";
3
+ import { fileURLToPath } from "url";
4
4
  export const STATE_TREE_DEPTH = 10;
5
- export const INT_STATE_TREE_DEPTH = 1;
5
+ export const TALLY_PROCESSING_STATE_TREE_DEPTH = 1;
6
6
  export const VOTE_OPTION_TREE_DEPTH = 2;
7
7
  export const MESSAGE_BATCH_SIZE = 20;
8
8
  export const DEFAULT_INITIAL_VOICE_CREDITS = 99;
9
9
  export const DEFAULT_VOTE_OPTIONS = 25;
10
- export const dirname = url.fileURLToPath(new URL(".", import.meta.url));
11
- export const pollJoiningZkey = path.resolve(dirname, "../zkeys/PollJoining_10_test/PollJoining_10_test.0.zkey");
12
- export const pollJoinedZkey = path.resolve(dirname, "../zkeys/PollJoined_10_test/PollJoined_10_test.0.zkey");
13
- export const pollWasm = path.resolve(dirname, "../zkeys/PollJoining_10_test/PollJoining_10_test_js/PollJoining_10_test.wasm");
14
- export const pollWitgen = path.resolve(dirname, "../zkeys/PollJoining_10_test/PollJoining_10_test_cpp/PollJoining_10_test");
15
- export const pollJoinedWasm = path.resolve(dirname, "../zkeys/PollJoined_10_test/PollJoined_10_test_js/PollJoined_10_test.wasm");
16
- export const pollJoinedWitgen = path.resolve(dirname, "../zkeys/PollJoined_10_test/PollJoined_10_test_cpp/PollJoined_10_test");
10
+ const filename = fileURLToPath(import.meta.url);
11
+ const dirname = path.dirname(filename);
12
+ const root = path.resolve(dirname, "../../..");
13
+ export const pollJoiningZkey = path.resolve(root, "./zkeys/PollJoining_10_test/PollJoining_10_test.0.zkey");
14
+ export const pollJoinedZkey = path.resolve(root, "./zkeys/PollJoined_10_test/PollJoined_10_test.0.zkey");
15
+ export const pollJoiningWasm = path.resolve(root, "./zkeys/PollJoining_10_test/PollJoining_10_test_js/PollJoining_10_test.wasm");
16
+ export const pollWitnessGenerator = path.resolve(root, "./zkeys/PollJoining_10_test/PollJoining_10_test_cpp/PollJoining_10_test");
17
+ export const pollJoinedWasm = path.resolve(root, "./zkeys/PollJoined_10_test/PollJoined_10_test_js/PollJoined_10_test.wasm");
18
+ export const pollJoinedWitnessGenerator = path.resolve(root, "./zkeys/PollJoined_10_test/PollJoined_10_test_cpp/PollJoined_10_test");
17
19
  export const rapidsnark = `${homedir()}/rapidsnark/build/prover`;
18
- export const processMessagesZkeyPathNonQv = path.resolve(dirname, "../zkeys/ProcessMessagesNonQv_10-20-2_test/ProcessMessagesNonQv_10-20-2_test.0.zkey");
19
- export const tallyVotesZkeyPathNonQv = path.resolve(dirname, "../zkeys/TallyVotesNonQv_10-1-2_test/TallyVotesNonQv_10-1-2_test.0.zkey");
20
+ export const messageProcessorZkeyPathNonQv = path.resolve(root, "./zkeys/MessageProcessorNonQv_10-20-2_test/MessageProcessorNonQv_10-20-2_test.0.zkey");
21
+ export const voteTallyZkeyPathNonQv = path.resolve(root, "./zkeys/VoteTallyNonQv_10-1-2_test/VoteTallyNonQv_10-1-2_test.0.zkey");
20
22
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../tests/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AACnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC;AACtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AACxC,MAAM,CAAC,M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AC,MAAM,6BAA6B,GAAG,IAAI,CAAC,OAAO,CACvD,IAAI,EACJ,sFAAsF,CACvF,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,OAAO,CAChD,IAAI,EACJ,sEAAsE,CACvE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { jest } from "@jest/globals";
2
2
  import { Keypair } from "@maci-protocol/domainobjs";
3
- import { formatProofForVerifierContract, genProofSnarkjs } from "@maci-protocol/sdk";
3
+ import { formatProofForVerifierContract, generateProofSnarkjs } from "@maci-protocol/sdk";
4
4
  import { TestingClass } from "@maci-protocol/testing";
5
5
  import { HttpStatus, ValidationPipe } from "@nestjs/common";
6
6
  import { Test } from "@nestjs/testing";
7
7
  import request from "supertest";
8
8
  import { AppModule } from "../ts/app.module.js";
9
- import { pollJoinedWasm, pollJoinedZkey, pollJoiningZkey, pollWasm, pollWitgen, processMessagesZkeyPathNonQv, rapidsnark, tallyVotesZkeyPathNonQv, } from "./constants.js";
9
+ import { pollJoinedWasm, pollJoinedZkey, pollJoiningZkey, pollJoiningWasm, pollWitnessGenerator, messageProcessorZkeyPathNonQv, rapidsnark, voteTallyZkeyPathNonQv, } from "./constants.js";
10
10
  jest.unmock("@maci-protocol/sdk");
11
11
  describe("Integration message batches", () => {
12
12
  let app;
@@ -17,14 +17,14 @@ describe("Integration message batches", () => {
17
17
  const testDeploy = await TestingClass.getInstance({
18
18
  pollJoiningZkeyPath: pollJoiningZkey,
19
19
  pollJoinedZkeyPath: pollJoinedZkey,
20
- processMessagesZkeyPath: processMessagesZkeyPathNonQv,
21
- tallyVotesZkeyPath: tallyVotesZkeyPathNonQv,
22
- pollWasm,
23
- pollWitgen,
20
+ messageProcessorZkeyPath: messageProcessorZkeyPathNonQv,
21
+ voteTallyZkeyPath: voteTallyZkeyPathNonQv,
22
+ pollJoiningWasm,
23
+ pollWitnessGenerator,
24
24
  rapidsnark,
25
25
  });
26
26
  const poll = testDeploy.contractsData.maciState.polls.get(0n);
27
- poll.updatePoll(BigInt(testDeploy.contractsData.maciState.pubKeys.length));
27
+ poll.updatePoll(BigInt(testDeploy.contractsData.maciState.publicKeys.length));
28
28
  maciContractAddress = testDeploy.contractsData.maciContractAddress;
29
29
  [user] = testDeploy.contractsData.users;
30
30
  const moduleFixture = await Test.createTestingModule({
@@ -34,11 +34,11 @@ describe("Integration message batches", () => {
34
34
  app.useGlobalPipes(new ValidationPipe({ transform: true }));
35
35
  await app.listen(3001);
36
36
  const circuitInputs = poll.joinedCircuitInputs({
37
- maciPrivKey: user.keypair.privKey,
37
+ maciPrivateKey: user.keypair.privateKey,
38
38
  stateLeafIndex: user.stateLeafIndex,
39
39
  voiceCreditsBalance: user.voiceCreditBalance,
40
40
  });
41
- const { proof } = await genProofSnarkjs({
41
+ const { proof } = await generateProofSnarkjs({
42
42
  inputs: circuitInputs,
43
43
  zkeyPath: pollJoinedZkey,
44
44
  wasmPath: pollJoinedWasm,
@@ -50,7 +50,7 @@ describe("Integration message batches", () => {
50
50
  messages: [
51
51
  {
52
52
  data: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
53
- publicKey: keypair.pubKey.serialize(),
53
+ publicKey: keypair.publicKey.serialize(),
54
54
  },
55
55
  ],
56
56
  poll: 0,
@@ -98,7 +98,7 @@ describe("Integration message batches", () => {
98
98
  skip: 0,
99
99
  poll: 0,
100
100
  maciContractAddress,
101
- publicKeys: [user.keypair.pubKey.serialize()],
101
+ publicKeys: [user.keypair.publicKey.serialize()],
102
102
  })
103
103
  .expect(HttpStatus.OK);
104
104
  expect(result.status).toBe(HttpStatus.OK);
@@ -1 +1 @@
1
- {"version":3,"file":"messageBatches.test.js","sourceRoot":"","sources":["../../tests/messageBatches.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,eAAe,EAAE,M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,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC;gBAChC,KAAK,EAAE,aAAa;gBACpB,UAAU,EAAE,UAAU,CAAC,WAAW;gBAClC,OAAO,EAAE;oBACP,iCAAiC;oBACjC,8BAA8B;oBAC9B,8BAA8B;oBAC9B,iDAAiD;oBACjD,sBAAsB;oBACtB,uBAAuB;iBACxB;aACF,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,qCAAqC,EAAE,KAAK,IAAI,EAAE;YACrD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;iBAC9C,GAAG,CAAC,wBAAwB,CAAC;iBAC7B,IAAI,CAAC;gBACJ,KAAK,EAAE,EAAE;gBACT,IAAI,EAAE,CAAC;gBACP,IAAI,EAAE,CAAC;gBACP,mBAAmB;gBACnB,UAAU,EAAE,CAAC,IAAK,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;aAClD,CAAC;iBACD,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;YAEzB,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;QAC5C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { jest } from "@jest/globals";
2
2
  import { Keypair } from "@maci-protocol/domainobjs";
3
- import { formatProofForVerifierContract, genProofSnarkjs } from "@maci-protocol/sdk";
3
+ import { formatProofForVerifierContract, generateProofSnarkjs } from "@maci-protocol/sdk";
4
4
  import { TestingClass } from "@maci-protocol/testing";
5
5
  import { HttpStatus, ValidationPipe } from "@nestjs/common";
6
6
  import { Test } from "@nestjs/testing";
7
7
  import request from "supertest";
8
8
  import { AppModule } from "../ts/app.module.js";
9
- import { pollJoinedWasm, pollJoinedZkey, pollWasm, tallyVotesZkeyPathNonQv, pollJoiningZkey, processMessagesZkeyPathNonQv, pollWitgen, rapidsnark, } from "./constants.js";
9
+ import { pollJoinedWasm, pollJoinedZkey, pollJoiningWasm, voteTallyZkeyPathNonQv, pollJoiningZkey, messageProcessorZkeyPathNonQv, pollWitnessGenerator, rapidsnark, } from "./constants.js";
10
10
  jest.unmock("@maci-protocol/sdk");
11
11
  describe("Integration messages", () => {
12
12
  let app;
@@ -18,19 +18,19 @@ describe("Integration messages", () => {
18
18
  const testDeploy = await TestingClass.getInstance({
19
19
  pollJoiningZkeyPath: pollJoiningZkey,
20
20
  pollJoinedZkeyPath: pollJoinedZkey,
21
- processMessagesZkeyPath: processMessagesZkeyPathNonQv,
22
- tallyVotesZkeyPath: tallyVotesZkeyPathNonQv,
23
- pollWasm,
24
- pollWitgen,
21
+ messageProcessorZkeyPath: messageProcessorZkeyPathNonQv,
22
+ voteTallyZkeyPath: voteTallyZkeyPathNonQv,
23
+ pollJoiningWasm,
24
+ pollWitnessGenerator,
25
25
  rapidsnark,
26
26
  });
27
27
  const poll = testDeploy.contractsData.maciState.polls.get(0n);
28
- poll.updatePoll(BigInt(testDeploy.contractsData.maciState.pubKeys.length));
28
+ poll.updatePoll(BigInt(testDeploy.contractsData.maciState.publicKeys.length));
29
29
  const [user] = testDeploy.contractsData.users;
30
30
  stateLeafIndex = Number(user.stateLeafIndex);
31
31
  maciContractAddress = testDeploy.contractsData.maciContractAddress;
32
32
  circuitInputs = poll.joinedCircuitInputs({
33
- maciPrivKey: user.keypair.privKey,
33
+ maciPrivateKey: user.keypair.privateKey,
34
34
  stateLeafIndex: user.stateLeafIndex,
35
35
  voiceCreditsBalance: user.voiceCreditBalance,
36
36
  });
@@ -54,7 +54,7 @@ describe("Integration messages", () => {
54
54
  messages: [
55
55
  {
56
56
  data: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
57
- publicKey: keypair.pubKey.serialize(),
57
+ publicKey: keypair.publicKey.serialize(),
58
58
  },
59
59
  ],
60
60
  };
@@ -76,7 +76,7 @@ describe("Integration messages", () => {
76
76
  });
77
77
  });
78
78
  test("should throw an error if dto is invalid", async () => {
79
- const { proof } = await genProofSnarkjs({
79
+ const { proof } = await generateProofSnarkjs({
80
80
  inputs: circuitInputs,
81
81
  zkeyPath: pollJoinedZkey,
82
82
  wasmPath: pollJoinedWasm,
@@ -103,7 +103,7 @@ describe("Integration messages", () => {
103
103
  });
104
104
  });
105
105
  test("should throw an error if messages dto is invalid", async () => {
106
- const { proof } = await genProofSnarkjs({
106
+ const { proof } = await generateProofSnarkjs({
107
107
  inputs: circuitInputs,
108
108
  zkeyPath: pollJoinedZkey,
109
109
  wasmPath: pollJoinedWasm,
@@ -125,7 +125,7 @@ describe("Integration messages", () => {
125
125
  });
126
126
  });
127
127
  test("should publish user messages properly", async () => {
128
- const { proof } = await genProofSnarkjs({
128
+ const { proof } = await generateProofSnarkjs({
129
129
  inputs: circuitInputs,
130
130
  zkeyPath: pollJoinedZkey,
131
131
  wasmPath: pollJoinedWasm,
@@ -1 +1 @@
1
- {"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../tests/messages.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAyB,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EACL,cAAc,EACd,cAAc,EACd,QAAQ,EAER,uBAAuB,EACvB,eAAe,EACf,4BAA4B,EAC5B,UAAU,EACV,UAAU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