Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poseidon377: arkworks v0.5 #65

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions poseidon-consistency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ poseidon-parameters = { path = "../poseidon-parameters", default-features = fals
#poseidon-paramgen = { path = "../poseidon-paramgen", default-features = false }
poseidon377 = { path = "../poseidon377", default-features = false }
poseidon-permutation = { path="../poseidon-permutation", default-features = false }
decaf377 = { version="0.10.1", default-features = false }
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }

[dev-dependencies]
criterion = { version = "0.4", features=["html_reports"] }
ark-ff = "0.4"
ark-ed-on-bls12-377 = "0.4"
ark-ff = "0.5"
ark-ed-on-bls12-377 = "0.5"
num-bigint = "0.4"
proptest = "1"
rand_core = { version = "0.6.3", default-features=false }
Expand Down
2 changes: 1 addition & 1 deletion poseidon-parameters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["no_std"]
repository = "https://github.com/penumbra-zone/poseidon377"

[dependencies]
decaf377 = { version="0.10.1", default-features = false }
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }

[features]
default = ["std"]
Expand Down
12 changes: 6 additions & 6 deletions poseidon-paramgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repository = "https://github.com/penumbra-zone/poseidon377"

[dependencies]
anyhow = { version = "1", default-features = false }
ark-ff = { version = "0.4", default-features = false }
ark-std = { version = "0.4", default-features = false }
ark-ff = { version = "0.5", default-features = false }
ark-std = { version = "0.5", default-features = false }
getrandom = { version = "0.2", default-features = false, features = ["js"] }
merlin = { version = "3.0", default-features = false }
num = { version = "0.4", default-features = false }
Expand All @@ -20,10 +20,10 @@ num-bigint = { version = "0.4", default-features = false }
poseidon-parameters = { path = "../poseidon-parameters", default-features = false, version = "1.0" }

[dev-dependencies]
decaf377 = { version="0.10.1", default-features = false }
ark-bn254 = "0.4"
ark-ed-on-bls12-377 = "0.4"
ark-ed-on-bls12-381 = "0.4"
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }
ark-bn254 = "0.5"
ark-ed-on-bls12-377 = "0.5"
ark-ed-on-bls12-381 = "0.5"

[features]
default = ["std"]
Expand Down
10 changes: 5 additions & 5 deletions poseidon-permutation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/penumbra-zone/poseidon377"

[dependencies]
decaf377 = { version="0.10.1", default-features = false }
ark-ff = { version = "0.4", default-features = false, optional=true }
ark-std = { version = "^0.4.0", default-features = false, optional=true }
ark-r1cs-std = {version = "0.4", default-features = false, optional=true }
ark-relations = { version="0.4", default-features = false, optional=true }
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }
ark-ff = { version = "0.5", default-features = false, optional=true }
ark-std = { version = "^0.5.0", default-features = false, optional=true }
ark-r1cs-std = {version = "0.5", default-features = false, optional=true }
ark-relations = { version="0.5", default-features = false, optional=true }

poseidon-parameters = { path = "../poseidon-parameters", default-features = false, version = "1.1" }

Expand Down
22 changes: 11 additions & 11 deletions poseidon-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ repository = "https://github.com/penumbra-zone/poseidon377"
poseidon-parameters = { path = "../poseidon-parameters", default-features = false }
#poseidon-paramgen = { path = "../poseidon-paramgen", default-features = false }
poseidon-permutation = { path="../poseidon-permutation", default-features = false }
decaf377 = { version="0.10.1", default-features = false }
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }
poseidon377 = { path="../poseidon377", features = ["r1cs"] }

[dev-dependencies]
ark-ff = { version = "^0.4.0", default-features = false }
ark-ed-on-bls12-377 = { version="0.4", default-features = false }
ark-ff = { version = "^0.5.0", default-features = false }
ark-ed-on-bls12-377 = { version="0.5", default-features = false }
proptest = "1"
ark-ed-on-bls12-381 = "0.4"
ark-ed-on-bls12-381 = "0.5"
rand_core = { version = "0.6.3", default-features=false }
rand_chacha = "0.3"
ark-groth16 = { version = "0.4", default-features = false }
ark-r1cs-std = {version = "0.4", default-features = false }
ark-relations = { version="0.4", default-features = false }
ark-snark = { version = "0.4", default-features = false }
ark-ec = { version = "0.4", default_features = false }
ark-std = { version = "0.4", default-features = false }
ark-serialize = { version = "0.4", default_features = false }
ark-groth16 = { version = "0.5", default-features = false }
ark-r1cs-std = {version = "0.5", default-features = false }
ark-relations = { version="0.5", default-features = false }
ark-snark = { version = "0.5", default-features = false }
ark-ec = { version = "0.5", default_features = false }
ark-std = { version = "0.5", default-features = false }
ark-serialize = { version = "0.5", default_features = false }
18 changes: 9 additions & 9 deletions poseidon377/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/penumbra-zone/poseidon377"

[dependencies]
decaf377 = { version = "0.10.1", default-features = false }
decaf377 = { default-features = false, git = "https://github.com/penumbra-zone/decaf377", branch = "arkworks-0.5" }
poseidon-parameters = { version = "1.1", path = "../poseidon-parameters", default-features = false }
poseidon-permutation = { version = "1.1", path = "../poseidon-permutation", default-features = false }

ark-ff = { version = "0.4", default-features = false, optional = true }
ark-groth16 = { version = "0.4", default-features = false, optional = true }
ark-r1cs-std = { version = "0.4", default-features = false, optional = true }
ark-relations = { version = "0.4", default-features = false, optional = true }
ark-snark = { version = "0.4", default-features = false, optional = true }
ark-ec = { version = "0.4", default_features = false, optional = true }
ark-std = { version = "0.4", default-features = false, optional = true }
ark-serialize = { version = "0.4", default_features = false, optional = true }
ark-ff = { version = "0.5", default-features = false, optional = true }
ark-groth16 = { version = "0.5", default-features = false, optional = true }
ark-r1cs-std = { version = "0.5", default-features = false, optional = true }
ark-relations = { version = "0.5", default-features = false, optional = true }
ark-snark = { version = "0.5", default-features = false, optional = true }
ark-ec = { version = "0.5", default_features = false, optional = true }
ark-std = { version = "0.5", default-features = false, optional = true }
ark-serialize = { version = "0.5", default_features = false, optional = true }

[features]
default = ["arkworks"]
Expand Down
Loading