diff --git a/Cargo.lock b/Cargo.lock index 89b3fafc7..846bfbe06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1401,7 +1401,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfedac3173d12820a5e0d6cd4de31b49719a74f4a41dc09b6652d0276a3b2cd4" dependencies = [ - "ark-ec", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-std 0.5.0", ] @@ -1412,7 +1412,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" dependencies = [ - "ark-ec", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "ark-std 0.5.0", @@ -1424,12 +1424,24 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d69eab57e8d2663efa5c63135b2af4f396d66424f88954c21104125ab6b3e6bc" dependencies = [ - "ark-ec", + "ark-ec 0.5.0", "ark-ff 0.5.0", - "ark-r1cs-std", + "ark-r1cs-std 0.5.0", "ark-std 0.5.0", ] +[[package]] +name = "ark-bn254" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bc66f96ebe2a17a499475b4f94791d379817592ef494171586967ffdc6f95db" +dependencies = [ + "ark-ec 0.6.0", + "ark-ff 0.6.0", + "ark-r1cs-std 0.6.0", + "ark-std 0.6.0", +] + [[package]] name = "ark-ec" version = "0.5.0" @@ -1438,7 +1450,7 @@ checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" dependencies = [ "ahash 0.8.12", "ark-ff 0.5.0", - "ark-poly", + "ark-poly 0.5.0", "ark-serialize 0.5.0", "ark-std 0.5.0", "educe 0.6.0", @@ -1451,6 +1463,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8352a2b2aedf6ba2cc38f7520fc51191d518dde96175c729af19f2d059f191c4" +dependencies = [ + "ahash 0.8.12", + "ark-ff 0.6.0", + "ark-poly 0.6.0", + "ark-serialize 0.6.0", + "ark-std 0.6.0", + "educe 0.6.0", + "fnv", + "hashbrown 0.17.0", + "itertools 0.14.0", + "num-bigint 0.4.6", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ff" version = "0.3.0" @@ -1509,6 +1542,23 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7a806ac6c8307b929df4645776290a50ee2aac754ad09d8bdf73391309e43af" +dependencies = [ + "ark-ff-asm 0.6.0", + "ark-ff-macros 0.6.0", + "ark-serialize 0.6.0", + "ark-std 0.6.0", + "digest 0.10.7", + "educe 0.6.0", + "num-bigint 0.4.6", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -1539,6 +1589,16 @@ dependencies = [ "syn 2.0.117", ] +[[package]] +name = "ark-ff-asm" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1479009684adc073dff49a1025d3a7065b317a9ead25aaaca38cdc70058ba8a2" +dependencies = [ + "quote", + "syn 2.0.117", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -1577,6 +1637,19 @@ dependencies = [ "syn 2.0.117", ] +[[package]] +name = "ark-ff-macros" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a0691ed21ef00ef89c1e9bda832eba493dda3ec2f8d892fb25b705f73f06bb8" +dependencies = [ + "num-bigint 0.4.6", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.117", +] + [[package]] name = "ark-poly" version = "0.5.0" @@ -1592,15 +1665,30 @@ dependencies = [ "hashbrown 0.15.5", ] +[[package]] +name = "ark-poly" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75f55af10b672002b8d953e230282c51206842e20e5791a94432219b4201de5c" +dependencies = [ + "ahash 0.8.12", + "ark-ff 0.6.0", + "ark-serialize 0.6.0", + "ark-std 0.6.0", + "educe 0.6.0", + "fnv", + "hashbrown 0.17.0", +] + [[package]] name = "ark-r1cs-std" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "941551ef1df4c7a401de7068758db6503598e6f01850bdb2cfdb614a1f9dbea1" dependencies = [ - "ark-ec", + "ark-ec 0.5.0", "ark-ff 0.5.0", - "ark-relations", + "ark-relations 0.5.1", "ark-std 0.5.0", "educe 0.6.0", "num-bigint 0.4.6", @@ -1609,6 +1697,24 @@ dependencies = [ "tracing", ] +[[package]] +name = "ark-r1cs-std" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291f1c6628bfcac79b0dc2adbe401aa9100e2e96daa971645e0b18fc94de9a98" +dependencies = [ + "ark-ec 0.6.0", + "ark-ff 0.6.0", + "ark-relations 0.6.0", + "ark-std 0.6.0", + "educe 0.6.0", + "itertools 0.14.0", + "num-bigint 0.4.6", + "num-integer", + "num-traits", + "tracing", +] + [[package]] name = "ark-relations" version = "0.5.1" @@ -1621,6 +1727,22 @@ dependencies = [ "tracing-subscriber 0.2.25", ] +[[package]] +name = "ark-relations" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4c11c797a64b8a23e22bf4e77bf582ac27bb21395e3183a9a506ba2561e9f9" +dependencies = [ + "ark-ff 0.6.0", + "ark-poly 0.6.0", + "ark-serialize 0.6.0", + "ark-std 0.6.0", + "foldhash 0.1.5", + "indexmap 2.14.0", + "tracing", + "tracing-subscriber 0.3.23", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -1648,13 +1770,26 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.5.0", "ark-std 0.5.0", "arrayvec", "digest 0.10.7", "num-bigint 0.4.6", ] +[[package]] +name = "ark-serialize" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a74dd304fd536fb95d0a328e72be759209cc496a9da094c5bc56e5fea4f9e86b" +dependencies = [ + "ark-serialize-derive 0.6.0", + "ark-std 0.6.0", + "digest 0.10.7", + "num-bigint 0.4.6", + "serde_with", +] + [[package]] name = "ark-serialize-derive" version = "0.5.0" @@ -1666,6 +1801,17 @@ dependencies = [ "syn 2.0.117", ] +[[package]] +name = "ark-serialize-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f153690697a2b91e5e1251ff98411ee5371500a111a0fd317a70e588eb300f9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.117", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -1696,6 +1842,16 @@ dependencies = [ "rand 0.8.6", ] +[[package]] +name = "ark-std" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "367c9c827ed431bff6868b7aa926e05b16eb46603cc8b6e768e4a5553fa1d155" +dependencies = [ + "num-traits", + "rand 0.8.6", +] + [[package]] name = "arrayref" version = "0.3.9" @@ -3211,8 +3367,8 @@ dependencies = [ name = "blueprint-crypto-bn254" version = "0.2.0-alpha.3" dependencies = [ - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "blueprint-crypto-core", @@ -3457,8 +3613,8 @@ dependencies = [ "alloy-signer-gcp", "alloy-signer-ledger", "alloy-signer-local", - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "aws-config", @@ -4066,8 +4222,8 @@ dependencies = [ "alloy-provider", "alloy-signer 1.8.3", "alloy-signer-local", - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-serialize 0.5.0", "axum", "blueprint-client-tangle", @@ -4947,7 +5103,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -5958,8 +6114,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6bd246b39a83f33d854bc465e79dfbf4cea59abf520fa543c6177b994d01663" dependencies = [ "alloy", - "ark-bn254", - "ark-ec", + "ark-bn254 0.5.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "ark-std 0.4.0", @@ -5975,8 +6131,8 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af40eb7c1714b8c8a0009af8a1b06e13cb101244b1aa19371825c1ad950bd1c9" dependencies = [ - "ark-bn254", - "ark-ec", + "ark-bn254 0.5.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "rust-bls-bn254", ] @@ -6039,8 +6195,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d4f7638b9b363c843e0a262b6e19002e08a3e8a5384d2e6396759dc367e06aa" dependencies = [ "alloy", - "ark-bn254", - "ark-ec", + "ark-bn254 0.5.0", + "ark-ec 0.5.0", "async-trait", "eigen-client-avsregistry", "eigen-crypto-bls", @@ -6056,8 +6212,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2200ee8db5024c4fdc382875de9f7d9c6a22e818a68291279cf92bf740be8ec" dependencies = [ "alloy", - "ark-bn254", - "ark-ec", + "ark-bn254 0.5.0", + "ark-ec 0.5.0", "eigen-client-avsregistry", "eigen-common", "eigen-crypto-bls", @@ -7312,6 +7468,9 @@ name = "hashbrown" version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" +dependencies = [ + "allocator-api2", +] [[package]] name = "headers" @@ -8037,8 +8196,8 @@ dependencies = [ "alloy-sol-types", "alloy-transport 1.8.3", "alloy-transport-http 2.0.0", - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "bip39", "blueprint-build-utils", @@ -8075,8 +8234,8 @@ dependencies = [ "alloy-primitives", "alloy-sol-types", "anyhow", - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "axum", @@ -12495,8 +12654,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84ab37c09dbee7ec3b610ecd703c6a79708aef66d52052ee7bfec0bbb9e7a8cd" dependencies = [ "aes", - "ark-bn254", - "ark-ec", + "ark-bn254 0.5.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "ark-std 0.5.0", @@ -14081,10 +14240,10 @@ checksum = "6990a03a2e5c1c972663de4b29d9551aebe1808f46fdf4a46dda76cf6606e120" dependencies = [ "ark-bls12-377", "ark-bls12-381", - "ark-ec", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", - "ark-serialize-derive", + "ark-serialize-derive 0.5.0", "arrayref", "constcat", "digest 0.10.7", @@ -15346,7 +15505,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -15964,8 +16123,8 @@ dependencies = [ "alloy-transport-http 2.0.0", "anyhow", "argon2", - "ark-bn254", - "ark-ec", + "ark-bn254 0.6.0", + "ark-ec 0.5.0", "ark-ff 0.5.0", "ark-serialize 0.5.0", "ark-std 0.5.0", diff --git a/Cargo.toml b/Cargo.toml index fab386f5c..9049d571e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -424,7 +424,7 @@ gcloud-sdk = { version = "0.29", default-features = false } gcp_auth = { version = "0.12" } # Arkworks -ark-bn254 = { version = "0.5.0", default-features = false } +ark-bn254 = { version = "0.6.0", default-features = false } ark-ec = { version = "0.5.0", default-features = false } ark-ff = { version = "0.5.0", default-features = false } ark-serialize = { version = "0.5.0", default-features = false, features = ["derive"] } diff --git a/examples/incredible-squaring/Cargo.toml b/examples/incredible-squaring/Cargo.toml index 83ebcbe69..8df0e4341 100644 --- a/examples/incredible-squaring/Cargo.toml +++ b/examples/incredible-squaring/Cargo.toml @@ -38,7 +38,7 @@ alloy-primitives = { version = "1.2.1", default-features = false } rand = { version = "0.8.5", default-features = false } hex = { version = "0.4.3", default-features = false } -ark-bn254 = { version = "0.5.0", default-features = false } +ark-bn254 = { version = "0.6.0", default-features = false } ark-ec = { version = "0.5.0", default-features = false } ark-ff = { version = "0.5.0", default-features = false } ark-serialize = { version = "0.5.0", default-features = false, features = ["derive"] } diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 77b17ada8..1bf1f0e56 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -39,7 +39,7 @@ alloy-sol-types = { version = "1", features = ["eip712-serde", "json"] } alloy-transport-http = { version = "2", default-features = false, features = ["reqwest", "reqwest-default-tls", "reqwest-rustls-tls"] } anyhow = { version = "1" } argon2 = { version = "0.5", default-features = false, features = ["std"] } -ark-bn254 = { version = "0.5", default-features = false, features = ["curve", "std"] } +ark-bn254 = { version = "0.6", default-features = false, features = ["curve", "std"] } ark-ec = { version = "0.5", default-features = false, features = ["std"] } ark-ff = { version = "0.5", default-features = false, features = ["std"] } ark-serialize = { version = "0.5", features = ["derive", "std"] } @@ -236,7 +236,7 @@ alloy-sol-types = { version = "1", features = ["eip712-serde", "json"] } alloy-transport-http = { version = "2", default-features = false, features = ["reqwest", "reqwest-default-tls", "reqwest-rustls-tls"] } anyhow = { version = "1" } argon2 = { version = "0.5", default-features = false, features = ["std"] } -ark-bn254 = { version = "0.5", default-features = false, features = ["curve", "std"] } +ark-bn254 = { version = "0.6", default-features = false, features = ["curve", "std"] } ark-ec = { version = "0.5", default-features = false, features = ["std"] } ark-ff = { version = "0.5", default-features = false, features = ["std"] } ark-serialize = { version = "0.5", features = ["derive", "std"] }