diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-07-06 02:54:46 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-07-06 21:38:50 +0800 |
commit | 54522c9327db9e4c67c62c604a631fe74a01421d (patch) | |
tree | fe94f444138af926fcc7302125c0052c9b00986f /src | |
parent | 674ba3feaec3cf20038fd8e264f0729c8f5c90e7 (diff) | |
download | tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar.gz tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar.bz2 tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar.lz tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar.xz tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.tar.zst tangerine-tests-54522c9327db9e4c67c62c604a631fe74a01421d.zip |
Use (SSTORE 0 1) in the init code to see if the CREATE succeeds or not
Diffstat (limited to 'src')
-rw-r--r-- | src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_0_0_following_successful_createFiller.json | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_0_0_following_successful_createFiller.json b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_0_0_following_successful_createFiller.json index 421215345..a0fc298f9 100644 --- a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_0_0_following_successful_createFiller.json +++ b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_0_0_following_successful_createFiller.json @@ -20,6 +20,9 @@ "storage" : { "0x00" : "0x01" } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "shouldexist" : false } } }, @@ -34,6 +37,11 @@ "storage" : { "0x00" : "0x00" } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "storage" : { + "0x00" : "0x01" + } } } } @@ -41,7 +49,8 @@ "pre" : { "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "0x00", - "code" : "{ (create (STOP)) (RETURNDATACOPY 0 0 0) (SSTORE 0 (MLOAD 0)) }", + "code" : "create should succeed. RETURNDATACOPY should also succeed in Metropolis.", + "code" : "{ (create 0 0 (lll {(SSTORE 0 1)} 0)) (RETURNDATACOPY 0 0 0) (SSTORE 0 0) }", "nonce" : "0x00", "storage" : { "0x00" : "0x01" |