diff --git a/src/test/data/script_tests.json b/src/test/data/script_tests.json --- a/src/test/data/script_tests.json +++ b/src/test/data/script_tests.json @@ -1512,6 +1512,10 @@ "MINIMALDATA", "PUSHDATA4 of 256 bytes minimally represented by PUSHDATA2"], +["", "0x01 0x81 DROP 1", "MINIMALDATA", "MINIMALDATA", "non-minimal in scriptPubKey"], +["0x02 0x0181", "HASH160 0x14 0x823ceb939791c0227262f8c2e5d29f072a590609 OP_EQUAL", "P2SH,MINIMALDATA", "MINIMALDATA", "non-minimal inside P2SH redeemScript"], +["0x02 0x0181", "HASH160 0x14 0x823ceb939791c0227262f8c2e5d29f072a590609 OP_EQUAL", "MINIMALDATA", "OK", "non-minimal inside P2SH redeemScript but P2SH not active"], + ["MINIMALDATA enforcement for numeric arguments"], ["0x01 0x00", "NOT DROP 1", "MINIMALDATA", "UNKNOWN_ERROR", "numequals 0"],