Skip to content

Conversation

@irubido
Copy link
Contributor

@irubido irubido commented Nov 21, 2025

Closes #120

@ec2 ec2 force-pushed the ec2/point-upstream branch from 4dba630 to 873f236 Compare November 26, 2025 01:00
@ec2
Copy link
Collaborator

ec2 commented Nov 26, 2025

Should compile now, but tests will almost certainly fail because this hasnt been implemented:
https://github.com/zcash/librustzcash/blob/main/zcash_client_memory/src/wallet_read.rs#L729

.read()
.await
.get_target_and_anchor_heights(self.min_confirmations)?
.get_target_and_anchor_heights(self.min_confirmations.trusted())?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be untrusted because you don't know the source of the outputs you'll be spending. See https://zips.z.cash/zip-0315

zcash_keys = { git = "https://github.com/zcash/librustzcash", rev = "a40ee353bba84d1cb3eaf1889df433d3be9c79e5", features = ["transparent-inputs", "orchard", "sapling", "unstable"] }
zcash_client_backend = { git = "https://github.com/zcash/librustzcash", rev = "a40ee353bba84d1cb3eaf1889df433d3be9c79e5", default-features = false, features = ["sync", "lightwalletd-tonic", "orchard"] }
zcash_client_memory = { git = "https://github.com/zcash/librustzcash", rev = "a40ee353bba84d1cb3eaf1889df433d3be9c79e5", features = ["orchard", "transparent-inputs"] }
zcash_primitives = { git = "https://github.com/zcash/librustzcash", rev = "a40ee353bba84d1cb3eaf1889df433d3be9c79e5" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@irubido is there a reason why you are pointing to this commit and not versions of the crates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Librustzcash dependencies to latest versions

4 participants