New versions of librustzcash. Please review.
github-actions opened this issue · 0 comments
github-actions commented
error[E0599]: no method named `derive_external_secret_key` found for struct `AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/secp256k1.rs:10:31
|
10 | let secp_secret_key = apk.derive_external_secret_key(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
error[E0599]: no method named `derive_external_secret_key` found for reference `&AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/transaction.rs:84:40
|
84 | let secret_key = key.transparent().derive_external_secret_key(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
error[E0599]: no method named `derive_external_secret_key` found for reference `&AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/transaction.rs:120:40
|
120 | let secret_key = key.transparent().derive_external_secret_key(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
error[E0599]: no method named `derive_external_secret_key` found for reference `&AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/transaction.rs:164:40
|
164 | let secret_key = key.transparent().derive_external_secret_key(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
error[E0599]: no method named `derive_external_secret_key` found for reference `&AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/transaction.rs:200:40
|
200 | let secret_key = key.transparent().derive_external_secret_key(0).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
error[E0599]: no method named `derive_external_secret_key` found for struct `AccountPrivKey` in the current scope
--> uniffi-zcash-test/src/test_data/zcash_primitives.rs:23:78
|
23 | writeln!(file, "{}", format_bytes("apk_derive_external_secret_key", &apk.derive_external_secret_key(0).unwrap().serialize_secret())).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `derive_external_secret_keyy`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `uniffi-zcash-test` (lib) due to 6 previous errors
zcash_address
Removed items from the public API
=================================
(none)
Changed items in the public API
===============================
(none)
Added items to the public API
=============================
(none)
zcash_client_backend
Removed items from the public API
=================================
-pub zcash_client_backend::data_api::SentTransactionOutput::memo: core::option::Option<zcash_primitives::memo::MemoBytes>
-pub zcash_client_backend::data_api::SentTransactionOutput::output_index: usize
-pub zcash_client_backend::data_api::SentTransactionOutput::recipient: zcash_client_backend::data_api::Recipient
-pub zcash_client_backend::data_api::SentTransactionOutput::value: zcash_primitives::transaction::components::amount::Amount
-pub fn zcash_client_backend::data_api::WalletWrite::rewind_to_height(&mut self, block_height: zcash_primitives::consensus::BlockHeight) -> core::result::Result<(), Self::Error>
-pub struct zcash_client_backend::wallet::WalletShieldedOutput<N>
-pub zcash_client_backend::wallet::WalletShieldedOutput::account: zcash_primitives::zip32::AccountId
-pub zcash_client_backend::wallet::WalletShieldedOutput::cmu: zcash_primitives::sapling::note::commitment::ExtractedNoteCommitment
-pub zcash_client_backend::wallet::WalletShieldedOutput::ephemeral_key: zcash_note_encryption::EphemeralKeyBytes
-pub zcash_client_backend::wallet::WalletShieldedOutput::index: usize
-pub zcash_client_backend::wallet::WalletShieldedOutput::is_change: bool
-pub zcash_client_backend::wallet::WalletShieldedOutput::nf: N
-pub zcash_client_backend::wallet::WalletShieldedOutput::note: zcash_primitives::sapling::note::Note
-pub zcash_client_backend::wallet::WalletShieldedOutput::to: zcash_primitives::sapling::address::PaymentAddress
-pub zcash_client_backend::wallet::WalletShieldedOutput::witness: zcash_primitives::merkle_tree::IncrementalWitness<zcash_primitives::sapling::tree::Node>
-pub struct zcash_client_backend::wallet::WalletShieldedSpend
-pub zcash_client_backend::wallet::WalletShieldedSpend::account: zcash_primitives::zip32::AccountId
-pub zcash_client_backend::wallet::WalletShieldedSpend::index: usize
-pub zcash_client_backend::wallet::WalletShieldedSpend::nf: zcash_primitives::sapling::note::nullifier::Nullifier
-pub zcash_client_backend::wallet::WalletTx::num_outputs: usize
-pub zcash_client_backend::wallet::WalletTx::num_spends: usize
-pub zcash_client_backend::wallet::WalletTx::shielded_outputs: alloc::vec::Vec<zcash_client_backend::wallet::WalletShieldedOutput<N>>
-pub zcash_client_backend::wallet::WalletTx::shielded_spends: alloc::vec::Vec<zcash_client_backend::wallet::WalletShieldedSpend>
-pub zcash_client_backend::DecryptedOutput::to: zcash_primitives::sapling::address::PaymentAddress
Changed items in the public API
===============================
-pub zcash_client_backend::data_api::DecryptedTransaction::sapling_outputs: &'a alloc::vec::Vec<zcash_client_backend::DecryptedOutput>
+pub zcash_client_backend::data_api::DecryptedTransaction::sapling_outputs: &'a alloc::vec::Vec<zcash_client_backend::DecryptedOutput<zcash_primitives::sapling::note::Note>>
-pub struct zcash_client_backend::DecryptedOutput
+pub struct zcash_client_backend::DecryptedOutput<Note>
-pub zcash_client_backend::DecryptedOutput::note: zcash_primitives::sapling::note::Note
+pub zcash_client_backend::DecryptedOutput::note: Note
-pub fn zcash_client_backend::decrypt_transaction<P: zcash_primitives::consensus::Parameters>(params: &P, height: zcash_primitives::consensus::BlockHeight, tx: &zcash_primitives::transaction::Transaction, ufvks: &std::collections::hash::map::HashMap<zcash_primitives::zip32::AccountId, crate::keys::UnifiedFullViewingKey>) -> alloc::vec::Vec<zcash_client_backend::DecryptedOutput>
+pub fn zcash_client_backend::decrypt_transaction<P: zcash_primitives::consensus::Parameters>(params: &P, height: zcash_primitives::consensus::BlockHeight, tx: &zcash_primitives::transaction::Transaction, ufvks: &std::collections::hash::map::HashMap<zcash_primitives::zip32::AccountId, crate::keys::UnifiedFullViewingKey>) -> alloc::vec::Vec<zcash_client_backend::DecryptedOutput<zcash_primitives::sapling::note::Note>>
Added items to the public API
=============================
+impl zcash_client_backend::data_api::SentTransactionOutput
+pub fn zcash_client_backend::data_api::SentTransactionOutput::from_parts(output_index: usize, recipient: zcash_client_backend::data_api::Recipient, value: zcash_primitives::transaction::components::amount::Amount, memo: core::option::Option<zcash_primitives::memo::MemoBytes>, sapling_change_to: core::option::Option<(zcash_primitives::zip32::AccountId, zcash_primitives::sapling::note::Note)>) -> Self
+pub fn zcash_client_backend::data_api::SentTransactionOutput::memo(&self) -> core::option::Option<&zcash_primitives::memo::MemoBytes>
+pub fn zcash_client_backend::data_api::SentTransactionOutput::output_index(&self) -> usize
+pub fn zcash_client_backend::data_api::SentTransactionOutput::recipient(&self) -> &zcash_client_backend::data_api::Recipient
+pub fn zcash_client_backend::data_api::SentTransactionOutput::sapling_change_to(&self) -> core::option::Option<&(zcash_primitives::zip32::AccountId, zcash_primitives::sapling::note::Note)>
+pub fn zcash_client_backend::data_api::SentTransactionOutput::value(&self) -> zcash_primitives::transaction::components::amount::Amount
+pub fn zcash_client_backend::data_api::WalletRead::get_min_unspent_height(&self) -> core::result::Result<core::option::Option<zcash_primitives::consensus::BlockHeight>, Self::Error>
+pub fn zcash_client_backend::data_api::WalletWrite::truncate_to_height(&mut self, block_height: zcash_primitives::consensus::BlockHeight) -> core::result::Result<(), Self::Error>
+pub struct zcash_client_backend::wallet::WalletSaplingOutput<N>
+impl<N> zcash_client_backend::wallet::WalletSaplingOutput<N>
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::account(&self) -> zcash_primitives::zip32::AccountId
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::cmu(&self) -> &zcash_primitives::sapling::note::commitment::ExtractedNoteCommitment
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::ephemeral_key(&self) -> &zcash_note_encryption::EphemeralKeyBytes
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::from_parts(index: usize, cmu: zcash_primitives::sapling::note::commitment::ExtractedNoteCommitment, ephemeral_key: zcash_note_encryption::EphemeralKeyBytes, account: zcash_primitives::zip32::AccountId, note: zcash_primitives::sapling::note::Note, is_change: bool, witness: zcash_primitives::merkle_tree::IncrementalWitness<zcash_primitives::sapling::tree::Node>, nf: N) -> Self
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::index(&self) -> usize
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::is_change(&self) -> bool
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::nf(&self) -> &N
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::note(&self) -> &zcash_primitives::sapling::note::Note
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::witness(&self) -> &zcash_primitives::merkle_tree::IncrementalWitness<zcash_primitives::sapling::tree::Node>
+pub fn zcash_client_backend::wallet::WalletSaplingOutput<N>::witness_mut(&mut self) -> &mut zcash_primitives::merkle_tree::IncrementalWitness<zcash_primitives::sapling::tree::Node>
+pub struct zcash_client_backend::wallet::WalletSaplingSpend
+impl zcash_client_backend::wallet::WalletSaplingSpend
+pub fn zcash_client_backend::wallet::WalletSaplingSpend::account(&self) -> zcash_primitives::zip32::AccountId
+pub fn zcash_client_backend::wallet::WalletSaplingSpend::from_parts(index: usize, nf: zcash_primitives::sapling::note::nullifier::Nullifier, account: zcash_primitives::zip32::AccountId) -> Self
+pub fn zcash_client_backend::wallet::WalletSaplingSpend::index(&self) -> usize
+pub fn zcash_client_backend::wallet::WalletSaplingSpend::nf(&self) -> &zcash_primitives::sapling::note::nullifier::Nullifier
+pub zcash_client_backend::wallet::WalletTx::sapling_outputs: alloc::vec::Vec<zcash_client_backend::wallet::WalletSaplingOutput<N>>
+pub zcash_client_backend::wallet::WalletTx::sapling_spends: alloc::vec::Vec<zcash_client_backend::wallet::WalletSaplingSpend>
zcash_primitives
Removed items from the public API
=================================
-pub mod zcash_primitives::merkle_tree::incremental
-pub const zcash_primitives::merkle_tree::incremental::SER_V1: u8 = 1u8
-pub const zcash_primitives::merkle_tree::incremental::SER_V2: u8 = 2u8
-pub fn zcash_primitives::merkle_tree::incremental::read_auth_fragment_v1<H: zcash_primitives::merkle_tree::HashSer, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::AuthFragment<H>>
-pub fn zcash_primitives::merkle_tree::incremental::read_bridge<H: zcash_primitives::merkle_tree::HashSer + core::cmp::Ord + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::MerkleBridge<H>>
-pub fn zcash_primitives::merkle_tree::incremental::read_bridge_v1<H: zcash_primitives::merkle_tree::HashSer + core::cmp::Ord + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::MerkleBridge<H>>
-pub fn zcash_primitives::merkle_tree::incremental::read_frontier_v0<H: incrementalmerkletree::Hashable + zcash_primitives::merkle_tree::Hashable, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::Frontier<H, u8>>
-pub fn zcash_primitives::merkle_tree::incremental::read_frontier_v1<H: zcash_primitives::merkle_tree::HashSer + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::Frontier<H, u8>>
-pub fn zcash_primitives::merkle_tree::incremental::read_leu64_usize<R: std::io::Read>(reader: R) -> std::io::error::Result<usize>
-pub fn zcash_primitives::merkle_tree::incremental::read_nonempty_frontier_v1<H: zcash_primitives::merkle_tree::HashSer + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::bridgetree::NonEmptyFrontier<H>>
-pub fn zcash_primitives::merkle_tree::incremental::read_position<R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::Position>
-pub fn zcash_primitives::merkle_tree::incremental::write_auth_fragment_v1<H: zcash_primitives::merkle_tree::HashSer, W: std::io::Write>(writer: W, fragment: &incrementalmerkletree::bridgetree::AuthFragment<H>) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_bridge<H: zcash_primitives::merkle_tree::HashSer + core::cmp::Ord, W: std::io::Write>(writer: W, bridge: &incrementalmerkletree::bridgetree::MerkleBridge<H>) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_bridge_v1<H: zcash_primitives::merkle_tree::HashSer + core::cmp::Ord, W: std::io::Write>(writer: W, bridge: &incrementalmerkletree::bridgetree::MerkleBridge<H>) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_frontier_v1<H: zcash_primitives::merkle_tree::HashSer, W: std::io::Write>(writer: W, frontier: &incrementalmerkletree::bridgetree::Frontier<H, u8>) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_nonempty_frontier_v1<H: zcash_primitives::merkle_tree::HashSer, W: std::io::Write>(writer: W, frontier: &incrementalmerkletree::bridgetree::NonEmptyFrontier<H>) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_position<W: std::io::Write>(writer: W, position: incrementalmerkletree::Position) -> std::io::error::Result<()>
-pub fn zcash_primitives::merkle_tree::incremental::write_usize_leu64<W: std::io::Write>(writer: W, value: usize) -> std::io::error::Result<()>
-pub struct zcash_primitives::merkle_tree::CommitmentTree<Node>
-impl<Node: zcash_primitives::merkle_tree::Hashable> zcash_primitives::merkle_tree::CommitmentTree<Node>
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::append(&mut self, node: Node) -> core::result::Result<(), ()>
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::read<R: std::io::Read>(reader: R) -> std::io::error::Result<Self>
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::root(&self) -> Node
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::write<W: std::io::Write>(&self, writer: W) -> std::io::error::Result<()>
-impl<Node> zcash_primitives::merkle_tree::CommitmentTree<Node>
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::empty() -> Self
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::from_frontier<const DEPTH: u8>(frontier: &incrementalmerkletree::bridgetree::Frontier<Node, DEPTH>) -> Self where Node: core::clone::Clone
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::size(&self) -> usize
-pub fn zcash_primitives::merkle_tree::CommitmentTree<Node>::to_frontier<const DEPTH: u8>(&self) -> incrementalmerkletree::bridgetree::Frontier<Node, DEPTH> where Node: incrementalmerkletree::Hashable + core::clone::Clone
-pub struct zcash_primitives::merkle_tree::IncrementalWitness<Node: zcash_primitives::merkle_tree::Hashable>
-impl<Node: zcash_primitives::merkle_tree::Hashable> zcash_primitives::merkle_tree::IncrementalWitness<Node>
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::append(&mut self, node: Node) -> core::result::Result<(), ()>
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::from_tree(tree: &zcash_primitives::merkle_tree::CommitmentTree<Node>) -> zcash_primitives::merkle_tree::IncrementalWitness<Node>
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::path(&self) -> core::option::Option<zcash_primitives::merkle_tree::MerklePath<Node>>
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::position(&self) -> usize
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::read<R: std::io::Read>(reader: R) -> std::io::error::Result<Self>
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::root(&self) -> Node
-pub fn zcash_primitives::merkle_tree::IncrementalWitness<Node>::write<W: std::io::Write>(&self, writer: W) -> std::io::error::Result<()>
-pub struct zcash_primitives::merkle_tree::MerklePath<Node: zcash_primitives::merkle_tree::Hashable>
-pub zcash_primitives::merkle_tree::MerklePath::auth_path: alloc::vec::Vec<(Node, bool)>
-pub zcash_primitives::merkle_tree::MerklePath::position: u64
-impl<Node: zcash_primitives::merkle_tree::Hashable> zcash_primitives::merkle_tree::MerklePath<Node>
-pub fn zcash_primitives::merkle_tree::MerklePath<Node>::from_path(auth_path: alloc::vec::Vec<(Node, bool)>, position: u64) -> Self
-pub fn zcash_primitives::merkle_tree::MerklePath<Node>::from_slice(witness: &[u8]) -> core::result::Result<Self, ()>
-pub fn zcash_primitives::merkle_tree::MerklePath<Node>::root(&self, leaf: Node) -> Node
-pub trait zcash_primitives::merkle_tree::Hashable: core::clone::Clone + core::marker::Copy
-pub fn zcash_primitives::merkle_tree::Hashable::blank() -> Self
-pub fn zcash_primitives::merkle_tree::Hashable::combine(usize, &Self, &Self) -> Self
-pub fn zcash_primitives::merkle_tree::Hashable::empty_root(usize) -> Self
-pub fn zcash_primitives::merkle_tree::Hashable::read<R: std::io::Read>(reader: R) -> std::io::error::Result<Self>
-pub fn zcash_primitives::merkle_tree::Hashable::write<W: std::io::Write>(&self, writer: W) -> std::io::error::Result<()>
-impl<T> zcash_primitives::merkle_tree::Hashable for T where T: incrementalmerkletree::Hashable + zcash_primitives::merkle_tree::HashSer + core::marker::Copy
-pub fn T::blank() -> T
-pub fn T::combine(alt: usize, lhs: &T, rhs: &T) -> T
-pub fn T::empty_root(alt: usize) -> T
-pub fn T::read<R>(reader: R) -> core::result::Result<T, std::io::error::Error> where R: std::io::Read
-pub fn T::write<W>(&self, writer: W) -> core::result::Result<(), std::io::error::Error> where W: std::io::Write
-pub const zcash_primitives::sapling::SAPLING_COMMITMENT_TREE_DEPTH: usize = 32usize
-pub const zcash_primitives::sapling::SAPLING_COMMITMENT_TREE_DEPTH_U8: u8 = 32u8
Changed items in the public API
===============================
-pub fn zcash_primitives::sapling::note_encryption::SaplingDomain<P>::note_plaintext_bytes(note: &Self::Note, to: &Self::Recipient, memo: &Self::Memo) -> zcash_note_encryption::NotePlaintextBytes
+pub fn zcash_primitives::sapling::note_encryption::SaplingDomain<P>::note_plaintext_bytes(note: &Self::Note, memo: &Self::Memo) -> zcash_note_encryption::NotePlaintextBytes
-pub fn zcash_primitives::sapling::note_encryption::SaplingDomain<P>::parse_note_plaintext_without_memo_ovk(&self, pk_d: &Self::DiversifiedTransmissionKey, esk: &Self::EphemeralSecretKey, ephemeral_key: &zcash_note_encryption::EphemeralKeyBytes, plaintext: &zcash_note_encryption::NotePlaintextBytes) -> core::option::Option<(Self::Note, Self::Recipient)>
+pub fn zcash_primitives::sapling::note_encryption::SaplingDomain<P>::parse_note_plaintext_without_memo_ovk(&self, pk_d: &Self::DiversifiedTransmissionKey, plaintext: &zcash_note_encryption::NotePlaintextBytes) -> core::option::Option<(Self::Note, Self::Recipient)>
-pub fn zcash_primitives::sapling::note_encryption::sapling_note_encryption<R: rand_core::RngCore, P: zcash_primitives::consensus::Parameters>(ovk: core::option::Option<zcash_primitives::sapling::keys::OutgoingViewingKey>, note: zcash_primitives::sapling::note::Note, to: zcash_primitives::sapling::PaymentAddress, memo: zcash_primitives::memo::MemoBytes, rng: &mut R) -> zcash_note_encryption::NoteEncryption<zcash_primitives::sapling::note_encryption::SaplingDomain<P>>
+pub fn zcash_primitives::sapling::note_encryption::sapling_note_encryption<R: rand_core::RngCore, P: zcash_primitives::consensus::Parameters>(ovk: core::option::Option<zcash_primitives::sapling::keys::OutgoingViewingKey>, note: zcash_primitives::sapling::note::Note, memo: zcash_primitives::memo::MemoBytes, rng: &mut R) -> zcash_note_encryption::NoteEncryption<zcash_primitives::sapling::note_encryption::SaplingDomain<P>>
-pub fn zcash_primitives::sapling::prover::TxProver::spend_proof(&self, ctx: &mut Self::SaplingProvingContext, proof_generation_key: zcash_primitives::sapling::keys::ProofGenerationKey, diversifier: zcash_primitives::sapling::keys::Diversifier, rseed: zcash_primitives::sapling::note::Rseed, ar: jubjub::fr::Fr, value: u64, anchor: bls12_381::scalar::Scalar, merkle_path: zcash_primitives::merkle_tree::MerklePath<zcash_primitives::sapling::Node>) -> core::result::Result<([u8; 192], zcash_primitives::sapling::value::ValueCommitment, zcash_primitives::sapling::redjubjub::PublicKey), ()>
+pub fn zcash_primitives::sapling::prover::TxProver::spend_proof(&self, ctx: &mut Self::SaplingProvingContext, proof_generation_key: zcash_primitives::sapling::keys::ProofGenerationKey, diversifier: zcash_primitives::sapling::keys::Diversifier, rseed: zcash_primitives::sapling::note::Rseed, ar: jubjub::fr::Fr, value: u64, anchor: bls12_381::scalar::Scalar, merkle_path: zcash_primitives::sapling::MerklePath) -> core::result::Result<([u8; 192], zcash_primitives::sapling::value::ValueCommitment, zcash_primitives::sapling::redjubjub::PublicKey), ()>
-pub fn zcash_primitives::sapling::Node::combine(altitude: incrementalmerkletree::Altitude, lhs: &Self, rhs: &Self) -> Self
+pub fn zcash_primitives::sapling::Node::combine(level: incrementalmerkletree::Level, lhs: &Self, rhs: &Self) -> Self
-pub fn zcash_primitives::sapling::Node::empty_root(altitude: incrementalmerkletree::Altitude) -> Self
+pub fn zcash_primitives::sapling::Node::empty_root(level: incrementalmerkletree::Level) -> Self
-pub fn zcash_primitives::transaction::builder::Builder<'a, P, R>::add_sapling_spend(&mut self, extsk: zcash_primitives::zip32::sapling::ExtendedSpendingKey, diversifier: zcash_primitives::sapling::keys::Diversifier, note: zcash_primitives::sapling::note::Note, merkle_path: zcash_primitives::merkle_tree::MerklePath<zcash_primitives::sapling::Node>) -> core::result::Result<(), zcash_primitives::transaction::components::sapling::builder::Error>
+pub fn zcash_primitives::transaction::builder::Builder<'a, P, R>::add_sapling_spend(&mut self, extsk: zcash_primitives::zip32::sapling::ExtendedSpendingKey, diversifier: zcash_primitives::sapling::keys::Diversifier, note: zcash_primitives::sapling::note::Note, merkle_path: zcash_primitives::sapling::MerklePath) -> core::result::Result<(), zcash_primitives::transaction::components::sapling::builder::Error>
-pub fn zcash_primitives::transaction::components::sapling::builder::SaplingBuilder<P>::add_spend<R: rand_core::RngCore>(&mut self, rng: R, extsk: zcash_primitives::zip32::sapling::ExtendedSpendingKey, diversifier: zcash_primitives::sapling::keys::Diversifier, note: zcash_primitives::sapling::note::Note, merkle_path: zcash_primitives::merkle_tree::MerklePath<zcash_primitives::sapling::Node>) -> core::result::Result<(), zcash_primitives::transaction::components::sapling::builder::Error>
+pub fn zcash_primitives::transaction::components::sapling::builder::SaplingBuilder<P>::add_spend<R: rand_core::RngCore>(&mut self, rng: R, extsk: zcash_primitives::zip32::sapling::ExtendedSpendingKey, diversifier: zcash_primitives::sapling::keys::Diversifier, note: zcash_primitives::sapling::note::Note, merkle_path: zcash_primitives::sapling::MerklePath) -> core::result::Result<(), zcash_primitives::transaction::components::sapling::builder::Error>
-pub fn zcash_primitives::transaction::util::sha[25](https://github.com/ctoyan/uniffi-zcash-lib/actions/runs/6012438097/job/16678154222#step:9:26)6d::HashReader<R>::into_hash(self) -> digest::digest::Output<sha2::sha256::Sha256>
+pub fn zcash_primitives::transaction::util::sha256d::HashReader<R>::into_hash(self) -> crypto_common::Output<sha2::Sha256>
-pub fn zcash_primitives::transaction::util::sha256d::HashWriter::into_hash(self) -> digest::digest::Output<sha2::sha256::Sha256>
+pub fn zcash_primitives::transaction::util::sha256d::HashWriter::into_hash(self) -> crypto_common::Output<sha2::Sha256>
Added items to the public API
=============================
+pub fn zcash_primitives::merkle_tree::merkle_path_from_slice<Node: zcash_primitives::merkle_tree::HashSer, const DEPTH: u8>(witness: &[u8]) -> std::io::error::Result<incrementalmerkletree::MerklePath<Node, DEPTH>>
+pub fn zcash_primitives::merkle_tree::read_address<R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::Address>
+pub fn zcash_primitives::merkle_tree::read_commitment_tree<Node: zcash_primitives::merkle_tree::HashSer, R: std::io::Read, const DEPTH: u8>(reader: R) -> std::io::error::Result<incrementalmerkletree::frontier::CommitmentTree<Node, DEPTH>>
+pub fn zcash_primitives::merkle_tree::read_frontier_v0<H: incrementalmerkletree::Hashable + zcash_primitives::merkle_tree::HashSer + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::frontier::Frontier<H, { sapling::NOTE_COMMITMENT_TREE_DEPTH }>>
+pub fn zcash_primitives::merkle_tree::read_frontier_v1<H: zcash_primitives::merkle_tree::HashSer + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::frontier::Frontier<H, u8>>
+pub fn zcash_primitives::merkle_tree::read_incremental_witness<Node: zcash_primitives::merkle_tree::HashSer, R: std::io::Read, const DEPTH: u8>(reader: R) -> std::io::error::Result<incrementalmerkletree::witness::IncrementalWitness<Node, DEPTH>>
+pub fn zcash_primitives::merkle_tree::read_leu64_usize<R: std::io::Read>(reader: R) -> std::io::error::Result<usize>
+pub fn zcash_primitives::merkle_tree::read_nonempty_frontier_v1<H: zcash_primitives::merkle_tree::HashSer + core::clone::Clone, R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::frontier::NonEmptyFrontier<H>>
+pub fn zcash_primitives::merkle_tree::read_position<R: std::io::Read>(reader: R) -> std::io::error::Result<incrementalmerkletree::Position>
+pub fn zcash_primitives::merkle_tree::write_address<W: std::io::Write>(writer: W, addr: incrementalmerkletree::Address) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_commitment_tree<Node: zcash_primitives::merkle_tree::HashSer, W: std::io::Write, const DEPTH: u8>(tree: &incrementalmerkletree::frontier::CommitmentTree<Node, DEPTH>, writer: W) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_frontier_v1<H: zcash_primitives::merkle_tree::HashSer, W: std::io::Write>(writer: W, frontier: &incrementalmerkletree::frontier::Frontier<H, u8>) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_incremental_witness<Node: zcash_primitives::merkle_tree::HashSer, W: std::io::Write, const DEPTH: u8>(witness: &incrementalmerkletree::witness::IncrementalWitness<Node, DEPTH>, writer: W) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_nonempty_frontier_v1<H: zcash_primitives::merkle_tree::HashSer, W: std::io::Write>(writer: W, frontier: &incrementalmerkletree::frontier::NonEmptyFrontier<H>) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_position<W: std::io::Write>(writer: W, position: incrementalmerkletree::Position) -> std::io::error::Result<()>
+pub fn zcash_primitives::merkle_tree::write_usize_leu64<W: std::io::Write>(writer: W, value: usize) -> std::io::error::Result<()>
+pub const zcash_primitives::sapling::NOTE_COMMITMENT_TREE_DEPTH: u8 = 32u8
+pub type zcash_primitives::sapling::CommitmentTree = incrementalmerkletree::frontier::CommitmentTree<zcash_primitives::sapling::Node, NOTE_COMMITMENT_TREE_DEPTH>
+pub type zcash_primitives::sapling::IncrementalWitness = incrementalmerkletree::witness::IncrementalWitness<zcash_primitives::sapling::Node, NOTE_COMMITMENT_TREE_DEPTH>
+pub type zcash_primitives::sapling::MerklePath = incrementalmerkletree::MerklePath<zcash_primitives::sapling::Node, NOTE_COMMITMENT_TREE_DEPTH>
+pub const fn zcash_primitives::transaction::components::amount::Amount::const_from_i64(amount: i64) -> Self
+pub const fn zcash_primitives::transaction::components::amount::Amount::const_from_i64(amount: i64) -> Self
+impl memuse::DynamicUsage for zcash_primitives::transaction::components::sapling::Bundle<zcash_primitives::transaction::components::sapling::Authorized>
+pub fn zcash_primitives::transaction::components::sapling::Bundle<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage(&self) -> usize
+pub fn zcash_primitives::transaction::components::sapling::Bundle<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage_bounds(&self) -> (usize, core::option::Option<usize>)
+impl memuse::DynamicUsage for zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>
+impl memuse::DynamicUsage for zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>
+pub fn zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage(&self) -> usize
+pub fn zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage(&self) -> usize
+pub fn zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage_bounds(&self) -> (usize, core::option::Option<usize>)
+pub fn zcash_primitives::transaction::components::sapling::SpendDescription<zcash_primitives::transaction::components::sapling::Authorized>::dynamic_usage_bounds(&self) -> (usize, core::option::Option<usize>)
+pub const zcash_primitives::transaction::fees::zip[31](https://github.com/ctoyan/uniffi-zcash-lib/actions/runs/6012438097/job/16678154222#step:9:32)7::MINIMUM_FEE: _
+pub mod zcash_primitives::zip[32](https://github.com/ctoyan/uniffi-zcash-lib/actions/runs/6012438097/job/16678154222#step:9:33)::fingerprint
+pub struct zcash_primitives::zip32::fingerprint::SeedFingerprint(_)
+impl zcash_primitives::zip32::fingerprint::SeedFingerprint
+pub fn zcash_primitives::zip32::fingerprint::SeedFingerprint::from_seed(seed_bytes: &[u8]) -> core::option::Option<zcash_primitives::zip32::fingerprint::SeedFingerprint>
+pub fn zcash_primitives::zip32::fingerprint::SeedFingerprint::to_bytes(&self) -> [u8; 32]
+pub const zcash_primitives::zip32::fingerprint::ZIP32_SEED_FP_PERSONALIZATION: &[u8; 16]