diff --git a/rln-cli/Cargo.lock b/rln-cli/Cargo.lock index 17da6d6..52a97a0 100644 --- a/rln-cli/Cargo.lock +++ b/rln-cli/Cargo.lock @@ -1045,7 +1045,7 @@ dependencies = [ [[package]] name = "rln" -version = "0.9.0" +version = "1.0.0" dependencies = [ "ark-bn254", "ark-ec", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "zerokit_utils" -version = "0.7.0" +version = "1.0.0" dependencies = [ "ark-ff", "num-bigint", diff --git a/rln-wasm/Cargo.lock b/rln-wasm/Cargo.lock index 58ad830..69199d2 100644 --- a/rln-wasm/Cargo.lock +++ b/rln-wasm/Cargo.lock @@ -1028,7 +1028,7 @@ dependencies = [ [[package]] name = "rln" -version = "0.9.0" +version = "1.0.0" dependencies = [ "ark-bn254", "ark-ec", @@ -1060,7 +1060,7 @@ dependencies = [ [[package]] name = "rln-wasm" -version = "0.3.0" +version = "1.0.0" dependencies = [ "ark-groth16", "ark-relations", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "zerokit_utils" -version = "0.7.0" +version = "1.0.0" dependencies = [ "ark-ff", "num-bigint", diff --git a/rln/README.md b/rln/README.md index d6b902d..f90ecb2 100644 --- a/rln/README.md +++ b/rln/README.md @@ -235,14 +235,16 @@ As mentioned in step 1, we should use `rln.circom` file from `circom-rln` reposi # Clone the circom-witnesscalc repository git clone https://github.com/iden3/circom-witnesscalc -# Load the submodules -cd circom-witnesscalc && git submodule update --init --recursive +# Checkout the specific version and load submodules +cd circom-witnesscalc \ +&& git checkout build-circuit/v0.1.1 \ +&& git submodule update --init --recursive # Build the circom-witnesscalc tool cargo build # Generate the witness calculation graph -cargo run --package circom_witnesscalc --bin build-circuit ../circom-rln/circuits/rln.circom +cargo run -p build-circuit ../circom-rln/circuits/rln.circom ``` The `rln` module comes with [pre-compiled](https://github.com/vacp2p/zerokit/tree/master/rln/resources/tree_depth_20) diff --git a/rln/resources/tree_depth_20/graph.bin b/rln/resources/tree_depth_20/graph.bin index 1e335b7..8895447 100644 Binary files a/rln/resources/tree_depth_20/graph.bin and b/rln/resources/tree_depth_20/graph.bin differ