diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-10-24 16:44:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 16:44:24 +0800 |
commit | ddd14bd2120abc164d6d124e535b785a21490e5c (patch) | |
tree | 70bda0280e2be8292a518f9db3c0b8ff4e7a694c /GeneralStateTests | |
parent | e0559b7587ab5880602852a15e929ba9512f05c5 (diff) | |
parent | 51eaea7aead9f372467f9821f586f509d237ef1b (diff) | |
download | dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar.gz dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar.bz2 dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar.lz dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar.xz dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.tar.zst dexon-tests-ddd14bd2120abc164d6d124e535b785a21490e5c.zip |
Merge pull request #363 from ethereum/modexp-modsize0-returnsize
Add tests about returndatasize following modexp calls of modsize = 0
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json | 246 |
1 files changed, 246 insertions, 0 deletions
diff --git a/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json b/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json new file mode 100644 index 000000000..9483ec013 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/modexp_modsize0_returndatasize.json @@ -0,0 +1,246 @@ +{ + "modexp_modsize0_returndatasize" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.a5d6e14b.Linux.g++", + "lllcversion" : "Version: 0.4.19-develop.2017.10.19+commit.4e7d1440.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json", + "sourceHash" : "c7322e90ec087f2997c7f48d728367470f032ce532ecc8b7b1c2d6f01609f375" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x02540be400", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc2d762d9e389d5934c467c93bea25e58f046320d32de2d8a0fdd24c9e2f680c4", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x3b83e328f824dc9db7d2649cff21de3e91d78022722d2218d67161be0fd6328b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x9a8dd36fe97d42e39efac42970f397a0e4383b7ab973e9269ba30c603d4dcd4a", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x7610515b047151df5635a272653b7a75c2913221a719b0e2817a6b1e1b927ed1", + "indexes" : { + "data" : 0, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8f77887ab8e98dde1bdbe7edabe0816a960a5a1bcce5f07a992f45a7ba73e0f5", + "indexes" : { + "data" : 0, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x36600060003760206103e8366000600060055af26001556103e8516002553d600355", + "nonce" : "0x00", + "storage" : { + "0x03" : "0xffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3635c9adc5dea00000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000101" + ], + "gasLimit" : [ + "0x05f5e100", + "0x015f90", + "0x01adb0", + "0x030d40" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000000", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |