diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-10-13 23:40:04 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-10-18 00:42:34 +0800 |
commit | e5d71a2c1ee00682444efd26a1cd5e4fdd4abdea (patch) | |
tree | 954357512eae4ad3511f916303b7d370c0797164 /GeneralStateTests | |
parent | 6b5c0327ffbddc9aacae1e66cca68c8dd51f335d (diff) | |
download | tangerine-tests-e5d71a2c1ee00682444efd26a1cd5e4fdd4abdea.tar.gz tangerine-tests-e5d71a2c1ee00682444efd26a1cd5e4fdd4abdea.tar.zst tangerine-tests-e5d71a2c1ee00682444efd26a1cd5e4fdd4abdea.zip |
Add a test case about transaction calls A (CALL B(CALL C(RETURN) OOG) 'check buffers')
https://docs.google.com/spreadsheets/d/1xat7UI8GtB4ZGVdlK5_XQSHJZaMThi4SrlcL8XMZb5Q/edit#gid=1605675414&range=C37
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stReturnDataTest/returndatasize_after_oog_after_deeper.json | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_after_oog_after_deeper.json b/GeneralStateTests/stReturnDataTest/returndatasize_after_oog_after_deeper.json new file mode 100644 index 000000000..5dfc731a2 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatasize_after_oog_after_deeper.json @@ -0,0 +1,124 @@ +{ + "returndatasize_after_oog_after_deeper" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.b5a95200.Linux.g++", + "lllcversion" : "Version: 0.4.18-develop.2017.10.16+commit.c2fab07c.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_after_oog_after_deeperFiller.json", + "sourceHash" : "1b31d311482251667a8dd297f190145bacd1d3777be47cf014e6c3810e0cd2c6" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x4e72c77fb2cd5bc01cceb743f5e7bcd209cb0b01061d32690d1c624034c48716", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x828a153a2219d05fc54fa78970fb6ee3c7af5522bc73faffdc58a5d8df2986c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x828a153a2219d05fc54fa78970fb6ee3c7af5522bc73faffdc58a5d8df2986c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x828a153a2219d05fc54fa78970fb6ee3c7af5522bc73faffdc58a5d8df2986c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x828a153a2219d05fc54fa78970fb6ee3c7af5522bc73faffdc58a5d8df2986c0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x1000000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6020600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b620186a0f16002553d600055600051600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffff", + "0x01" : "0xffffffff", + "0x02" : "0xffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x100000000000", + "code" : "0x6000600060006000600073bb00000000000000000000000000000000000000620186a0f1505b60011560345760016000556025565b", + "nonce" : "0x00", + "storage" : { + } + }, + "0xbb00000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x60ff60005260206000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |