From 9d8124ac9dfe76fac0249ebc61e4a1d8eb30774e Mon Sep 17 00:00:00 2001 From: "sinu.eth" <65924192+sinui0@users.noreply.github.com> Date: Thu, 21 Aug 2025 09:46:29 -0700 Subject: [PATCH] chore: bump mpz to 1b00912 (#970) --- Cargo.lock | 46 +++++++++++++++++++----------------------- Cargo.toml | 26 ++++++++++++------------ crates/tlsn/Cargo.toml | 3 +-- 3 files changed, 35 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8090c2aa5..cc07b0f5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1698,7 +1698,7 @@ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" [[package]] name = "clmul" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "bytemuck", "cfg-if", @@ -3640,7 +3640,7 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "matrix-transpose" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "thiserror 1.0.69", ] @@ -3696,7 +3696,7 @@ dependencies = [ [[package]] name = "mpz-circuits" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "bincode", "itybity 0.3.1", @@ -3712,7 +3712,7 @@ dependencies = [ [[package]] name = "mpz-cointoss" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "futures", "mpz-cointoss-core", @@ -3725,7 +3725,7 @@ dependencies = [ [[package]] name = "mpz-cointoss-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "mpz-core", "opaque-debug", @@ -3736,17 +3736,15 @@ dependencies = [ [[package]] name = "mpz-common" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "bytes", "cfg-if", "crossbeam-channel", "futures", - "mpz-core", "pin-project-lite", "pollster", - "rayon", "serde", "serio", "thiserror 1.0.69", @@ -3758,7 +3756,7 @@ dependencies = [ [[package]] name = "mpz-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "aes 0.9.0-rc.0", "bcs", @@ -3784,7 +3782,7 @@ dependencies = [ [[package]] name = "mpz-fields" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "ark-ff 0.4.2", "ark-secp256r1", @@ -3804,13 +3802,12 @@ dependencies = [ [[package]] name = "mpz-garble" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "derive_builder 0.11.2", "futures", "hashbrown 0.14.5", - "itybity 0.3.1", "mpz-circuits", "mpz-common", "mpz-core", @@ -3831,7 +3828,7 @@ dependencies = [ [[package]] name = "mpz-garble-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "aes 0.9.0-rc.0", "bitvec", @@ -3862,7 +3859,7 @@ dependencies = [ [[package]] name = "mpz-hash" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "itybity 0.3.1", "mpz-circuits", @@ -3874,7 +3871,7 @@ dependencies = [ [[package]] name = "mpz-memory-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "blake3", "futures", @@ -3889,7 +3886,7 @@ dependencies = [ [[package]] name = "mpz-ole" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "futures", @@ -3907,7 +3904,7 @@ dependencies = [ [[package]] name = "mpz-ole-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "hybrid-array", "itybity 0.3.1", @@ -3923,7 +3920,7 @@ dependencies = [ [[package]] name = "mpz-ot" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "cfg-if", @@ -3938,7 +3935,6 @@ dependencies = [ "rand 0.9.1", "rand_chacha 0.9.0", "rand_core 0.9.3", - "rayon", "serio", "thiserror 1.0.69", "tokio", @@ -3947,7 +3943,7 @@ dependencies = [ [[package]] name = "mpz-ot-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "aes 0.9.0-rc.0", "blake3", @@ -3978,7 +3974,7 @@ dependencies = [ [[package]] name = "mpz-share-conversion" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "mpz-common", @@ -3994,7 +3990,7 @@ dependencies = [ [[package]] name = "mpz-share-conversion-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "mpz-common", "mpz-core", @@ -4008,7 +4004,7 @@ dependencies = [ [[package]] name = "mpz-vm-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "futures", @@ -4021,7 +4017,7 @@ dependencies = [ [[package]] name = "mpz-zk" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "async-trait", "blake3", @@ -4038,7 +4034,7 @@ dependencies = [ [[package]] name = "mpz-zk-core" version = "0.1.0-alpha.3" -source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=ccc0057#ccc00572f35c589706ca6be0e2e8749eb9b4414a" +source = "git+https://github.com/privacy-scaling-explorations/mpz?rev=1b00912#1b009126e123128f3e3176b9869e860071fabd1b" dependencies = [ "blake3", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 44b6b0d82..25ce3a838 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,19 +64,19 @@ tlsn-harness-runner = { path = "crates/harness/runner" } tlsn-wasm = { path = "crates/wasm" } tlsn = { path = "crates/tlsn" } -mpz-circuits = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-memory-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-common = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-vm-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-garble = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-garble-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-ole = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-ot = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-share-conversion = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-fields = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-zk = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } -mpz-hash = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "ccc0057" } +mpz-circuits = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-memory-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-common = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-vm-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-garble = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-garble-core = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-ole = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-ot = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-share-conversion = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-fields = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-zk = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } +mpz-hash = { git = "https://github.com/privacy-scaling-explorations/mpz", rev = "1b00912" } rangeset = { version = "0.2" } serio = { version = "0.2" } diff --git a/crates/tlsn/Cargo.toml b/crates/tlsn/Cargo.toml index 4506ebafc..25480bf64 100644 --- a/crates/tlsn/Cargo.toml +++ b/crates/tlsn/Cargo.toml @@ -12,8 +12,7 @@ workspace = true [features] default = ["rayon"] -rayon = ["mpz-common/rayon"] -force-st = ["mpz-common/force-st"] +rayon = ["mpz-zk/rayon", "mpz-garble/rayon"] web = ["dep:web-spawn"] [dependencies]