From a28e5773347fc0c21a39ae97a0e92ffe34f3c242 Mon Sep 17 00:00:00 2001 From: parazyd Date: Tue, 26 Apr 2022 17:23:22 +0200 Subject: [PATCH] halo2: Temporary upstream replacement for some Clone impls. --- Cargo.lock | 6 ++---- Cargo.toml | 7 +++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f37f952f9..9582b6caf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1970,8 +1970,7 @@ dependencies = [ [[package]] name = "halo2_gadgets" version = "0.1.0-beta.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7524b798b8b3689a198cd87ee1d22fe3ca007a51d35c4093f32d75c0efc30abe" +source = "git+https://github.com/parazyd/halo2?branch=clone-impls-keys#a6d7785ddc86e897b917d8450055d0d6b2494b5d" dependencies = [ "arrayvec 0.7.2", "bitvec 0.22.3", @@ -1990,8 +1989,7 @@ dependencies = [ [[package]] name = "halo2_proofs" version = "0.1.0-beta.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0240b05b791cccfd6451b010b19711280e63b87f495bd84df0103f35c9139e7" +source = "git+https://github.com/parazyd/halo2?branch=clone-impls-keys#a6d7785ddc86e897b917d8450055d0d6b2494b5d" dependencies = [ "backtrace", "blake2b_simd 1.0.0", diff --git a/Cargo.toml b/Cargo.toml index ec28b07b0..8061a6427 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -114,8 +114,11 @@ blake2b_simd = {version = "1.0.0", optional = true} pasta_curves = {version = "0.3.1", optional = true} crypto_api_chachapoly = {version = "0.5.0", optional = true} incrementalmerkletree = {version = "0.3.0-beta.2", optional = true} -halo2_proofs = {version = "0.1.0-beta.4", features = ["dev-graph", "gadget-traces", "sanity-checks"], optional = true} -halo2_gadgets = {version = "0.1.0-beta.3", features = ["dev-graph", "test-dependencies"], optional = true} +#halo2_proofs = {version = "0.1.0-beta.4", features = ["dev-graph", "gadget-traces", "sanity-checks"], optional = true} +#halo2_gadgets = {version = "0.1.0-beta.3", features = ["dev-graph", "test-dependencies"], optional = true} +halo2_proofs = {git = "https://github.com/parazyd/halo2", branch = "clone-impls-keys", features = ["dev-graph", "gadget-traces", "sanity-checks"], optional = true} +halo2_gadgets = {git = "https://github.com/parazyd/halo2", branch = "clone-impls-keys", features = ["dev-graph", "test-dependencies"], optional = true} + # Smart contract runtime drk-sdk = {path = "src/sdk", optional = true}