diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-07-06 21:15:24 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-07-06 21:15:24 +0800 |
commit | 176d44890f7cd751e578fc79d7ab186cbb35db17 (patch) | |
tree | c8b4d9ae6de1953e2b5ac515950a79f147aaaba1 /src/GeneralStateTestsFiller | |
parent | d1faab040fa8cb2118674b20b48cd9b082e7d27b (diff) | |
download | dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar.gz dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar.bz2 dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar.lz dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar.xz dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.tar.zst dexon-tests-176d44890f7cd751e578fc79d7ab186cbb35db17.zip |
Add one-less and one-more numbers
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r-- | src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_initial_256Filler.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_initial_256Filler.json b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_initial_256Filler.json index 6896c6a34..d47e256c8 100644 --- a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_initial_256Filler.json +++ b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_initial_256Filler.json @@ -27,7 +27,7 @@ "pre" : { "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x0de0b6b3a7640000", - "code" : "{ (MSTORE 0 0x112233445566778899aabbccddeeff) (RETURNDATACOPY (- 0 32) 0 32) (SSTORE 0 (MLOAD 0)) }", + "code" : "{ (CALLDATACOPY 0 0 32) (RETURNDATACOPY (- 0 (MLOAD 0)) 0 0x64) (MSTORE 0 0x112233445566778899aabbccddeeff) (SSTORE 0 (MLOAD 0)) }", "nonce" : "0x00", "storage" : { "0x00" : "0x01" @@ -43,7 +43,14 @@ }, "transaction" : { "data" : [ - "" + "0: the sum of RETURNDATACOPY's first and third arguments is 2^256", + "1: one smaller", + "2: one bigger", "anyway the RETURNDATACOPY should cause an exceptional halt." + ], + "data" : [ + "0x0000000000000000000000000000000000000000000000000000000000000064", + "0x0000000000000000000000000000000000000000000000000000000000000063", + "0x0000000000000000000000000000000000000000000000000000000000000065" ], "gasLimit" : [ "0x0a00000000" |