aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-05-17 01:35:20 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-05-24 20:37:49 +0800
commit93145aac182224a4ebe9bde818e06accd4d2e2f8 (patch)
tree02974a23d6dab9c90e111d58be4ae1bcc4bbe01e /src/GeneralStateTestsFiller
parent07567bbe7f0d60b5086f38c5653a1598f0a6c9a0 (diff)
downloadtangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar.gz
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar.bz2
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar.lz
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar.xz
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.tar.zst
tangerine-tests-93145aac182224a4ebe9bde818e06accd4d2e2f8.zip
Add a test for RETURNDATACOPY following a successful CALL
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r--src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_following_callFiller.json12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_following_callFiller.json b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_following_callFiller.json
index 973740481..6d0e4e009 100644
--- a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_following_callFiller.json
+++ b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_following_callFiller.json
@@ -1,5 +1,5 @@
{
- "returndatacopy_initial" : {
+ "returndatacopy_following_call" : {
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
@@ -32,7 +32,7 @@
"result" : {
"0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"storage" : {
- "0x00" : "0x00"
+ "0x00" : "0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff"
}
}
}
@@ -40,13 +40,17 @@
],
"pre" : {
"0x0aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "code" : "{ (MSTORE 0 0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff) (RETURN 0 32) }",
+ "balance" : "0x00",
+ "code" : "{ (seq (MSTORE 0 0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff) (RETURN 0 32)) }",
+ "code" : "0x7d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3",
"nonce" : "0x00",
"storage" : {
}
},
"0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "code" : "{ (CALL 0x0900000000 0x0aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6 0 0 0 0 32) (RETURNDATACOPY 0 0 32) (SSTORE 0 (MLOAD 0)) }",
+ "balance" : "0x00",
+ "code" : "{ (seq (CALL 0x0900000000 0x0aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6 0 0 0 0 0) (RETURNDATACOPY 0 0 32) (SSTORE 0 (MLOAD 0)) )}",
+ "code" : "0x60206000600060006000730aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6640900000000f1506020600060000e600051600055",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x01"