diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-09 16:02:40 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-09 16:03:07 +0200 |
commit | 1c0319bb2ba227b67a10563ae5c9f65f4358c472 (patch) | |
tree | 09b1bef60a135c1546d3a3028f74cb56d0227979 /src/test/data/script_invalid.json | |
parent | d54985f3f1385481696dbc53bce4aa3c0205a597 (diff) | |
parent | b1fdd5475d9040445d7655730f262f214ea87c5f (diff) |
Merge pull request #3965
b1fdd54 script: Add test for CScriptNum (Cory Fields)
90320d6 script: add additional script tests (Cory Fields)
05e3ecf script: remove bignum dependency (Cory Fields)
4f497cd script: switch outside users to CScriptNum (Cory Fields)
27bff74 script: switch to CScriptNum usage for scripts (Cory Fields)
48d8eb1 script: add CScriptNum class (Cory Fields)
Diffstat (limited to 'src/test/data/script_invalid.json')
-rw-r--r-- | src/test/data/script_invalid.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/data/script_invalid.json b/src/test/data/script_invalid.json index c2824cb6f7..d623e974b8 100644 --- a/src/test/data/script_invalid.json +++ b/src/test/data/script_invalid.json @@ -267,7 +267,10 @@ ["1","0xba", "0xba == OP_NOP10 + 1"], ["2147483648", "1ADD 1", "We cannot do math on 5-byte integers"], +["2147483648", "NEGATE 1", "We cannot do math on 5-byte integers"], ["-2147483648", "1ADD 1", "Because we use a sign bit, -2147483648 is also 5 bytes"], +["2147483647", "1ADD 1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"], +["2147483648", "1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"], ["1", "1 ENDIF", "ENDIF without IF"], ["1", "IF 1", "IF without ENDIF"], |