Skip to content

PR471 review: Address Str4d’s feedback from Jan 20, 2026 meeting#237

Merged
ConstanceBeguier merged 4 commits into
zcash_pr471_reviewfrom
pr471_str4d_20260120
Jan 22, 2026
Merged

PR471 review: Address Str4d’s feedback from Jan 20, 2026 meeting#237
ConstanceBeguier merged 4 commits into
zcash_pr471_reviewfrom
pr471_str4d_20260120

Conversation

@ConstanceBeguier
Copy link
Copy Markdown
Collaborator

@ConstanceBeguier ConstanceBeguier commented Jan 22, 2026

Replace impl Add for NoteValue with a dedicated helper function

Update ValueSum::from_raw

  • Introduce a pub(crate) ValueSum::from_raw_inner helper
  • Gate ValueSum::from_raw behind the temporary-zebra feature flag

Update the sighash_info_for_kind closure used when evaluating digests

  • Change the return type from &'static [u8] to Vec<u8>

Create a pub(crate) ValueSum::from_raw_inner function
Put ValueSum::from_raw function behind the temprary-zebra feature flag
From
sighash_info_for_kind: impl Fn(&OrchardSighashKind) -> &'static [u8]
to
sighash_info_for_kind: impl Fn(&OrchardSighashKind) -> Vec<u8>
@ConstanceBeguier ConstanceBeguier merged commit a80b5fa into zcash_pr471_review Jan 22, 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