Skip to content

Commit

Permalink
add K as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-nikolov96 committed Jun 22, 2023
1 parent 7169d1f commit 6264843
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions beacon-light-client/circom/circuits/light_client.circom
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ include "hash_tree_root_beacon_header.circom";
include "ssz_num.circom";
include "../../../vendor/circom-pairing/circuits/bls_signature.circom";

template LightClient(N) {
var K = 7;
template LightClient(N, K) {
signal input prevHeaderHash[256];
signal input nextHeaderHash[256];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ include "is_first.circom";
include "../../../vendor/circom-pairing/circuits/bls_signature.circom";
include "../../../vendor/circom-pairing/circuits/bn254/groth16.circom";

template LightClientRecursive(N) {
var K = 7;
template LightClientRecursive(N, K) {
var pubInpCount = 4;

// BN254 facts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma circom 2.0.3;
pragma circom 2.1.5;

include "hash_two.circom";
include "ssz_num.circom";
Expand Down

0 comments on commit 6264843

Please sign in to comment.