diff --git a/Cargo.lock b/Cargo.lock index b50ab5a4b..b2a2e26e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1777,12 +1777,12 @@ dependencies = [ "hex", "lazy_static", "libfuzzer-sys", - "log", "proptest", "ripemd", "secp256k1", "sha-1", "sha2", + "tracing", "zcash_primitives", ] diff --git a/Cargo.toml b/Cargo.toml index 289c4eeb0..869f818c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,13 +65,13 @@ test-dependencies = [] bitflags = "2.5" enum_primitive = "0.1" libfuzzer-sys = "0.4" -log = "0.4" proptest = "0.9" ripemd = "0.1" secp256k1 = "0.29" sha-1 = "0.10" sha2 = "0.10" -zcash_primitives = "0.17" +tracing = "0.1.39" +zcash_primitives = "0.19" [build-dependencies] # The `bindgen` dependency should automatically upgrade to match the version used by zebra-state's `rocksdb` dependency in: diff --git a/src/lib.rs b/src/lib.rs index c9daf63d7..fc835501a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,11 +15,11 @@ mod zcash_script; use std::os::raw::{c_int, c_uint, c_void}; -use log::warn; +use tracing::warn; use zcash_primitives::transaction::TxVersion; pub use cxx::*; -pub use interpreter::{HashType, SighashCalculator, VerificationFlags}; +pub use interpreter::{HashType, SighashCalculator, SignedOutputs, VerificationFlags}; pub use zcash_script::*; /// A tag to indicate that the C++ implementation of zcash_script should be used.