Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: anonymous poll joining milestone 2 and 3 #1750

Merged
Changes from 1 commit
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
55879f1
feat(poll): add chain hash features
radojevicMihailo Jun 6, 2024
c7c8f98
fix(ipoll): add missing parameter
radojevicMihailo Jun 6, 2024
b485130
fix(poll-tests): add missing parameter maxMessagebatchSize
aleksprospeh2 Jun 6, 2024
fbdc037
feat(poll.ts): add chain hash updating
aleksprospeh2 Jun 6, 2024
2261883
test(poll tests): add test for checking chain hash computation
radojevicMihailo Jun 6, 2024
f92e78c
feat(poll.ts): add batch hashes array computation
aleksprospeh2 Jun 6, 2024
0605f91
feat(poll.sol): pad zeroes to the maximum size of batch
radojevicMihailo Jun 7, 2024
b01c648
feat(messageprocessor): update process messages to use chain hash
radojevicMihailo Jun 14, 2024
e688b08
refactor(vkregistry): refactor function call
radojevicMihailo Jun 14, 2024
137f8f9
feat(processmessages.circom): add chainHash feature in circuits and t…
radojevicMihailo Jun 20, 2024
94b7e59
test(processmessages): rearrange test for key-change
radojevicMihailo Jun 21, 2024
97498b7
refactor(mergemessages): refactor functions calls which include merge…
radojevicMihailo Jun 25, 2024
2ec0765
refactor(mergemessages): add some more changes about functions call w…
radojevicMihailo Jun 25, 2024
37aaad2
test(all tests): fixing tests after refactoring code
radojevicMihailo Jun 25, 2024
d7c273e
refactor(accqueue): remove all calls for accqueue
radojevicMihailo Jun 26, 2024
29dc495
fix(currentmessagebatchindex): fix message batch indexing
radojevicMihailo Jun 27, 2024
a574527
refactor(circuit tests): refactor code for circuit testing
radojevicMihailo Jun 27, 2024
58f083c
test(ceremonyparams.test): correct constants for CeremonyParams test
radojevicMihailo Jun 28, 2024
ed6b2db
chore(codebase): sync with main repo
radojevicMihailo Jul 1, 2024
5486594
perf(processmessages.circom + contracts): optimize last batch padding…
aleksprospeh2 Jul 2, 2024
eb6862a
docs(padlastbatch method): update doc comment
aleksprospeh2 Jul 2, 2024
db7a257
docs(poll.ts): remove stale comments
aleksprospeh2 Jul 2, 2024
79d761b
docs(test comments): fix typos
aleksprospeh2 Jul 2, 2024
f7cd951
ci(treedepths mock): modify interface for mocked function
aleksprospeh2 Jul 2, 2024
0615975
fix(ceremony params test): fix circuit inputs
aleksprospeh2 Jul 2, 2024
bb80ea9
test(messagevalidator): fix function calls for messagevalidator circu…
radojevicMihailo Jul 2, 2024
6e74a23
chore(comments): fix unusefull comments
radojevicMihailo Jul 2, 2024
50596cf
Merge branch 'feat/anon-poll-joining' of github.com:0x3327/maci into …
radojevicMihailo Jul 2, 2024
3164ca7
refactor(poll.sol): replace external contracts with maci only
aleksprospeh2 Jul 2, 2024
e7dddb6
perf(messageprocessor.sol): hardcode initialization for batchHashes a…
aleksprospeh2 Jul 2, 2024
4925310
Merge branch 'feat/anon-poll-joining' of github.com:0x3327/maci into …
aleksprospeh2 Jul 2, 2024
5082deb
docs(comments): fix some more comments
radojevicMihailo Jul 2, 2024
286c8c0
docs(merge): merge codebase
radojevicMihailo Jul 2, 2024
fb2a327
test(test for pr checks): correct some of tests for PR checks
radojevicMihailo Jul 3, 2024
652c0d1
ci: 🎡 renamed old ProcessMessages_10-2-1-2_test
djanluka Jul 3, 2024
a8019e5
ci: 🎡 correct rapidsnark/build/prover path
djanluka Jul 3, 2024
8921637
style(reviews): solve some reviews for merging
radojevicMihailo Jul 3, 2024
eeb21b8
refactor(messageaqq): remove more message merging and message aqq
radojevicMihailo Jul 3, 2024
25b567a
style(messageaqq): remove more message merging and message aqq
radojevicMihailo Jul 3, 2024
29980d3
Merge branch 'feat/anon-poll-joining' of github.com:0x3327/maci into …
radojevicMihailo Jul 3, 2024
adb1843
refactor(messageaqq): remove message aqq from subgraph
radojevicMihailo Jul 3, 2024
74c4ab0
test(coordinator): hide NOT_MERGED_MESSAGE_TREE error
djanluka Jul 3, 2024
a723725
test(coordinator): fix test about message merging
radojevicMihailo Jul 4, 2024
92c478a
test(proveonchain): change chainHash calculation
radojevicMihailo Jul 4, 2024
81938c6
test(proveonchain): fix chainHashes declaration
radojevicMihailo Jul 4, 2024
273c06c
test(proveonchain): fix chainHash calculation
radojevicMihailo Jul 4, 2024
2dde17f
test(proveonchain): fix chainHashes calculations
radojevicMihailo Jul 4, 2024
256e8c7
test(proveonchain): fix chainHashes calculation
radojevicMihailo Jul 4, 2024
9120425
test(proveonchain): fix loop limit
djanluka Jul 4, 2024
6bef8a9
style(review comments): resolve some of review comments
radojevicMihailo Jul 5, 2024
bb01657
style(review comments): resolve some of review comments
radojevicMihailo Jul 8, 2024
e29f3fb
test(lint:ts): fix e2e test because of lint:ts check
radojevicMihailo Jul 8, 2024
30cf4eb
docs(wrong changes): fix wrong changes about documentation that is no…
radojevicMihailo Jul 8, 2024
984aaec
refactor(batchsizes): change batchSizes struct with messageBatchSize …
radojevicMihailo Jul 9, 2024
e70f9ae
refactor(contracts): rollback to provide external contract references
aleksprospeh2 Jul 9, 2024
c8cce92
docs(messageprocessor.sol): fix typo
aleksprospeh2 Jul 9, 2024
8617781
refactor(messagebatchsize): chenge messageBatchSize location from Par…
radojevicMihailo Jul 10, 2024
5c9c59d
refactor(merge): resolve merge conflict
radojevicMihailo Jul 10, 2024
7185e38
refactor(maxmessages): remove maxMessages from maxValues
radojevicMihailo Jul 10, 2024
f68b9ef
refactor(sltimestemp): remove slTimestamp from circuits
radojevicMihailo Jul 10, 2024
e95efb3
refactor(review comments): resolve more review comments
radojevicMihailo Jul 10, 2024
2d92f56
fix(subgraph): fix bug about maxVoteOptions dunction call
radojevicMihailo Jul 10, 2024
ebdc278
fix(sltimestamp): fix test for removing slTimestap signal
radojevicMihailo Jul 10, 2024
b6179b0
refactor(promise.all): refactor promise.all for only one async call
radojevicMihailo Jul 11, 2024
c34b1ff
fix(subgraph): try to fix subgraph build
radojevicMihailo Jul 11, 2024
d4d10eb
revert(.nx folder): remove .nx folder from cli folder
radojevicMihailo Jul 11, 2024
6cfce18
fix(merge): tmp-anon-poll-joining merge
djanluka Jul 31, 2024
ae802f9
fix(merge): tmp-anon-poll-joining merge
djanluka Aug 1, 2024
ce178ba
test(ceremonyparams): add poll joining in the test
djanluka Aug 2, 2024
99f1f35
test(processmessages): add poll joining for the test
djanluka Aug 2, 2024
d316d7b
test(polljoining): add poll joining in the test
djanluka Aug 5, 2024
bc98588
test(tallyvotes): add poll joining in the test
djanluka Aug 5, 2024
dd21e4d
test(core): add joinPoll function in tests
radojevicMihailo Aug 6, 2024
9f64bb5
Merge branch 'feat/anon-poll-joining' into feat/anon-poll-joining
djanluka Aug 8, 2024
22764b6
style(typo): inclusion proof
djanluka Aug 8, 2024
d4a01b9
style(todo): remove finished todo
djanluka Aug 8, 2024
c1fa94f
style(merge): after merge style
djanluka Aug 8, 2024
2e7eb31
style(return): inline return
djanluka Aug 9, 2024
79b9207
style(eslint): remove unnecessary eslint-disable
djanluka Aug 9, 2024
25bce76
refactor(joiningcircuitargs): add interface IJoiningCircuitArgs
djanluka Aug 9, 2024
5f950e5
refactor(joinpoll): async read state file
djanluka Aug 9, 2024
81c4e7e
style(genmacisignup): add function description
djanluka Aug 9, 2024
65052d1
refactor(gensignuptree): add IGenSignUpTreeArgs interface
djanluka Aug 9, 2024
9879dff
style(polljoining): remove extra inlcudes and comments
djanluka Aug 12, 2024
f556235
feat(pollvkkeys): init
djanluka Aug 12, 2024
161383b
feat(vkregistry): separate set functions (process/tally/poll)
djanluka Aug 13, 2024
95736fb
test(pollvkkey): adjust test to setPollVkKey
djanluka Aug 14, 2024
e92b553
refactor(vkregistry): use setVerifyingKeys in setVerifyingKeysBatch
djanluka Aug 14, 2024
e70fd5b
refactor(poll): add verifier and vkRegystry in constructor
djanluka Aug 15, 2024
74a2ea1
refactor(poll): put verifier and vkRegistry into extContracts
djanluka Aug 15, 2024
7d850fc
test(core e2e): fix sanity checks test for incorrect signature
radojevicMihailo Aug 15, 2024
ab9aad0
refactor(merge): merging changes
radojevicMihailo Aug 15, 2024
739a919
refactor(test): removing only from tests
radojevicMihailo Aug 15, 2024
aab71cb
refactor(macistatetree): use LeanIMT instead of QuinTree
djanluka Aug 15, 2024
f61a567
refactor(crypto): export hashLeanIMT from index
djanluka Aug 15, 2024
9425969
feat(joinpoll): use genSignUpTree instead of genMaciStateFromContract
djanluka Aug 17, 2024
26d69e8
feat(joinpoll cli): add optional parameters
aleksprospeh2 Aug 19, 2024
9c78bfd
test(coordinator): add pollJoiningZkeyPath in app.test
djanluka Aug 19, 2024
0ff7aaa
refactor(joinpoll): prettier
djanluka Aug 19, 2024
5fd48d2
test(coordinator): add joinPoll
djanluka Aug 20, 2024
8abe1ee
fix(poll): joiningCircuitInputs with correct siblings, indices and ac…
djanluka Aug 20, 2024
9c21eff
test(integration): add joinPoll
djanluka Aug 20, 2024
b3c5192
build(coordinator): add COORDINATOR_POLL_ZKEY_NAME
djanluka Aug 20, 2024
6cc2d52
refactor(mergestate): remove Maci from MergeState
djanluka Aug 22, 2024
bd5f3fd
test(e2e): test:e2e add joinPoll
djanluka Aug 22, 2024
713a9bd
test(e2e): test:keyChange add joinPoll
djanluka Aug 22, 2024
f6be34a
docs(complete documentation): complete documentation of the new workflow
aleksprospeh2 Aug 27, 2024
28c6f64
docs(documentation): add v3 docs, revert v2 docs
aleksprospeh2 Aug 27, 2024
4c5c7d7
style(docs): prettier
djanluka Aug 28, 2024
03fa22b
refactor(joinpoll): add generateAndVerifyProof and getStateIndexAndCr…
djanluka Aug 28, 2024
dda986b
docs(blogpost): blogpost cuvering the latest updates
aleksprospeh2 Aug 29, 2024
87afefd
docs(blogpost): kudos to our team members!
aleksprospeh2 Aug 29, 2024
87428c0
style(prettier): blog
djanluka Aug 30, 2024
8134d57
fix(joinpoll): index value of the user in the state tree leaves
djanluka Sep 4, 2024
d9f6e2e
docs(blog): remove poll-joining
djanluka Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/blog/2024-08-29-poll-joining.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slug: poll-joining-improves-anonymity
title: Poll joining improves anonymity - but wait, there is more!
description: Efficient protocol with more anonimity and no more message trees. Another protocol upgrade from 3327.io kitchen.

Check warning on line 4 in website/blog/2024-08-29-poll-joining.md

View workflow job for this annotation

GitHub Actions / Spell Check with Typos

"anonimity" should be "anonymity".
authors:
name: Aleksandar
title: 3327 Lead Researcher
Expand Down Expand Up @@ -45,4 +45,4 @@
We are not stopping here, more interesting protocol upgrades are on the way that would improve the security of the protocol even further and eliminate another significant concern. Be patient, and enjoy the privacy!

### Who are we?
Visit 3327.io and find out.
Visit 3327.io and find out. Special kudos to our [Mihailo Radojević](https://github.com/radojevicMihailo) and [Boris Cvitak](https://github.com/djanluka) who did a lot of heavy lifting so these cool features could be here today!
djanluka marked this conversation as resolved.
Show resolved Hide resolved
Loading