diff options
author | Dimitry <winsvega@mail.ru> | 2017-10-17 19:54:06 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-10-17 19:54:06 +0800 |
commit | 3052ccf0bd479e97f8649fa758804409b40d4405 (patch) | |
tree | 4b7824ce7195586616ff4414a8f4e8d05c100d95 /GeneralStateTests/stReturnDataTest | |
parent | 4d9a898da124d8fda6b598e0d8a1897828cc666b (diff) | |
download | dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar.gz dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar.bz2 dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar.lz dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar.xz dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.tar.zst dexon-tests-3052ccf0bd479e97f8649fa758804409b40d4405.zip |
RETURNDATASIZE after a failing CALL (due to insufficient balance) should return 0
Diffstat (limited to 'GeneralStateTests/stReturnDataTest')
-rw-r--r-- | GeneralStateTests/stReturnDataTest/returndatasize_bug.json | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_bug.json b/GeneralStateTests/stReturnDataTest/returndatasize_bug.json new file mode 100644 index 000000000..784458363 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatasize_bug.json @@ -0,0 +1,115 @@ +{ + "returndatasize_bug" : { + "_info" : { + "comment" : "RETURNDATASIZE after a failing CALL (due to insufficient balance) should return 0", + "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++", + "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json", + "sourceHash" : "2bc31aabeff6ea5cc0f6c39fd1c8aa5a0bdad31bf5afc68833a7280b31736374" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xa03e4ebba49908d555c2193ec935cdb09bee58903e0205b4c1605c50c4266a32", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600061c3506001600af1506001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |