fix(build): pin ark-circom version and solve local building problem (#285)

ark-circom update their branch to new dependency version and we can't
support it right now. So I pin it on previous commit

also during the local testing I find out that cargo make doesn't work
correctly with new rln-cli examples (it calls "cargo" "build"
"--all-features") and it's wrong behaviour
This commit is contained in:
Ekaterina Broslavskaya
2025-02-25 18:11:25 +07:00
committed by GitHub
parent 8793965650
commit 5c60ec7cce
3 changed files with 10 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -148,7 +148,7 @@ dependencies = [
[[package]]
name = "ark-circom"
version = "0.1.0"
source = "git+https://github.com/gakonst/ark-circom.git#7f80002b525c0ebc96b18fb1edcd731e4e4dd679"
source = "git+https://github.com/gakonst/ark-circom.git?rev=7f80002#7f80002b525c0ebc96b18fb1edcd731e4e4dd679"
dependencies = [
"ark-bn254",
"ark-crypto-primitives",

8
rln-cli/Makefile.toml Normal file
View File

@@ -0,0 +1,8 @@
[tasks.build]
command = "cargo"
args = ["build", "--release"]
[tasks.test]
command = "cargo"
args = ["test", "--release"]

View File

@@ -31,7 +31,7 @@ ark-relations = { version = "=0.4.0", default-features = false, features = [
ark-serialize = { version = "=0.4.2", default-features = false }
# v0.5.0 use all other ark 0.5.0 versions and they are not compatible with current code.
# master branch contains commit with compatible version
ark-circom = { git = "https://github.com/gakonst/ark-circom.git" }
ark-circom = { git = "https://github.com/gakonst/ark-circom.git", rev = "7f80002" }
# error handling
color-eyre = "0.6.2"