zips icon indicating copy to clipboard operation
zips copied to clipboard

[ZIP 244, 246] Ambiguous scope for "BLAKE2b-256 hash of"

Open daira opened this issue 4 months ago • 1 comments

From https://github.com/zcash/zips/pull/1077#discussion_r2319230404 :

A.1: transparent_auth_digest

In the case that the transaction contains transparent inputs, this is a BLAKE2b-256 hash of the field encoding of the TransparentSighashInfo value for each transparent input, followed by the field encoding of the Bitcoin scriptSig value for each transparent input: [...]

There is another ambiguity in this wording that we didn't spot in the ZIP sync: is input_sighash_infos given by BLAKE2b-256(concatenation of TransparentSighashInfos), or by the concatenation of BLAKE2b-256(TransparentSighashInfo)? I believe it's the former, but this wording could mean either.

daira avatar Sep 02 '25 21:09 daira

I checked for similar ambiguities in ZIPs 143, 243, and 244. In ZIP 244, there is a similar issue of ambiguous scope for "BLAKE2b-256 hash of" in A.2: sapling_auth_digest. I did not find any other cases.

daira avatar Sep 06 '25 11:09 daira