Repository navigation
Conversation
This was referenced Oct 19, 2026
Rust-Checks has failed on main since the NU6.3 toolchain bump: rustfmt differs in nine files, and clippy on nightly-2025-06-15 rejects ten uninlined format arguments in webzjs-keys and one map iteration in webzjs-requests under -D warnings. Apply rustfmt and clippy's own suggestions; no behaviour changes.
From NU6.3 the Orchard pool disallows cross-address transfers, so the transaction builder pairs every change output with a zero-valued spend at the wallet's own change address. That spend carries no dummy key (the IO finalizer cannot sign it) and zcash_client_backend attaches a ZIP 32 key path only to the real spends. The snap signer picked actions by key path, so the change-paired spend was never signed and every post-NU6.3 send failed at broadcast with Orchard(Extract(MissingSpendAuthSig)). After the key-path pass, try every Orchard and Ironwood action with the account's spend authorizing key and keep the signatures it controls; the signer rejects the rest with WrongSpendAuthorizingKey. This mirrors how librustzcash's own test harness signs these bundles. The native test builds the wallet's post-NU6.3 Orchard bundle shape (one real spend, one change output), finalizes IO, tags only the real spend, round-trips through the wire format, signs through pczt_sign_inner and asserts both actions carry a signature. It fails on the previous signer.
sqhell
force-pushed
the
fix/sign-change-paired-spends
branch
from
October 19, 2026 16:51
f2fa154 to
c9624ce
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
WrongSpendAuthorizingKey. This mirrors how librustzcash's own test harness signs these bundles.Why
From NU6.3 the Orchard pool disallows cross-address transfers, so the builder pairs every change output with a zero-valued spend at the wallet's own change address. That spend carries no key path, the signer picked actions by key path, and every post-NU6.3 send failed at broadcast with
Orchard(Extract(MissingSpendAuthSig)).Stack
Position 7 of 15 in the WebZjs release order, to be merged in this order into
main. Independent of the feature PRs but rebased on #20 (chore/rust-checks) so its checks are green; the commits of this PR alone are here: sqhell/WebZjs@chore/rust-checks...fix/sign-change-paired-spendschore/rust-checksfix/reuse-sync-workerfix/grpc-web-trailers-onlyfix/resync-dialogfeat/send-againfix/pczt-parse-errorfix/sign-change-paired-spends(this PR)fix/historic-sync-oomfeat/history-resync-hintfix/wallet-store-epochsfeat/ironwood-poolfix/history-from-spendsfeat/wallet-statsfeat/resumable-syncfeat/resync-resumeRust pins reference
sqhell/zcash_client_memoryandsqhell/librustzcashby revision so CI builds exactly what was tested; once the zcash_client_memory stack (red-dev-inc/zcash_client_memory #16 to #21) merges, the memory pin goes back tored-dev-inc/zcash_client_memoryfeat/snap-nu63. The integration branchtest/all-fixeson the fork merges all fourteen and is the build that was tested end to end.Tests