Skip to content

Commit

Permalink
circuit: update circom version to 2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Apr 1, 2024
1 parent a6898e8 commit e5c331c
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable

- name: Download Circom Binary v2.1.5
- name: Download Circom Binary v2.1.8
run: |
wget -qO /home/runner/work/circom https://github.com/iden3/circom/releases/download/v2.1.5/circom-linux-amd64
wget -qO /home/runner/work/circom https://github.com/iden3/circom/releases/download/v2.1.8/circom-linux-amd64
chmod +x /home/runner/work/circom
sudo mv /home/runner/work/circom /bin/circom
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/email-verifier.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/bitify.circom";
include "circomlib/circuits/poseidon.circom";
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/helpers/email-nullifier.circom
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/poseidon.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/base64.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/comparators.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/bigint-func.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

function isNegative(x) {
// half babyjubjub field size
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/bigint.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/comparators.circom";
include "circomlib/circuits/bitify.circom";
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/fp.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/bitify.circom";
include "circomlib/circuits/comparators.circom";
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/rsa.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "./fp.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/lib/sha.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/bitify.circom";
include "circomlib/circuits/sha256/constants.circom";
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/tests/test-circuits/base64-test.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "../../lib/base64.circom";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "../../email-verifier.circom";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "../../email-verifier.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/tests/test-circuits/rsa-test.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "../../lib/rsa.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/tests/test-circuits/sha-test.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "../../lib/sha.circom";

Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/utils/bytes.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/bitify.circom";
include "circomlib/circuits/comparators.circom";
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/utils/constants.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;


function EMAIL_ADDR_MAX_BYTES() {
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/utils/hash.circom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.1.5;
pragma circom 2.1.6;


/// @title PoseidonLarge
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/utils/hex.circom
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

pragma circom 2.1.5;
pragma circom 2.1.6;

include "circomlib/circuits/bitify.circom";
include "circomlib/circuits/comparators.circom";
Expand Down

0 comments on commit e5c331c

Please sign in to comment.