diff --git a/Cargo.lock b/Cargo.lock index 04a039bb6a9..98026e02239 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5798,6 +5798,7 @@ dependencies = [ "ff", "fpe", "group", + "hdwallet", "hex", "incrementalmerkletree", "jubjub", @@ -5807,7 +5808,9 @@ dependencies = [ "rand 0.8.5", "rand_core 0.6.4", "redjubjub", + "ripemd", "sapling-crypto", + "secp256k1", "sha2", "subtle", "tracing", @@ -5893,6 +5896,7 @@ dependencies = [ [[package]] name = "zcash_script" version = "0.1.16" +source = "git+https://github.com/ZcashFoundation/zcash_script.git?rev=73f28bed340e698ea0eaad608548508ae4dcbc59#73f28bed340e698ea0eaad608548508ae4dcbc59" dependencies = [ "bindgen", "cc", diff --git a/zebra-chain/src/primitives/zcash_primitives.rs b/zebra-chain/src/primitives/zcash_primitives.rs index 9d9a9caa4f7..5ce3b50ae34 100644 --- a/zebra-chain/src/primitives/zcash_primitives.rs +++ b/zebra-chain/src/primitives/zcash_primitives.rs @@ -3,7 +3,7 @@ use std::{io, ops::Deref}; -use zcash_primitives::transaction as zp_tx; +use zcash_primitives::transaction::{self as zp_tx, TxDigests}; use crate::{ amount::{Amount, NonNegative}, @@ -231,6 +231,41 @@ impl From