Skip to content

Removing the Asset Base from the issue note description#141

Merged
ConstanceBeguier merged 25 commits into
zsa1from
remove_assetbase_from_issue_note_description
Sep 23, 2025
Merged

Removing the Asset Base from the issue note description#141
ConstanceBeguier merged 25 commits into
zsa1from
remove_assetbase_from_issue_note_description

Conversation

@vivek-arte
Copy link
Copy Markdown

@vivek-arte vivek-arte commented Sep 15, 2025

This PR performs the change from zcash/zips#987 to remove the asset base from the issue note description. It also makes the follow-on reorderings suggested in zcash/zips#1086 and zcash/zips#1088.

The test vectors are updated in QED-it/zcash-test-vectors#36 and copied in from there.

@vivek-arte vivek-arte marked this pull request as draft September 15, 2025 16:17
@QED-it QED-it deleted a comment from what-the-diff Bot Sep 15, 2025
@vivek-arte vivek-arte marked this pull request as ready for review September 15, 2025 21:26
@ConstanceBeguier ConstanceBeguier changed the base branch from orchard_sighash_version to zsa1 September 23, 2025 10:11
@ConstanceBeguier ConstanceBeguier force-pushed the remove_assetbase_from_issue_note_description branch from f7287f5 to c806334 Compare September 23, 2025 10:23
Copy link
Copy Markdown
Collaborator

@PaulLaux PaulLaux left a comment

Choose a reason for hiding this comment

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

Approved with minor changes and pending the test vector compliance.


if actions.is_empty() {
Ok(None)
let issuer_bytes = Vector::read(&mut reader, |r| r.read_u8())?;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

incorrect function name. Should be issuance::read_bundle(..); (remove v6)
Also, please fix doc.

Copy link
Copy Markdown
Collaborator

@PaulLaux PaulLaux Sep 23, 2025

Choose a reason for hiding this comment

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

same for write_v6_bundle(..) -> write_bundle(..) in this file. and the doc

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Done

Comment on lines +159 to +160
CompactSize::write(&mut writer, 0)?; // empty issuer
CompactSize::write(&mut writer, 0)?; // empty vIssueActions
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Move comments above the relevent line.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Done

@ConstanceBeguier ConstanceBeguier merged commit 8677912 into zsa1 Sep 23, 2025
46 checks passed
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.

3 participants