You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The HRP for a Bech32m-encoded mainnet Unified FVK.
///
/// Defined in [ZIP 316][zip-0316].
///
/// [zip-0316]: https://zips.z.cash/zip-0316
constMAINNET:&'static str = "uview";
/// The HRP for a Bech32m-encoded testnet Unified FVK.
///
/// Defined in [ZIP 316][zip-0316].
///
/// [zip-0316]: https://zips.z.cash/zip-0316
constTESTNET:&'static str = "uviewtest";
/// The HRP for a Bech32m-encoded regtest Unified FVK.
constREGTEST:&'static str = "uviewregtest";
fnfrom_inner(fvks:Vec<Self::Item>) -> Self{
Self(fvks)
}
}
Callstack:
> nerdbank_zcash_rust.dll!zcash_address::kind::unified::private::SealedContainer::hrp_network<zcash_address::kind::unified::fvk::Ufvk>(ref$<str$>) Line 210 Rust
nerdbank_zcash_rust.dll!zcash_address::kind::unified::Encoding::decode<zcash_address::kind::unified::fvk::Ufvk>(ref$<str$>) Line 386 Rust
nerdbank_zcash_rust.dll!zcash_keys::keys::UnifiedFullViewingKey::decode<zcash_protocol::consensus::Network>(ref$<str$> params) Line 733 Rust
Shouldn't ZIP-316 rev. 1 be supported by librustzcash by now?
The text was updated successfully, but these errors were encountered:
Per ZIP-316 rev. 1,
urview
is a valid HRP for UFVKs.But librustzcash rejects such UFVKs from
UnifiedFullViewingKey::decode
with:The code that identifies the allowed HRPs is here:
librustzcash/components/zcash_address/src/kind/unified/fvk.rs
Lines 122 to 143 in 1b18908
Callstack:
Shouldn't ZIP-316 rev. 1 be supported by librustzcash by now?
The text was updated successfully, but these errors were encountered: