1 suggestion
Optional improvements
[suggestion] · The asset minimizer can discard the new 0-of-0 CHECKMULTISIG vectors
Because the minimizer distinguishes vectors by interpreter coverage rather than the new error field, pass/fail-only consumers may not receive t37/t38 after regeneration.
Location: test/functional/feature_taproot.py:1056 (head).
Details and suggested fix
The documented qa-assets workflow merges feature_taproot.py dumps with libFuzzer using script_assets_test_minimizer. The minimizer runs Core's VerifyScript on each failure witness and ignores the new error field. The old t3/t4 failures and new t37/t38 failures all return SCRIPT_ERR_TAPSCRIPT_CHECKMULTISIG before reading multisig arguments; their preceding opcodes are covered by other leaves. The new vectors differ only because they would succeed in an interpreter that executes CHECKMULTISIG, which the merge cannot distinguish. As a result, retention can depend on input order and incidental coverage features. A regenerated minimized file could therefore omit these vectors, leaving pass/fail-only consumers with the gap this change targets. This identifies a gap in the documented workflow, not evidence that a particular minimized file has omitted them. Give the two spenders a distinct comment, then document that matching dumps must be appended after the merge or checked for afterward.
Design and approach
The 0-of-0 vectors close a real gap by detecting when CHECKMULTISIG executes, but the new exact error-text assertion makes Core CI depend on an externally maintained qa-assets file that cannot be updated atomically with Core. Rework the check so ScriptError changes do not block Core CI, or split the error field into a separate change that specifies how such reclassifications will be handled. qa-assets PR #33961