Skip to content

Commit

Permalink
Use poseidon from crates.io (#1063)
Browse files Browse the repository at this point in the history
* Use poseidon from crates.io

* default-features = false
  • Loading branch information
pmikolajczyk41 authored Mar 21, 2023
1 parent 4330abd commit 117fe7d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
17 changes: 15 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions bin/cliain/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pallets/baby-liminal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ ark-groth16 = { version = "^0.3.0", default-features = false }
ark-gm17 = { version = "^0.3.0", default-features = false }
ark-marlin = { version = "^0.3.0", default-features = false }

liminal-ark-poseidon = { version = "0.1.0", default-features = false, optional = true }

frame-benchmarking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38", optional = true }
frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }
sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.38" }

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

[dev-dependencies]
Expand Down Expand Up @@ -73,11 +74,11 @@ std = [
"primitives/std",
]
runtime-benchmarks = [
"liminal-ark-poseidon",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"liminal-ark-poseidon",
]
try-runtime = [
"frame-support/try-runtime",
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryp

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

[features]
default = ["std"]
Expand Down
2 changes: 2 additions & 0 deletions relations/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions relations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ ark-serialize = { version = "^0.3.0", default-features = false }
ark-snark = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
blake2 = { version = "0.9.2", default-features = false }
liminal-ark-poseidon = { version = "0.1.0", default-features = false, features = ["circuit"] }
liminal-ark-relation-macro = { version = "0.1.1" }
paste = { version = "1.0.11" }

liminal-ark-poseidon = { path = "../poseidon", default-features = false, features = ["circuit"] }

[dev-dependencies]
criterion = "0.3"

Expand Down

0 comments on commit 117fe7d

Please sign in to comment.