Skip to content

PR471 review: Add AssetId enum#223

Merged
ConstanceBeguier merged 8 commits intozcash_pr471_reviewfrom
pr471_asset_id_enum
Jan 13, 2026
Merged

PR471 review: Add AssetId enum#223
ConstanceBeguier merged 8 commits intozcash_pr471_reviewfrom
pr471_asset_id_enum

Conversation

@ConstanceBeguier
Copy link
Collaborator

@ConstanceBeguier ConstanceBeguier commented Jan 12, 2026

Address the following review comments:
r2550373804
r2550386724
r2550403709

Introduce the AssetId enum holding an ik and an asset_desc_hash, and use it as input for encode_asset_id, asset_digest, and AssetBase::custom (renamed from AssetBase::derive).
AssetId uses lifetimes to borrow ik and avoid cloning it.

@ConstanceBeguier ConstanceBeguier merged commit 382f319 into zcash_pr471_review Jan 13, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant