Skip to content

Commit

Permalink
update circom version
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-nikolov96 committed Jun 22, 2023
1 parent c1ee91a commit 3bcfdb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
pragma circom 2.0.3;
pragma circom 2.1.5;

include "hash_two.circom";
include "../../../node_modules/circomlib/circuits/comparators.circom";
include "utils.circom";
include "./utils/arrays.circom";
include "./utils/bits.circom";

template IsValidMerkleBranchOut(N) {
signal input branch[N][256];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include "is_valid_merkle_branch_out.circom";
include "is_valid_merkle_branch.circom";
include "ssz_num.circom";
include "./utils/arrays.circom";
include "./utils/verification.circom";
include "./utils/numerical.circom";

template CalculateBalancesSum(N) {
signal input balances[(N \ 4) + 1][256];
Expand Down Expand Up @@ -87,6 +87,7 @@ template ValidatorBalances(N) {

signal currentEpoch <-- slot \ 32;


signal epochHighestSlot <== currentEpoch * 32;

signal slotLessThan <== LessThanBitsCheck(64)([slot, epochHighestSlot]);
Expand Down

0 comments on commit 3bcfdb1

Please sign in to comment.