From 8ca1fcee9200532896a57dc3692dabda5860a3c4 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Jan 2024 20:43:58 +0000 Subject: [PATCH] Migrate to `sapling-crypto 0.1` and `orchard 0.7` --- Cargo.lock | 12 ++++++++---- Cargo.toml | 8 ++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cefa848c02..3dd3a05c34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1475,8 +1475,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "orchard" -version = "0.6.0" -source = "git+https://github.com/zcash/orchard.git?rev=9a85034ce932ca398da16529482e5efecc474c50#9a85034ce932ca398da16529482e5efecc474c50" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92c801aeaccd19bb6916d71f25694b62d223061872900e8022221c1ad8dcad2d" dependencies = [ "aes", "bitvec", @@ -1499,6 +1500,8 @@ dependencies = [ "subtle", "tracing", "zcash_note_encryption", + "zcash_spec", + "zip32", ] [[package]] @@ -2101,8 +2104,9 @@ dependencies = [ [[package]] name = "sapling-crypto" -version = "0.0.1" -source = "git+https://github.com/zcash/sapling-crypto.git?rev=4ec6a48daab0af1fe6cb930f6a150030ce91d0e9#4ec6a48daab0af1fe6cb930f6a150030ce91d0e9" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f5de898a7cdb7f6d9c8fb888341b6ae6e2aeae88227b7f435f1dda49ecf9e62" dependencies = [ "aes", "bellman", diff --git a/Cargo.toml b/Cargo.toml index 6ff571829d..b75438b2fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,11 +49,11 @@ bitvec = "1" blake2s_simd = "1" bls12_381 = "0.8" jubjub = "0.10" -sapling = { package = "sapling-crypto", version = "0.0" } +sapling = { package = "sapling-crypto", version = "0.1" } # - Orchard nonempty = "0.7" -orchard = { version = "0.6", default-features = false } +orchard = { version = "0.7", default-features = false } # - Transparent hdwallet = "0.4" @@ -115,7 +115,3 @@ zip32 = "0.1" lto = true panic = 'abort' codegen-units = 1 - -[patch.crates-io] -sapling = { package = "sapling-crypto", git = "https://github.com/zcash/sapling-crypto.git", rev = "4ec6a48daab0af1fe6cb930f6a150030ce91d0e9" } -orchard = { git = "https://github.com/zcash/orchard.git", rev = "9a85034ce932ca398da16529482e5efecc474c50" }