Page MenuHomePhabricator

[test] add a test for a transaction failing specifically for scriptsig-not-pushonly
Needs ReviewPublic

Authored by PiRK on Thu, Nov 13, 17:06.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Other transactions in invalid_txs.py fail block inclusion because of non-pushonly scriptsigs, but fail mempool inclusion for more specific reasons.
Craft a transaction that fails only for the pushonly rule, based on the existing test in chronik_electrum_blockchain (note that b"a" == b"\x61" == CScript([OP_NOP])

Depends on D18927

Test Plan

ninja check-functional

Diff Detail