-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug when template and main component were separated (#3)
* Fixed a bug when template and main component were separated * Updated versions
- Loading branch information
Showing
11 changed files
with
72 additions
and
44 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 |
---|---|---|
@@ -1,10 +1,5 @@ | ||
pragma circom 2.1.8; | ||
|
||
template Multiplier2() { | ||
//Declaration of signals | ||
signal input in1; | ||
signal input in2; | ||
signal output out <== in1 * in2; | ||
} | ||
include "./data/Basic.circom"; | ||
|
||
component main {public [in1,in2]} = Multiplier2(); |
14 changes: 14 additions & 0 deletions
14
test/fixture/credentialAtomicQueryMTPV2OnChainVoting.circom
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pragma circom 2.0.0; | ||
|
||
include "./data/credentialAtomicQueryMTPOnChainVoting.circom"; | ||
|
||
component main{public [requestID, | ||
issuerID, | ||
issuerClaimIdenState, | ||
issuerClaimNonRevState, | ||
timestamp, | ||
isRevocationChecked, | ||
challenge, | ||
gistRoot, | ||
votingAddress, | ||
commitment]} = CredentialAtomicQueryMTPOnChainVoting(40, 32, 1, 40, 64); |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pragma circom 2.1.8; | ||
|
||
template Multiplier2() { | ||
//Declaration of signals | ||
signal input in1; | ||
signal input in2; | ||
signal output out <== in1 * in2; | ||
} |
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