Commit Graph

107 Commits

Author SHA1 Message Date
CJentzsch
1aebe33a34 ADDMOD and MULMOD divison by zero 2015-01-12 14:27:08 +01:00
CJentzsch
d70a30c056 MULMOD with modul 0 gives division by zero error 2015-01-12 13:55:00 +01:00
CJentzsch
2577b803f6 create should return 0 2015-01-12 13:22:18 +01:00
CJentzsch
928dde590c create with high value should fail and return 0 2015-01-12 13:08:43 +01:00
CJentzsch
5fbb24353a include invalid opcode 0x0c 2015-01-12 12:00:02 +01:00
CJentzsch
9f0c292144 jump outside code 2015-01-12 09:36:56 +01:00
CJentzsch
d812c685c9 CODECOPY with size larger than codesize 2015-01-12 09:10:11 +01:00
CJentzsch
e8a131e05c remove wrong tests 2015-01-09 21:38:57 +01:00
CJentzsch
bf798c8dec wrong memmory needed calculation for CREATE in cpp 2015-01-09 20:39:00 +01:00
CJentzsch
53dbdf3dd2 return input offset 2015-01-09 19:16:52 +01:00
CJentzsch
c674306973 big offset zero size for create 2015-01-09 17:33:41 +01:00
CJentzsch
314220a00d big offset zero size for sha3 and return 2015-01-09 17:06:53 +01:00
CJentzsch
dd866afc2e LOG0 no mem expansion despite large offset 2015-01-09 15:46:00 +01:00
CJentzsch
b227000f19 add blockhash vm tests 2015-01-09 10:56:40 +01:00
CJentzsch
ac2ce00e28 add random test which fail on go 2015-01-08 22:41:40 +01:00
CJentzsch
f73731d5a4 failing python tests 2015-01-08 22:10:55 +01:00
CJentzsch
9b9f7cffde long jumpdest list 2015-01-08 16:39:57 +01:00
CJentzsch
eb3451142e sdiv int256.min -1 2015-01-08 15:29:07 +01:00
CJentzsch
73ba8a48ab sdiv with negative fractional result 2015-01-08 15:14:20 +01:00
CJentzsch
1ad28d0494 add valid jumpdest with jumpdest at beginning 2015-01-08 13:04:29 +01:00
CJentzsch
08a72727cd more dynamic jump tests 2015-01-08 11:23:39 +01:00
CJentzsch
0aa66f02ef jump into push data is forbidden 2015-01-07 22:33:25 +01:00
CJentzsch
b94c610e49 jumpdests tests, OOG at max call depth, ... 2015-01-07 15:54:14 +01:00
CJentzsch
99e6e00c34 check address input greater then 2**160 2015-01-07 11:17:09 +01:00
CJentzsch
93bf0d6f4e zeroMemExpansionTests 2015-01-06 16:33:47 +01:00
CJentzsch
dc087ffa97 more jumpdest test 2015-01-06 14:48:57 +01:00
CJentzsch
63d61cb380 added blockhash tests which return 0 2015-01-06 11:50:57 +01:00
CJentzsch
0ace267c4f clear random tests due to protocol changes 2015-01-05 13:37:01 +01:00
CJentzsch
2e75a216c7 new jumpdest interpretation 2015-01-02 17:05:20 +01:00
CJentzsch
7aab71f656 added complete exp tests 2015-01-02 16:55:59 +01:00
CJentzsch
456b5791bb more init code, systemoperations and transaction tests 2015-01-02 14:08:55 +01:00
CJentzsch
2fdc7bfbd1 more random tests 2014-12-27 22:46:21 +01:00
CJentzsch
aafb5f768b first failing random tests 2014-12-23 16:35:35 +01:00
CJentzsch
aefcb9716e transaction tests and refund tests 2014-12-18 09:31:43 +01:00
CJentzsch
779f25d36c first random test 2014-12-11 22:59:56 +01:00
CJentzsch
68175386c0 update gas prices 2014-12-11 21:34:50 +01:00
CJentzsch
ad322fbb58 Log as array 2014-12-08 06:01:17 +01:00
CJentzsch
4bc65d1129 add calldataload, codecopy, extcodecopy tests 2014-12-04 18:18:49 +01:00
CJentzsch
12cfae18e3 add calldataload test 2014-12-04 15:57:56 +01:00
CJentzsch
086caf3701 protocol update (CALLCODE <-> RETURN), topics in log are arrays not sets 2014-12-03 08:31:03 +01:00
alon muroch
f59f89d876 vmEnvironmentalInfoTest CALLDATACOPY, CODECOPY, EXTCODECOPY fix 2014-12-01 16:18:12 +01:00
alon muroch
68da13fe3e vmArithmeticTest exp fix 2014-12-01 11:10:57 +01:00
Christoph Jentzsch
c5e5228e0d Removed log,post,out,gas,callcreates if exception occured 2014-11-20 17:04:06 +01:00
Christoph Jentzsch
3ba0007e86 Added log sections in all vmtests + log tests 2014-11-19 16:23:04 +01:00
Christoph Jentzsch
c8497ab257 new push32 test and renaming 2014-11-19 10:00:02 +01:00
Christoph Jentzsch
1d42d1d7c6 fix ecrecover2 2014-11-17 22:46:51 +01:00
ethers
78f1e4a945 rename tests since they are valid opcodes that exist 2014-11-12 19:11:06 -08:00
Christoph Jentzsch
30c266caff jump to position outside code stops execution 2014-11-11 08:33:59 +01:00
Christoph Jentzsch
60924843f0 Unintended Exceptions work like OOG 2014-11-10 22:21:37 +01:00
Christoph Jentzsch
66c2e1f642 Updated SIGNEXTEND tests 2014-11-06 09:19:22 +01:00
Christoph Jentzsch
e229374f46 Merge remote-tracking branch 'origin/develop' into develop 2014-11-05 20:59:49 +01:00
Christoph Jentzsch
189527e563 added dynamic jump out of code 2014-11-05 20:59:20 +01:00
Christoph Jentzsch
9b4e768995 Delete vmNamecoin.json 2014-11-05 20:41:54 +01:00
Christoph Jentzsch
9120274a46 Update tests to latest protocol changes (PoC7) 2014-11-04 13:31:27 +01:00
Christoph Jentzsch
3aebe532e5 Updated vmNamecoin.json to new sstore prices 2014-11-03 13:58:21 +01:00
Christoph Jentzsch
83643addbc removed systemoperationstests 2014-11-03 13:36:25 +01:00
Christoph Jentzsch
3930ca3a9a Restructered tests in folders in accordance to test suites 2014-11-03 13:22:15 +01:00