Skip to content

Report firmware version in Zcash batch results - #133

Merged
soralit merged 3 commits into
KeystoneHQ:masterfrom
valargroup:adam/report-zcash-batch-firmware-version
Jul 14, 2026
Merged

Report firmware version in Zcash batch results#133
soralit merged 3 commits into
KeystoneHQ:masterfrom
valargroup:adam/report-zcash-batch-firmware-version

Conversation

@czarcas7ic

@czarcas7ic czarcas7ic commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Add a required three byte firmware_version value at CBOR key 3 on the existing zcash-batch-sig-result registry type. The SDK represents it as [u8; 3] for the raw [major, minor, build] version and rejects short or long encodings.

The request type and opaque PCZT batch payload remain unchanged. New decoders intentionally reject old two field batch results so callers always receive the signing firmware version.

Validation: cargo test -p ur-registry --locked (165 passed), cargo test -p ur-parse-lib --locked (17 passed), targeted formatting, and git diff --check.

@czarcas7ic
czarcas7ic marked this pull request as ready for review July 13, 2026 19:49
@soralit
soralit merged commit 4131bae into KeystoneHQ:master Jul 14, 2026
2 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.

2 participants