-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make nullifier not leak identity between polls
- Loading branch information
Showing
12 changed files
with
41 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,8 @@ contract PollFactory is Params, DomainObjs, IPollFactory { | |
uint8 _messageBatchSize, | ||
DomainObjs.PubKey calldata _coordinatorPubKey, | ||
Params.ExtContracts calldata _extContracts, | ||
uint256 _emptyBallotRoot | ||
uint256 _emptyBallotRoot, | ||
Check warning Code scanning / Slither Conformance to Solidity naming conventions Warning |
||
uint256 _pollId | ||
Check warning Code scanning / Slither Conformance to Solidity naming conventions Warning
Parameter PollFactory.deploy(uint256,Params.TreeDepths,uint8,DomainObjs.PubKey,Params.ExtContracts,uint256,uint256)._pollId is not in mixedCase
|
||
) public virtual returns (address pollAddr) { | ||
// deploy the poll | ||
Poll poll = new Poll( | ||
|
@@ -30,7 +31,8 @@ contract PollFactory is Params, DomainObjs, IPollFactory { | |
_messageBatchSize, | ||
_coordinatorPubKey, | ||
_extContracts, | ||
_emptyBallotRoot | ||
_emptyBallotRoot, | ||
_pollId | ||
); | ||
|
||
// init Poll | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters