change(deps): Run `cargo update` (#7429)

* cargo update

* update rustls duplicated dependency version

* replace deprecated function
This commit is contained in:
Alfredo Garcia 2023-08-30 21:49:01 -03:00 committed by GitHub
parent 40c35e2729
commit e567ab812d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 227 additions and 197 deletions

File diff suppressed because it is too large Load Diff

View File

@ -74,7 +74,7 @@ skip-tree = [
# ECC crates
# wait for minreq and zcash_proofs to upgrade
{ name = "rustls", version = "=0.20.8" },
{ name = "rustls", version = "=0.20.9" },
# wait for zcash_proofs to upgrade
{ name = "webpki-roots", version = "=0.22.6" },

View File

@ -44,7 +44,7 @@ pub fn transaction() -> (Transaction, Vec<u8>) {
/// Returns a generated transparent lock time, and its canonical serialized bytes.
pub fn lock_time() -> (LockTime, Vec<u8>) {
let lock_time = LockTime::Time(DateTime::<Utc>::from_utc(
let lock_time = LockTime::Time(DateTime::<Utc>::from_naive_utc_and_offset(
NaiveDateTime::from_timestamp_opt(61, 0)
.expect("in-range number of seconds and valid nanosecond"),
Utc,

View File

@ -222,7 +222,7 @@ fn deserialize_large_transaction() {
transparent::Output::zcash_deserialize(&zebra_test::vectors::DUMMY_OUTPUT1[..]).unwrap();
// Create a lock time.
let lock_time = LockTime::Time(DateTime::<Utc>::from_utc(
let lock_time = LockTime::Time(DateTime::<Utc>::from_naive_utc_and_offset(
NaiveDateTime::from_timestamp_opt(61, 0)
.expect("in-range number of seconds and valid nanosecond"),
Utc,