Test: Add script vectors for interpreter edges #36458

pull benthecarman wants to merge 1 commits into bitcoin:master from benthecarman:script-vectors-interpreter-edges changing 2 files +38 −1
  1. benthecarman commented at 7:35 PM on October 7, 2026: contributor

    Add script_tests.json and tx_invalid.json vectors for edge cases that other implementations have gotten wrong, including CSV with -2, IFDUP on negative zero, ROLL with duplicate values, a taproot output key that is not a valid x coordinate, and single-flag STRICTENC, LOW_S and NULLFAIL cases.

    Some policy cases were only caught by the tx_valid harness adding flags back, which implementations copying the JSON don't replicate.

    Related: #36455

    These were discovered by finding gaps in an alternate implementation (bitcoin-s)

  2. Test: Add script vectors for interpreter edges
    Add script_tests.json and tx_invalid.json vectors for edge cases that
    other implementations have gotten wrong, including CSV with -2, IFDUP
    on negative zero, ROLL with duplicate values, a taproot output key
    that is not a valid x coordinate, and single-flag STRICTENC, LOW_S and
    NULLFAIL cases.
    
    Some policy cases were only caught by the tx_valid harness adding
    flags back, which implementations copying the JSON don't replicate.
    5d2fb8d309
  3. DrahtBot added the label Tests on Oct 7, 2026
  4. DrahtBot commented at 7:35 PM on October 7, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-10-08 23:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me