From 2584ef16b96ae0747fcd23d66d04d65e520f7838 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Wed, 29 Jan 2025 14:01:37 -0800 Subject: [PATCH] fix: stark-sdk --- Cargo.lock | 96 +++++++++++++++++------------------ tests/openvm/tests/Cargo.toml | 8 +-- 2 files changed, 50 insertions(+), 54 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27d4aaa3..4caeea0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3580,8 +3580,8 @@ dependencies = [ "openvm-mod-circuit-builder", "openvm-rv32-adapters", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "serde-big-array", @@ -3634,7 +3634,7 @@ dependencies = [ "openvm-algebra-guest", "openvm-instructions", "openvm-instructions-derive", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -3657,8 +3657,8 @@ dependencies = [ "openvm-rv32-adapters", "openvm-rv32im-circuit", "openvm-rv32im-transpiler", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", ] @@ -3685,7 +3685,7 @@ dependencies = [ "openvm-instructions", "openvm-instructions-derive", "openvm-rv32im-transpiler", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -3728,8 +3728,8 @@ dependencies = [ "openvm-circuit-primitives-derive", "openvm-instructions", "openvm-poseidon2-air", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "p3-baby-bear 0.1.0", "p3-symmetric 0.1.0", "rand", @@ -3766,7 +3766,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "openvm-circuit-primitives-derive", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "tracing", ] @@ -3817,7 +3817,7 @@ dependencies = [ "openvm-mod-circuit-builder", "openvm-rv32-adapters", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "serde", "serde_with", "strum", @@ -3867,7 +3867,7 @@ dependencies = [ "openvm-ecc-guest", "openvm-instructions", "openvm-instructions-derive", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -3884,7 +3884,7 @@ dependencies = [ "num-bigint 0.4.6", "num-traits", "openvm-instructions-derive", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "serde", "strum", "strum_macros", @@ -3918,8 +3918,8 @@ dependencies = [ "openvm-instructions", "openvm-keccak256-transpiler", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "p3-keccak-air", "rand", "serde", @@ -3947,7 +3947,7 @@ dependencies = [ "openvm-instructions", "openvm-instructions-derive", "openvm-keccak256-guest", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -3972,8 +3972,8 @@ dependencies = [ "openvm-circuit", "openvm-circuit-primitives", "openvm-instructions", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "serde_with", @@ -3998,8 +3998,8 @@ dependencies = [ "openvm-native-compiler", "openvm-poseidon2-air", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "serde-big-array", @@ -4022,8 +4022,8 @@ dependencies = [ "openvm-instructions-derive", "openvm-native-compiler-derive", "openvm-rv32im-transpiler", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "serde", "snark-verifier-sdk", "strum", @@ -4054,8 +4054,8 @@ dependencies = [ "openvm-native-circuit", "openvm-native-compiler", "openvm-native-compiler-derive", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "p3-dft 0.1.0", "p3-fri", "p3-merkle-tree", @@ -4092,7 +4092,7 @@ dependencies = [ "openvm-pairing-transpiler", "openvm-rv32-adapters", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "strum", @@ -4131,7 +4131,7 @@ dependencies = [ "openvm-instructions", "openvm-instructions-derive", "openvm-pairing-guest", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -4158,8 +4158,8 @@ dependencies = [ "itertools 0.13.0", "lazy_static", "openvm-circuit-primitives", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "p3-monty-31", "p3-poseidon2 0.1.0", "p3-poseidon2-air", @@ -4181,8 +4181,8 @@ dependencies = [ "openvm-circuit-primitives-derive", "openvm-instructions", "openvm-rv32im-circuit", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "serde-big-array", @@ -4209,7 +4209,7 @@ dependencies = [ "openvm-circuit-primitives-derive", "openvm-instructions", "openvm-rv32im-transpiler", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "serde-big-array", @@ -4234,7 +4234,7 @@ dependencies = [ "openvm-instructions", "openvm-instructions-derive", "openvm-rv32im-guest", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "serde", @@ -4277,8 +4277,8 @@ dependencies = [ "openvm-rv32im-transpiler", "openvm-sha256-circuit", "openvm-sha256-transpiler", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "serde", "static_assertions", @@ -4291,7 +4291,7 @@ version = "1.0.0-rc.0" source = "git+https://github.com/openvm-org/openvm.git?rev=442a9df3937fc47f64b6be8552b6be743c017092#442a9df3937fc47f64b6be8552b6be743c017092" dependencies = [ "openvm-circuit-primitives", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "sha2", ] @@ -4312,8 +4312,8 @@ dependencies = [ "openvm-rv32im-circuit", "openvm-sha256-air", "openvm-sha256-transpiler", - "openvm-stark-backend 1.0.0-rc.0", - "openvm-stark-sdk 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rand", "serde", "sha2", @@ -4338,7 +4338,7 @@ dependencies = [ "openvm-instructions", "openvm-instructions-derive", "openvm-sha256-guest", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "openvm-transpiler", "rrs-lib", "strum", @@ -4346,14 +4346,15 @@ dependencies = [ [[package]] name = "openvm-stark-backend" -version = "0.4.0-alpha" -source = "git+https://github.com/openvm-org/stark-backend.git?tag=v0.4.0-alpha#c7c12430185d29b06b26b053a940749d0d853833" +version = "1.0.0-rc.0" +source = "git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" dependencies = [ "async-trait", "cfg-if", "derivative", "derive-new 0.7.0", "itertools 0.13.0", + "mimalloc", "p3-air", "p3-challenger", "p3-commit", @@ -4372,14 +4373,13 @@ dependencies = [ [[package]] name = "openvm-stark-backend" version = "1.0.0-rc.0" -source = "git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" +source = "git+https://github.com/openvm-org/stark-backend.git?rev=18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" dependencies = [ "async-trait", "cfg-if", "derivative", "derive-new 0.7.0", "itertools 0.13.0", - "mimalloc", "p3-air", "p3-challenger", "p3-commit", @@ -4397,8 +4397,8 @@ dependencies = [ [[package]] name = "openvm-stark-sdk" -version = "0.4.0-alpha" -source = "git+https://github.com/openvm-org/stark-backend.git?tag=v0.4.0-alpha#c7c12430185d29b06b26b053a940749d0d853833" +version = "1.0.0-rc.0" +source = "git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" dependencies = [ "derivative", "derive_more 0.99.18", @@ -4407,7 +4407,7 @@ dependencies = [ "metrics", "metrics-tracing-context", "metrics-util", - "openvm-stark-backend 0.4.0-alpha", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "p3-baby-bear 0.1.0", "p3-blake3", "p3-bn254-fr", @@ -4433,7 +4433,7 @@ dependencies = [ [[package]] name = "openvm-stark-sdk" version = "1.0.0-rc.0" -source = "git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" +source = "git+https://github.com/openvm-org/stark-backend.git?rev=18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f#18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" dependencies = [ "derivative", "derive_more 0.99.18", @@ -4442,7 +4442,7 @@ dependencies = [ "metrics", "metrics-tracing-context", "metrics-util", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?rev=18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f)", "p3-baby-bear 0.1.0", "p3-blake3", "p3-bn254-fr", @@ -4485,7 +4485,7 @@ dependencies = [ "openvm-pairing-transpiler", "openvm-rv32im-transpiler", "openvm-sdk", - "openvm-stark-sdk 0.4.0-alpha", + "openvm-stark-sdk 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?rev=18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f)", "openvm-transpiler", "revm-primitives 9.0.1", ] @@ -4500,7 +4500,7 @@ dependencies = [ "eyre", "openvm-instructions", "openvm-platform", - "openvm-stark-backend 1.0.0-rc.0", + "openvm-stark-backend 1.0.0-rc.0 (git+https://github.com/openvm-org/stark-backend.git?tag=v1.0.0-rc.0)", "rrs-lib", "strum", "thiserror 1.0.69", diff --git a/tests/openvm/tests/Cargo.toml b/tests/openvm/tests/Cargo.toml index 5f1bfc5d..876de38b 100644 --- a/tests/openvm/tests/Cargo.toml +++ b/tests/openvm/tests/Cargo.toml @@ -18,12 +18,8 @@ openvm-algebra-transpiler = { git = "https://github.com/openvm-org/openvm.git", openvm-ecc-circuit = { git = "https://github.com/openvm-org/openvm.git", rev = "442a9df3937fc47f64b6be8552b6be743c017092" } openvm-ecc-transpiler = { git = "https://github.com/openvm-org/openvm.git", rev = "442a9df3937fc47f64b6be8552b6be743c017092" } openvm-pairing-circuit = { git = "https://github.com/openvm-org/openvm.git", rev = "442a9df3937fc47f64b6be8552b6be743c017092" } -openvm-circuit = { git = "https://github.com/openvm-org/openvm.git", rev = "442a9df3937fc47f64b6be8552b6be743c017092", features = [ - "test-utils", - "parallel", - "mimalloc", -] } -openvm-stark-sdk = { git = "https://github.com/openvm-org/stark-backend.git", tag = "v0.4.0-alpha" } +openvm-circuit = { git = "https://github.com/openvm-org/openvm.git", rev = "442a9df3937fc47f64b6be8552b6be743c017092", features = ["test-utils", "parallel", "mimalloc"] } +openvm-stark-sdk = { git = "https://github.com/openvm-org/stark-backend.git", rev = "18cf1c084ebeb3ca1163e55b87893f1d1fd7fc1f" } num-bigint = { version = "0.4", default-features = false } num-traits = { version = "0.2", default-features = false }