Cover additional script edge cases with the json fixtures #36563

pull reardencode wants to merge 5 commits into bitcoin:master from reardencode:script-sigversion-vectors changing 2 files +196 −0
  1. reardencode commented at 11:24 AM on October 18, 2026: none

    During rbitcoin's development, we created some additional script test vectors, some of which seem like they would be valuable additions to bitcoin core's script tests.

    These cover mostly script limits on various versions, but also the non-FindAndDelete behavior of witness v0.

  2. test: assert v0 and tapscript size limits
    Add script tests for witness v0 size limits and the lack of those same
    limits in tapscript.
    ba7d259670
  3. test: assert OP_SUCCESS before script limits
    Add script tests that verify OP_SUCCESS handling before script limits
    are applied.
    efb5d657bc
  4. test: assert witness v0 scripts skip FindAndDelete
    Add script tests validating the lack of FindAndDelete behavior when
    executing witness v0 scripts.
    320ea87bf9
  5. test: assert tapscript signature weight budget
    Add script tests for tapscript signature weight, including for
    non-empty, non-32-byte keys, and empty and non-empty signatures.
    43e35d6a50
  6. test: assert unknown tapleaf versions skip limits
    Add script tests that validate unknown tapleaves are not subject to
    tapleaf 0xc2 witness limits.
    60bb41f494
  7. DrahtBot commented at 11:24 AM on October 18, 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.

    Type Reviewers
    ACK Yudis-bit

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  8. fanquake commented at 7:34 AM on October 19, 2026: member
  9. instagibbs commented at 1:35 PM on October 19, 2026: member

    @reardencode are you looking to throw this over the fence or will you update it on review, or are you still going to add stuff later?

    Just want to know what to do with this

  10. reardencode marked this as ready for review on Oct 19, 2026
  11. reardencode commented at 2:22 PM on October 19, 2026: none

    Happy to update based on review. Not specifically planning to add stuff in the near future, but if we find other interesting cases and this kind of thing is useful to y'all, we'll make additional PRs later.

  12. fametrano referenced this in commit a975ca8c9a on Oct 19, 2026
  13. fametrano referenced this in commit ad491e0078 on Oct 19, 2026
  14. Yudis-bit commented at 8:39 AM on October 20, 2026: none

    Tested ACK 60bb41f494 on Windows.


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-21 18:51 UTC

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