Skip to content

Commit 117fe7d

Browse files
Use poseidon from crates.io (#1063)
* Use poseidon from crates.io * default-features = false
1 parent 4330abd commit 117fe7d

6 files changed

Lines changed: 24 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/cliain/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pallets/baby-liminal/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ ark-groth16 = { version = "^0.3.0", default-features = false }
2727
ark-gm17 = { version = "^0.3.0", default-features = false }
2828
ark-marlin = { version = "^0.3.0", default-features = false }
2929

30+
liminal-ark-poseidon = { version = "0.1.0", default-features = false, optional = true }
31+
3032
frame-benchmarking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38", optional = true }
3133
frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
3234
frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
3335
sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
3436
sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
3537
sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
3638

37-
liminal-ark-poseidon = { path = "../../poseidon", default-features = false, optional = true }
3839
primitives = { path = "../../primitives", default-features = false }
3940

4041
[dev-dependencies]
@@ -73,11 +74,11 @@ std = [
7374
"primitives/std",
7475
]
7576
runtime-benchmarks = [
77+
"liminal-ark-poseidon",
7678
"frame-benchmarking/runtime-benchmarks",
7779
"frame-support/runtime-benchmarks",
7880
"frame-system/runtime-benchmarks",
7981
"sp-runtime/runtime-benchmarks",
80-
"liminal-ark-poseidon",
8182
]
8283
try-runtime = [
8384
"frame-support/try-runtime",

primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryp
1919

2020
# Liminal-related dependencies
2121
sp-runtime-interface = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38", default-features = false, optional = true }
22-
liminal-ark-poseidon = { path = "../poseidon", default-features = false, optional = true }
22+
liminal-ark-poseidon = { version = "0.1.0", default-features = false, optional = true }
2323

2424
[features]
2525
default = ["std"]

relations/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

relations/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ ark-serialize = { version = "^0.3.0", default-features = false }
2727
ark-snark = { version = "^0.3.0", default-features = false }
2828
ark-std = { version = "^0.3.0", default-features = false }
2929
blake2 = { version = "0.9.2", default-features = false }
30+
liminal-ark-poseidon = { version = "0.1.0", default-features = false, features = ["circuit"] }
3031
liminal-ark-relation-macro = { version = "0.1.1" }
3132
paste = { version = "1.0.11" }
3233

33-
liminal-ark-poseidon = { path = "../poseidon", default-features = false, features = ["circuit"] }
34-
3534
[dev-dependencies]
3635
criterion = "0.3"
3736

0 commit comments

Comments
 (0)