@maci-protocol/cli 0.0.0-ci.ffabe48 → 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 +479 -0
- package/build/package.json +13 -13
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/index.js +87 -66
- package/build/ts/index.js.map +1 -1
- package/build/ts/utils/storage.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,485 @@
|
|
|
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 logger for contract helpers ([a688400](https://github.com/privacy-scaling-explorations/maci/commit/a688400))
|
|
9
|
+
* 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)
|
|
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: optimize lean imt and minor improvements ([a68701b](https://github.com/privacy-scaling-explorations/maci/commit/a68701b))
|
|
13
|
+
* chore: update solidity version and cli fixes ([e9fd8b0](https://github.com/privacy-scaling-explorations/maci/commit/e9fd8b0))
|
|
14
|
+
* chore: use type imports ([9da523a](https://github.com/privacy-scaling-explorations/maci/commit/9da523a))
|
|
15
|
+
* chore(deps-dev): bump @types/mocha from 10.0.8 to 10.0.10 ([a8b029a](https://github.com/privacy-scaling-explorations/maci/commit/a8b029a))
|
|
16
|
+
* chore(deps-dev): bump @types/node from 20.17.19 to 22.13.9 ([aa7c356](https://github.com/privacy-scaling-explorations/maci/commit/aa7c356))
|
|
17
|
+
* 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)
|
|
18
|
+
* chore(deps-dev): bump @types/node from 22.12.0 to 22.13.1 ([5f06af0](https://github.com/privacy-scaling-explorations/maci/commit/5f06af0))
|
|
19
|
+
* chore(deps-dev): bump @types/node from 22.13.1 to 22.13.4 ([dba94f4](https://github.com/privacy-scaling-explorations/maci/commit/dba94f4))
|
|
20
|
+
* chore(deps-dev): bump @types/node from 22.13.17 to 22.14.0 ([3434168](https://github.com/privacy-scaling-explorations/maci/commit/3434168))
|
|
21
|
+
* 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)
|
|
22
|
+
* chore(deps-dev): bump @types/node from 22.14.0 to 22.14.1 ([38f0947](https://github.com/privacy-scaling-explorations/maci/commit/38f0947))
|
|
23
|
+
* chore(deps-dev): bump @types/node from 22.14.1 to 22.15.3 ([430d214](https://github.com/privacy-scaling-explorations/maci/commit/430d214))
|
|
24
|
+
* chore(deps-dev): bump @types/node from 22.15.17 to 24.0.1 ([33485a5](https://github.com/privacy-scaling-explorations/maci/commit/33485a5))
|
|
25
|
+
* chore(deps-dev): bump @types/node from 22.15.8 to 22.15.17 ([b144ca2](https://github.com/privacy-scaling-explorations/maci/commit/b144ca2))
|
|
26
|
+
* chore(deps-dev): bump @types/node from 22.9.0 to 22.10.7 ([3e4a5ae](https://github.com/privacy-scaling-explorations/maci/commit/3e4a5ae))
|
|
27
|
+
* chore(deps-dev): bump @types/node from 24.0.1 to 24.0.3 ([834943a](https://github.com/privacy-scaling-explorations/maci/commit/834943a))
|
|
28
|
+
* chore(deps-dev): bump @types/node from 24.0.12 to 24.0.13 ([f85b4b1](https://github.com/privacy-scaling-explorations/maci/commit/f85b4b1))
|
|
29
|
+
* 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)
|
|
30
|
+
* chore(deps-dev): bump @types/node from 24.0.3 to 24.0.4 ([a00ce55](https://github.com/privacy-scaling-explorations/maci/commit/a00ce55))
|
|
31
|
+
* chore(deps-dev): bump @types/node from 24.0.4 to 24.0.7 ([fbbe0a7](https://github.com/privacy-scaling-explorations/maci/commit/fbbe0a7))
|
|
32
|
+
* 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)
|
|
33
|
+
* chore(deps-dev): bump @types/snarkjs from 0.7.8 to 0.7.9 ([5259169](https://github.com/privacy-scaling-explorations/maci/commit/5259169))
|
|
34
|
+
* chore(deps-dev): bump chai-as-promised and @types/chai-as-promised ([7ff001d](https://github.com/privacy-scaling-explorations/maci/commit/7ff001d))
|
|
35
|
+
* chore(deps-dev): bump mocha from 10.7.3 to 11.0.1 ([457a504](https://github.com/privacy-scaling-explorations/maci/commit/457a504))
|
|
36
|
+
* chore(deps-dev): bump mocha from 10.8.2 to 11.1.0 ([f524a07](https://github.com/privacy-scaling-explorations/maci/commit/f524a07))
|
|
37
|
+
* chore(deps-dev): bump mocha from 11.1.0 to 11.2.2 ([044ad2e](https://github.com/privacy-scaling-explorations/maci/commit/044ad2e))
|
|
38
|
+
* chore(deps-dev): bump mocha from 11.2.2 to 11.4.0 ([09929d2](https://github.com/privacy-scaling-explorations/maci/commit/09929d2))
|
|
39
|
+
* 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)
|
|
40
|
+
* chore(deps-dev): bump mocha from 11.6.0 to 11.7.0 ([739b4e5](https://github.com/privacy-scaling-explorations/maci/commit/739b4e5))
|
|
41
|
+
* chore(deps-dev): bump mocha from 11.7.1 to 11.7.2 ([5646026](https://github.com/privacy-scaling-explorations/maci/commit/5646026))
|
|
42
|
+
* chore(deps-dev): bump ts-mocha from 10.0.0 to 11.1.0 ([df84193](https://github.com/privacy-scaling-explorations/maci/commit/df84193))
|
|
43
|
+
* chore(deps-dev): bump typescript and typedoc ([4ee5de5](https://github.com/privacy-scaling-explorations/maci/commit/4ee5de5))
|
|
44
|
+
* chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 ([e37f1bf](https://github.com/privacy-scaling-explorations/maci/commit/e37f1bf))
|
|
45
|
+
* chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 ([048cefc](https://github.com/privacy-scaling-explorations/maci/commit/048cefc))
|
|
46
|
+
* chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 ([17e4a70](https://github.com/privacy-scaling-explorations/maci/commit/17e4a70))
|
|
47
|
+
* chore(deps): bump @commander-js/extra-typings from 12.1.0 to 13.0.0 ([fb0a635](https://github.com/privacy-scaling-explorations/maci/commit/fb0a635))
|
|
48
|
+
* chore(deps): bump @commander-js/extra-typings from 13.0.0 to 13.1.0 (#2067) ([0e1fd2d](https://github.com/privacy-scaling-explorations/maci/commit/0e1fd2d)), closes [#2067](https://github.com/privacy-scaling-explorations/maci/issues/2067)
|
|
49
|
+
* chore(deps): bump @commander-js/extra-typings from 13.1.0 to 14.0.0 ([845ef2a](https://github.com/privacy-scaling-explorations/maci/commit/845ef2a))
|
|
50
|
+
* chore(deps): bump @nomicfoundation/hardhat-toolbox from 5.0.0 to 6.0.0 ([efc5e53](https://github.com/privacy-scaling-explorations/maci/commit/efc5e53))
|
|
51
|
+
* chore(deps): bump @nomicfoundation/hardhat-toolbox from 6.0.0 to 6.1.0 ([30d53d5](https://github.com/privacy-scaling-explorations/maci/commit/30d53d5))
|
|
52
|
+
* chore(deps): bump @types/node to 24.11.0 ([36f727b](https://github.com/privacy-scaling-explorations/maci/commit/36f727b))
|
|
53
|
+
* chore(deps): bump commander from 12.1.0 to 13.0.0 ([919907d](https://github.com/privacy-scaling-explorations/maci/commit/919907d))
|
|
54
|
+
* chore(deps): bump commander from 13.0.0 to 13.1.0 ([c951f73](https://github.com/privacy-scaling-explorations/maci/commit/c951f73))
|
|
55
|
+
* chore(deps): bump commander from 13.1.0 to 14.0.0 ([88e75c7](https://github.com/privacy-scaling-explorations/maci/commit/88e75c7))
|
|
56
|
+
* 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)
|
|
57
|
+
* chore(deps): bump dotenv from 16.4.7 to 16.5.0 ([5a51cba](https://github.com/privacy-scaling-explorations/maci/commit/5a51cba))
|
|
58
|
+
* chore(deps): bump dotenv from 16.5.0 to 17.0.0 ([4a0cb2e](https://github.com/privacy-scaling-explorations/maci/commit/4a0cb2e))
|
|
59
|
+
* chore(deps): bump dotenv from 17.0.0 to 17.0.1 ([d8f0253](https://github.com/privacy-scaling-explorations/maci/commit/d8f0253))
|
|
60
|
+
* chore(deps): bump dotenv from 17.1.0 to 17.2.0 ([baaf672](https://github.com/privacy-scaling-explorations/maci/commit/baaf672))
|
|
61
|
+
* chore(deps): bump dotenv from 17.2.0 to 17.2.2 ([7bd56d2](https://github.com/privacy-scaling-explorations/maci/commit/7bd56d2))
|
|
62
|
+
* chore(deps): bump ethers from 6.13.4 to 6.13.5 ([5e0256c](https://github.com/privacy-scaling-explorations/maci/commit/5e0256c))
|
|
63
|
+
* chore(deps): bump ethers from 6.13.5 to 6.13.7 ([ea37135](https://github.com/privacy-scaling-explorations/maci/commit/ea37135))
|
|
64
|
+
* chore(deps): bump ethers from 6.13.7 to 6.14.0 ([e806553](https://github.com/privacy-scaling-explorations/maci/commit/e806553))
|
|
65
|
+
* chore(deps): bump ethers from 6.14.0 to 6.14.3 ([05118f4](https://github.com/privacy-scaling-explorations/maci/commit/05118f4))
|
|
66
|
+
* chore(deps): bump ethers from 6.14.3 to 6.14.4 ([00bccaa](https://github.com/privacy-scaling-explorations/maci/commit/00bccaa))
|
|
67
|
+
* chore(deps): bump ethers from 6.14.4 to 6.15.0 ([525ff51](https://github.com/privacy-scaling-explorations/maci/commit/525ff51))
|
|
68
|
+
* chore(deps): bump hardhat from 2.22.15 to 2.22.18 ([cd2950f](https://github.com/privacy-scaling-explorations/maci/commit/cd2950f))
|
|
69
|
+
* chore(deps): bump hardhat from 2.22.18 to 2.22.19 ([49af291](https://github.com/privacy-scaling-explorations/maci/commit/49af291))
|
|
70
|
+
* chore(deps): bump hardhat from 2.22.19 to 2.23.0 ([38bc36f](https://github.com/privacy-scaling-explorations/maci/commit/38bc36f))
|
|
71
|
+
* chore(deps): bump hardhat from 2.23.0 to 2.24.0 ([37f2b85](https://github.com/privacy-scaling-explorations/maci/commit/37f2b85))
|
|
72
|
+
* chore(deps): bump hardhat from 2.24.1 to 2.24.3 ([3727b4e](https://github.com/privacy-scaling-explorations/maci/commit/3727b4e))
|
|
73
|
+
* chore(deps): bump hardhat from 2.24.3 to 2.25.0 ([333297e](https://github.com/privacy-scaling-explorations/maci/commit/333297e))
|
|
74
|
+
* feat(sdk,cli): add isOpen status to poll data and improve CLI output ([409e410](https://github.com/privacy-scaling-explorations/maci/commit/409e410))
|
|
75
|
+
* 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)
|
|
76
|
+
* refactor: cleanup anon poll joining ([c94bd8e](https://github.com/privacy-scaling-explorations/maci/commit/c94bd8e))
|
|
77
|
+
* 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)
|
|
78
|
+
* refactor: deploy maci command ([3eb6915](https://github.com/privacy-scaling-explorations/maci/commit/3eb6915))
|
|
79
|
+
* refactor: expand shorthand variables to full names ([75547c0](https://github.com/privacy-scaling-explorations/maci/commit/75547c0))
|
|
80
|
+
* refactor: gen proofs ([7bba1c5](https://github.com/privacy-scaling-explorations/maci/commit/7bba1c5))
|
|
81
|
+
* refactor: join poll sdk ([52607a7](https://github.com/privacy-scaling-explorations/maci/commit/52607a7))
|
|
82
|
+
* 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)
|
|
83
|
+
* 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)
|
|
84
|
+
* refactor: setVerifyingKeys ([8ce195b](https://github.com/privacy-scaling-explorations/maci/commit/8ce195b))
|
|
85
|
+
* refactor: test suite cleanup (#2233) ([5795741](https://github.com/privacy-scaling-explorations/maci/commit/5795741)), closes [#2233](https://github.com/privacy-scaling-explorations/maci/issues/2233)
|
|
86
|
+
* refactor: user sdk (#2064) ([aac1ce7](https://github.com/privacy-scaling-explorations/maci/commit/aac1ce7)), closes [#2064](https://github.com/privacy-scaling-explorations/maci/issues/2064)
|
|
87
|
+
* refactor: verifying keys sdk (#2070) ([44c9e1e](https://github.com/privacy-scaling-explorations/maci/commit/44c9e1e)), closes [#2070](https://github.com/privacy-scaling-explorations/maci/issues/2070)
|
|
88
|
+
* 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)
|
|
89
|
+
* refactor: vote submission ([a66da9e](https://github.com/privacy-scaling-explorations/maci/commit/a66da9e))
|
|
90
|
+
* refactor(circuits): rename circuits signal inputs and move templates ([c2f4e36](https://github.com/privacy-scaling-explorations/maci/commit/c2f4e36))
|
|
91
|
+
* refactor(cli): cleanup signup command ([601269c](https://github.com/privacy-scaling-explorations/maci/commit/601269c))
|
|
92
|
+
* refactor(cli): move deploy vk registry and testing commands to sdk ([bcd8d12](https://github.com/privacy-scaling-explorations/maci/commit/bcd8d12))
|
|
93
|
+
* refactor(cli): move key generation commands to sdk ([08634a1](https://github.com/privacy-scaling-explorations/maci/commit/08634a1))
|
|
94
|
+
* refactor(cli): move maci state generation to sdk ([f922298](https://github.com/privacy-scaling-explorations/maci/commit/f922298))
|
|
95
|
+
* refactor(cli): move proof generation and poll deploy to sdk ([31922b2](https://github.com/privacy-scaling-explorations/maci/commit/31922b2))
|
|
96
|
+
* refactor(cli): move prove onchain to sdk ([452a68a](https://github.com/privacy-scaling-explorations/maci/commit/452a68a))
|
|
97
|
+
* refactor(cli): move publish commands to sdk ([aa16343](https://github.com/privacy-scaling-explorations/maci/commit/aa16343))
|
|
98
|
+
* refactor(cli): move signups merging to sdk ([36a8d6d](https://github.com/privacy-scaling-explorations/maci/commit/36a8d6d))
|
|
99
|
+
* refactor(cli): move vk commands to sdk ([1f2a81e](https://github.com/privacy-scaling-explorations/maci/commit/1f2a81e))
|
|
100
|
+
* refactor(cli): use contract storage for cli ([b417ee7](https://github.com/privacy-scaling-explorations/maci/commit/b417ee7))
|
|
101
|
+
* refactor(cli): use verify from sdk ([eadd2e4](https://github.com/privacy-scaling-explorations/maci/commit/eadd2e4))
|
|
102
|
+
* refactor(sdk): change sdk package structure ([3255909](https://github.com/privacy-scaling-explorations/maci/commit/3255909))
|
|
103
|
+
* 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)
|
|
104
|
+
* feat: add logs output option for debugging and auditing ([d638fb6](https://github.com/privacy-scaling-explorations/maci/commit/d638fb6))
|
|
105
|
+
* feat: add message processor for full voice credits mode ([d7f4240](https://github.com/privacy-scaling-explorations/maci/commit/d7f4240))
|
|
106
|
+
* feat: add number of valid vote options ([cdba5a3](https://github.com/privacy-scaling-explorations/maci/commit/cdba5a3))
|
|
107
|
+
* feat: add poll state tree depth ([3d74d4b](https://github.com/privacy-scaling-explorations/maci/commit/3d74d4b))
|
|
108
|
+
* feat: add start and end timestmap for poll ([cf67b53](https://github.com/privacy-scaling-explorations/maci/commit/cf67b53))
|
|
109
|
+
* 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)
|
|
110
|
+
* 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)
|
|
111
|
+
* feat: deploy initial voice credit proxy factory with maci tasks ([3b5aa65](https://github.com/privacy-scaling-explorations/maci/commit/3b5aa65))
|
|
112
|
+
* 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)
|
|
113
|
+
* 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)
|
|
114
|
+
* feat: rebase anon poll joining with dev ([c384a5b](https://github.com/privacy-scaling-explorations/maci/commit/c384a5b))
|
|
115
|
+
* feat: use excubiae policies instead of gatekeepers ([a2319b1](https://github.com/privacy-scaling-explorations/maci/commit/a2319b1))
|
|
116
|
+
* feat: use gatekeeper per poll (#1961) ([8e1ab15](https://github.com/privacy-scaling-explorations/maci/commit/8e1ab15)), closes [#1961](https://github.com/privacy-scaling-explorations/maci/issues/1961)
|
|
117
|
+
* 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)
|
|
118
|
+
* feat(circuits): add poll joined circuit ([30c4f6a](https://github.com/privacy-scaling-explorations/maci/commit/30c4f6a))
|
|
119
|
+
* 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)
|
|
120
|
+
* feat(contracts): add anon aadhaar gatekeeper checker ([13f14b0](https://github.com/privacy-scaling-explorations/maci/commit/13f14b0))
|
|
121
|
+
* feat(contracts): integrate excubiae for gatekeepers ([fae260b](https://github.com/privacy-scaling-explorations/maci/commit/fae260b))
|
|
122
|
+
* feat(contracts): relay messages ([1f10971](https://github.com/privacy-scaling-explorations/maci/commit/1f10971))
|
|
123
|
+
* feat(contracts): reuse policy proxies factories for deployment ([ed918ea](https://github.com/privacy-scaling-explorations/maci/commit/ed918ea))
|
|
124
|
+
* feat(contracts): store verifier and verifying keys in maci contract ([f3de633](https://github.com/privacy-scaling-explorations/maci/commit/f3de633))
|
|
125
|
+
* feat(contracts): support etherscan v2 ([b419b9b](https://github.com/privacy-scaling-explorations/maci/commit/b419b9b))
|
|
126
|
+
* feat(coordinator): changes to use it with Aragon UI ([15a0b9e](https://github.com/privacy-scaling-explorations/maci/commit/15a0b9e))
|
|
127
|
+
* feat(relayer): add auth guard for message publishing ([813bfc7](https://github.com/privacy-scaling-explorations/maci/commit/813bfc7))
|
|
128
|
+
* feat(sdk): return processProofs, tallyProofs and tallyData in generateProofs (#2193) ([dfbc410](https://github.com/privacy-scaling-explorations/maci/commit/dfbc410)), closes [#2193](https://github.com/privacy-scaling-explorations/maci/issues/2193)
|
|
129
|
+
* feat(sdk): setVerifyingKeys for multiple modes ([cd55263](https://github.com/privacy-scaling-explorations/maci/commit/cd55263))
|
|
130
|
+
* fix: add missing parts after anon poll joining rebase ([6349806](https://github.com/privacy-scaling-explorations/maci/commit/6349806))
|
|
131
|
+
* fix: anon poll joining ([bc6d4c2](https://github.com/privacy-scaling-explorations/maci/commit/bc6d4c2))
|
|
132
|
+
* fix: nightly workflows ([0729bfd](https://github.com/privacy-scaling-explorations/maci/commit/0729bfd))
|
|
133
|
+
* fix: storage write for e2e tests ([1370f82](https://github.com/privacy-scaling-explorations/maci/commit/1370f82))
|
|
134
|
+
* fix: tests for poll joining ([e33c5dc](https://github.com/privacy-scaling-explorations/maci/commit/e33c5dc))
|
|
135
|
+
* fix(cli): adjust duplicate cli flag (#2438) ([0c66f42](https://github.com/privacy-scaling-explorations/maci/commit/0c66f42)), closes [#2438](https://github.com/privacy-scaling-explorations/maci/issues/2438)
|
|
136
|
+
* fix(cli): deploy poll params conflict ([b8640a3](https://github.com/privacy-scaling-explorations/maci/commit/b8640a3))
|
|
137
|
+
* fix(sdk): remove stateIndex from joinPoll + verify in ETH sepolia ([c48f9f6](https://github.com/privacy-scaling-explorations/maci/commit/c48f9f6))
|
|
138
|
+
* docs: add full credits information ([e65476e](https://github.com/privacy-scaling-explorations/maci/commit/e65476e))
|
|
139
|
+
* 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)
|
|
140
|
+
* test: e2e full spent voting mode ([2429ff4](https://github.com/privacy-scaling-explorations/maci/commit/2429ff4))
|
|
141
|
+
* test: remove redundant tests and cleanup ([9946687](https://github.com/privacy-scaling-explorations/maci/commit/9946687))
|
|
142
|
+
* test(relayer): add more e2e tests ([0cbfc40](https://github.com/privacy-scaling-explorations/maci/commit/0cbfc40))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### BREAKING CHANGE
|
|
146
|
+
|
|
147
|
+
* message processing is changed
|
|
148
|
+
|
|
149
|
+
* fix(ipoll): add missing parameter
|
|
150
|
+
|
|
151
|
+
* fix(poll-tests): add missing parameter maxMessagebatchSize
|
|
152
|
+
|
|
153
|
+
* feat(poll.ts): add chain hash updating
|
|
154
|
+
|
|
155
|
+
* test(poll tests): add test for checking chain hash computation
|
|
156
|
+
|
|
157
|
+
* feat(poll.ts): add batch hashes array computation
|
|
158
|
+
|
|
159
|
+
* feat(poll.sol): pad zeroes to the maximum size of batch
|
|
160
|
+
|
|
161
|
+
* feat(messageprocessor): update process messages to use chain hash
|
|
162
|
+
|
|
163
|
+
* refactor(vkregistry): refactor function call
|
|
164
|
+
|
|
165
|
+
* feat(processmessages.circom): add chainHash feature in circuits and test for that
|
|
166
|
+
|
|
167
|
+
* test(processmessages): rearrange test for key-change
|
|
168
|
+
|
|
169
|
+
* refactor(mergemessages): refactor functions calls which include mergemessages
|
|
170
|
+
|
|
171
|
+
* refactor(mergemessages): add some more changes about functions call which include mergemessages
|
|
172
|
+
|
|
173
|
+
* test(all tests): fixing tests after refactoring code
|
|
174
|
+
|
|
175
|
+
* refactor(accqueue): remove all calls for accqueue
|
|
176
|
+
|
|
177
|
+
* fix(currentmessagebatchindex): fix message batch indexing
|
|
178
|
+
|
|
179
|
+
* refactor(circuit tests): refactor code for circuit testing
|
|
180
|
+
|
|
181
|
+
* test(ceremonyparams.test): correct constants for CeremonyParams test
|
|
182
|
+
|
|
183
|
+
* perf(processmessages.circom + contracts): optimize last batch padding, remove unused inputs
|
|
184
|
+
|
|
185
|
+
* docs(padlastbatch method): update doc comment
|
|
186
|
+
|
|
187
|
+
* docs(poll.ts): remove stale comments
|
|
188
|
+
|
|
189
|
+
* docs(test comments): fix typos
|
|
190
|
+
|
|
191
|
+
* ci(treedepths mock): modify interface for mocked function
|
|
192
|
+
|
|
193
|
+
* fix(ceremony params test): fix circuit inputs
|
|
194
|
+
|
|
195
|
+
* test(messagevalidator): fix function calls for messagevalidator circuit in tests
|
|
196
|
+
|
|
197
|
+
* chore(comments): fix unusefull comments
|
|
198
|
+
|
|
199
|
+
* refactor(poll.sol): replace external contracts with maci only
|
|
200
|
+
|
|
201
|
+
* perf(messageprocessor.sol): hardcode initialization for batchHashes array
|
|
202
|
+
|
|
203
|
+
* docs(comments): fix some more comments
|
|
204
|
+
|
|
205
|
+
* test(test for pr checks): correct some of tests for PR checks
|
|
206
|
+
|
|
207
|
+
* ci: 🎡 renamed old ProcessMessages_10-2-1-2_test
|
|
208
|
+
|
|
209
|
+
* ci: 🎡 correct rapidsnark/build/prover path
|
|
210
|
+
|
|
211
|
+
* style(reviews): solve some reviews for merging
|
|
212
|
+
|
|
213
|
+
* refactor(messageaqq): remove more message merging and message aqq
|
|
214
|
+
|
|
215
|
+
* style(messageaqq): remove more message merging and message aqq
|
|
216
|
+
|
|
217
|
+
* refactor(messageaqq): remove message aqq from subgraph
|
|
218
|
+
|
|
219
|
+
* test(coordinator): hide NOT_MERGED_MESSAGE_TREE error
|
|
220
|
+
|
|
221
|
+
* test(coordinator): fix test about message merging
|
|
222
|
+
|
|
223
|
+
* test(proveonchain): change chainHash calculation
|
|
224
|
+
|
|
225
|
+
* test(proveonchain): fix chainHashes declaration
|
|
226
|
+
|
|
227
|
+
* test(proveonchain): fix chainHash calculation
|
|
228
|
+
|
|
229
|
+
* test(proveonchain): fix chainHashes calculations
|
|
230
|
+
|
|
231
|
+
* test(proveonchain): fix chainHashes calculation
|
|
232
|
+
|
|
233
|
+
* test(proveonchain): fix loop limit
|
|
234
|
+
|
|
235
|
+
* style(review comments): resolve some of review comments
|
|
236
|
+
|
|
237
|
+
* style(review comments): resolve some of review comments
|
|
238
|
+
|
|
239
|
+
* test(lint:ts): fix e2e test because of lint:ts check
|
|
240
|
+
|
|
241
|
+
* docs(wrong changes): fix wrong changes about documentation that is not in our scope
|
|
242
|
+
|
|
243
|
+
* refactor(batchsizes): change batchSizes struct with messageBatchSize variable
|
|
244
|
+
|
|
245
|
+
* refactor(contracts): rollback to provide external contract references
|
|
246
|
+
|
|
247
|
+
* docs(messageprocessor.sol): fix typo
|
|
248
|
+
|
|
249
|
+
* refactor(messagebatchsize): chenge messageBatchSize location from Params.sol to Poll.sol
|
|
250
|
+
|
|
251
|
+
* refactor(maxmessages): remove maxMessages from maxValues
|
|
252
|
+
|
|
253
|
+
* refactor(sltimestemp): remove slTimestamp from circuits
|
|
254
|
+
|
|
255
|
+
* refactor(review comments): resolve more review comments
|
|
256
|
+
|
|
257
|
+
* fix(subgraph): fix bug about maxVoteOptions dunction call
|
|
258
|
+
|
|
259
|
+
* fix(sltimestamp): fix test for removing slTimestap signal
|
|
260
|
+
|
|
261
|
+
* refactor(promise.all): refactor promise.all for only one async call
|
|
262
|
+
|
|
263
|
+
* fix(subgraph): try to fix subgraph build
|
|
264
|
+
|
|
265
|
+
* revert(.nx folder): remove .nx folder from cli folder
|
|
266
|
+
* message processing is changed
|
|
267
|
+
|
|
268
|
+
* fix(ipoll): add missing parameter
|
|
269
|
+
|
|
270
|
+
* fix(poll-tests): add missing parameter maxMessagebatchSize
|
|
271
|
+
|
|
272
|
+
* feat(poll.ts): add chain hash updating
|
|
273
|
+
|
|
274
|
+
* test(poll tests): add test for checking chain hash computation
|
|
275
|
+
|
|
276
|
+
* feat(poll.ts): add batch hashes array computation
|
|
277
|
+
|
|
278
|
+
* feat(poll.sol): pad zeroes to the maximum size of batch
|
|
279
|
+
|
|
280
|
+
* feat(messageprocessor): update process messages to use chain hash
|
|
281
|
+
|
|
282
|
+
* refactor(vkregistry): refactor function call
|
|
283
|
+
|
|
284
|
+
* feat(processmessages.circom): add chainHash feature in circuits and test for that
|
|
285
|
+
|
|
286
|
+
* test(processmessages): rearrange test for key-change
|
|
287
|
+
|
|
288
|
+
* refactor(mergemessages): refactor functions calls which include mergemessages
|
|
289
|
+
|
|
290
|
+
* refactor(mergemessages): add some more changes about functions call which include mergemessages
|
|
291
|
+
|
|
292
|
+
* test(all tests): fixing tests after refactoring code
|
|
293
|
+
|
|
294
|
+
* refactor(accqueue): remove all calls for accqueue
|
|
295
|
+
|
|
296
|
+
* fix(currentmessagebatchindex): fix message batch indexing
|
|
297
|
+
|
|
298
|
+
* refactor(circuit tests): refactor code for circuit testing
|
|
299
|
+
|
|
300
|
+
* test(ceremonyparams.test): correct constants for CeremonyParams test
|
|
301
|
+
|
|
302
|
+
* perf(processmessages.circom + contracts): optimize last batch padding, remove unused inputs
|
|
303
|
+
|
|
304
|
+
* docs(padlastbatch method): update doc comment
|
|
305
|
+
|
|
306
|
+
* docs(poll.ts): remove stale comments
|
|
307
|
+
|
|
308
|
+
* docs(test comments): fix typos
|
|
309
|
+
|
|
310
|
+
* ci(treedepths mock): modify interface for mocked function
|
|
311
|
+
|
|
312
|
+
* fix(ceremony params test): fix circuit inputs
|
|
313
|
+
|
|
314
|
+
* test(messagevalidator): fix function calls for messagevalidator circuit in tests
|
|
315
|
+
|
|
316
|
+
* chore(comments): fix unusefull comments
|
|
317
|
+
|
|
318
|
+
* refactor(poll.sol): replace external contracts with maci only
|
|
319
|
+
|
|
320
|
+
* perf(messageprocessor.sol): hardcode initialization for batchHashes array
|
|
321
|
+
|
|
322
|
+
* docs(comments): fix some more comments
|
|
323
|
+
|
|
324
|
+
* test(test for pr checks): correct some of tests for PR checks
|
|
325
|
+
|
|
326
|
+
* ci: 🎡 renamed old ProcessMessages_10-2-1-2_test
|
|
327
|
+
|
|
328
|
+
* ci: 🎡 correct rapidsnark/build/prover path
|
|
329
|
+
|
|
330
|
+
* style(reviews): solve some reviews for merging
|
|
331
|
+
|
|
332
|
+
* refactor(messageaqq): remove more message merging and message aqq
|
|
333
|
+
|
|
334
|
+
* style(messageaqq): remove more message merging and message aqq
|
|
335
|
+
|
|
336
|
+
* refactor(messageaqq): remove message aqq from subgraph
|
|
337
|
+
|
|
338
|
+
* test(coordinator): hide NOT_MERGED_MESSAGE_TREE error
|
|
339
|
+
|
|
340
|
+
* test(coordinator): fix test about message merging
|
|
341
|
+
|
|
342
|
+
* test(proveonchain): change chainHash calculation
|
|
343
|
+
|
|
344
|
+
* test(proveonchain): fix chainHashes declaration
|
|
345
|
+
|
|
346
|
+
* test(proveonchain): fix chainHash calculation
|
|
347
|
+
|
|
348
|
+
* test(proveonchain): fix chainHashes calculations
|
|
349
|
+
|
|
350
|
+
* test(proveonchain): fix chainHashes calculation
|
|
351
|
+
|
|
352
|
+
* test(proveonchain): fix loop limit
|
|
353
|
+
|
|
354
|
+
* style(review comments): resolve some of review comments
|
|
355
|
+
|
|
356
|
+
* style(review comments): resolve some of review comments
|
|
357
|
+
|
|
358
|
+
* test(lint:ts): fix e2e test because of lint:ts check
|
|
359
|
+
|
|
360
|
+
* docs(wrong changes): fix wrong changes about documentation that is not in our scope
|
|
361
|
+
|
|
362
|
+
* refactor(batchsizes): change batchSizes struct with messageBatchSize variable
|
|
363
|
+
|
|
364
|
+
* refactor(contracts): rollback to provide external contract references
|
|
365
|
+
|
|
366
|
+
* docs(messageprocessor.sol): fix typo
|
|
367
|
+
|
|
368
|
+
* refactor(messagebatchsize): chenge messageBatchSize location from Params.sol to Poll.sol
|
|
369
|
+
|
|
370
|
+
* refactor(maxmessages): remove maxMessages from maxValues
|
|
371
|
+
|
|
372
|
+
* refactor(sltimestemp): remove slTimestamp from circuits
|
|
373
|
+
|
|
374
|
+
* refactor(review comments): resolve more review comments
|
|
375
|
+
|
|
376
|
+
* fix(subgraph): fix bug about maxVoteOptions dunction call
|
|
377
|
+
|
|
378
|
+
* fix(sltimestamp): fix test for removing slTimestap signal
|
|
379
|
+
|
|
380
|
+
* refactor(promise.all): refactor promise.all for only one async call
|
|
381
|
+
|
|
382
|
+
* fix(subgraph): try to fix subgraph build
|
|
383
|
+
|
|
384
|
+
* revert(.nx folder): remove .nx folder from cli folder
|
|
385
|
+
|
|
386
|
+
* fix(merge): tmp-anon-poll-joining merge
|
|
387
|
+
|
|
388
|
+
* fix(merge): tmp-anon-poll-joining merge
|
|
389
|
+
|
|
390
|
+
* test(ceremonyparams): add poll joining in the test
|
|
391
|
+
|
|
392
|
+
* test(processmessages): add poll joining for the test
|
|
393
|
+
|
|
394
|
+
without key-change test
|
|
395
|
+
|
|
396
|
+
* test(polljoining): add poll joining in the test
|
|
397
|
+
|
|
398
|
+
* test(tallyvotes): add poll joining in the test
|
|
399
|
+
|
|
400
|
+
* test(core): add joinPoll function in tests
|
|
401
|
+
|
|
402
|
+
* style(typo): inclusion proof
|
|
403
|
+
|
|
404
|
+
* style(todo): remove finished todo
|
|
405
|
+
|
|
406
|
+
* style(merge): after merge style
|
|
407
|
+
|
|
408
|
+
* style(return): inline return
|
|
409
|
+
|
|
410
|
+
* style(eslint): remove unnecessary eslint-disable
|
|
411
|
+
|
|
412
|
+
* refactor(joiningcircuitargs): add interface IJoiningCircuitArgs
|
|
413
|
+
|
|
414
|
+
* refactor(joinpoll): async read state file
|
|
415
|
+
|
|
416
|
+
* style(genmacisignup): add function description
|
|
417
|
+
|
|
418
|
+
* refactor(gensignuptree): add IGenSignUpTreeArgs interface
|
|
419
|
+
|
|
420
|
+
* style(polljoining): remove extra inlcudes and comments
|
|
421
|
+
|
|
422
|
+
* feat(pollvkkeys): init
|
|
423
|
+
|
|
424
|
+
* feat(vkregistry): separate set functions (process/tally/poll)
|
|
425
|
+
|
|
426
|
+
* test(pollvkkey): adjust test to setPollVkKey
|
|
427
|
+
|
|
428
|
+
* refactor(vkregistry): use setVerifyingKeys in setVerifyingKeysBatch
|
|
429
|
+
|
|
430
|
+
* refactor(poll): add verifier and vkRegystry in constructor
|
|
431
|
+
|
|
432
|
+
* refactor(poll): put verifier and vkRegistry into extContracts
|
|
433
|
+
|
|
434
|
+
* test(core e2e): fix sanity checks test for incorrect signature
|
|
435
|
+
|
|
436
|
+
* refactor(test): removing only from tests
|
|
437
|
+
|
|
438
|
+
* refactor(macistatetree): use LeanIMT instead of QuinTree
|
|
439
|
+
|
|
440
|
+
* refactor(crypto): export hashLeanIMT from index
|
|
441
|
+
|
|
442
|
+
* feat(joinpoll): use genSignUpTree instead of genMaciStateFromContract
|
|
443
|
+
|
|
444
|
+
* feat(joinpoll cli): add optional parameters
|
|
445
|
+
|
|
446
|
+
* test(coordinator): add pollJoiningZkeyPath in app.test
|
|
447
|
+
|
|
448
|
+
* refactor(joinpoll): prettier
|
|
449
|
+
|
|
450
|
+
* test(coordinator): add joinPoll
|
|
451
|
+
|
|
452
|
+
* fix(poll): joiningCircuitInputs with correct siblings, indices and actualStateTreeDepth
|
|
453
|
+
|
|
454
|
+
* test(integration): add joinPoll
|
|
455
|
+
|
|
456
|
+
* build(coordinator): add COORDINATOR_POLL_ZKEY_NAME
|
|
457
|
+
|
|
458
|
+
* refactor(mergestate): remove Maci from MergeState
|
|
459
|
+
|
|
460
|
+
* test(e2e): test:e2e add joinPoll
|
|
461
|
+
|
|
462
|
+
* test(e2e): test:keyChange add joinPoll
|
|
463
|
+
|
|
464
|
+
* docs(complete documentation): complete documentation of the new workflow
|
|
465
|
+
|
|
466
|
+
* docs(documentation): add v3 docs, revert v2 docs
|
|
467
|
+
|
|
468
|
+
* style(docs): prettier
|
|
469
|
+
|
|
470
|
+
* refactor(joinpoll): add generateAndVerifyProof and getStateIndexAndCreditBalance
|
|
471
|
+
|
|
472
|
+
* docs(blogpost): blogpost cuvering the latest updates
|
|
473
|
+
|
|
474
|
+
* docs(blogpost): kudos to our team members!
|
|
475
|
+
|
|
476
|
+
* style(prettier): blog
|
|
477
|
+
|
|
478
|
+
* fix(joinpoll): index value of the user in the state tree leaves
|
|
479
|
+
|
|
480
|
+
* docs(blog): remove poll-joining
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
6
485
|
## [3.0.0](https://github.com/privacy-scaling-explorations/maci/compare/v2.5.0...v3.0.0) (2025-03-28)
|
|
7
486
|
|
|
8
487
|
|
package/build/package.json
CHANGED
|
@@ -24,35 +24,35 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"watch": "tsc --watch",
|
|
26
26
|
"build": "tsc -p tsconfig.build.json",
|
|
27
|
-
"postbuild": "cp package.json ./build
|
|
27
|
+
"postbuild": "cp package.json ./build",
|
|
28
28
|
"types": "tsc -p tsconfig.json --noEmit",
|
|
29
29
|
"docs": "typedoc --plugin typedoc-plugin-markdown --options ./typedoc.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@commander-js/extra-typings": "^
|
|
33
|
-
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
|
34
|
-
"commander": "^13.1.0",
|
|
35
|
-
"dotenv": "^16.5.0",
|
|
36
|
-
"ethers": "^6.13.7",
|
|
37
|
-
"hardhat": "^2.24.0",
|
|
32
|
+
"@commander-js/extra-typings": "^14.0.0",
|
|
38
33
|
"@maci-protocol/domainobjs": "^3.0.0",
|
|
39
|
-
"@maci-protocol/sdk": "^
|
|
34
|
+
"@maci-protocol/sdk": "^3.0.0",
|
|
35
|
+
"@nomicfoundation/hardhat-toolbox": "^6.1.0",
|
|
36
|
+
"commander": "^14.0.0",
|
|
37
|
+
"dotenv": "^17.2.2",
|
|
38
|
+
"ethers": "^6.15.0",
|
|
39
|
+
"hardhat": "^2.25.0",
|
|
40
40
|
"prompt": "^1.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/chai": "^4.3.9",
|
|
44
|
-
"@types/chai-as-promised": "^
|
|
44
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|
|
46
|
-
"@types/node": "^
|
|
46
|
+
"@types/node": "^24.11.0",
|
|
47
47
|
"@types/prompt": "^1.1.9",
|
|
48
48
|
"@types/snarkjs": "^0.7.9",
|
|
49
49
|
"chai": "^4.3.10",
|
|
50
|
-
"chai-as-promised": "^
|
|
51
|
-
"mocha": "^11.
|
|
50
|
+
"chai-as-promised": "^8.0.1",
|
|
51
|
+
"mocha": "^11.7.2",
|
|
52
52
|
"nyc": "^17.1.0",
|
|
53
53
|
"snarkjs": "^0.7.5",
|
|
54
54
|
"ts-mocha": "^11.1.0",
|
|
55
|
-
"typescript": "^5.
|
|
55
|
+
"typescript": "^5.9.2"
|
|
56
56
|
},
|
|
57
57
|
"nyc": {
|
|
58
58
|
"reporter": [
|
package/build/ts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/index.ts"],"names":[],"mappings":";AAmDA,OAAO,WAAW,CAAC"}
|