diff options
author | Dimitry <winsvega@mail.ru> | 2017-08-01 14:11:00 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-08-01 14:11:00 +0800 |
commit | f71c2688e1a839f8429f7e94ec5e56bb182d82cf (patch) | |
tree | e9ad8d0e49e5717880a5bef10c332711d047f5b3 /GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json | |
parent | 092c0560e8084a05516430b8ed3a735290c969e1 (diff) | |
download | dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.gz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.bz2 dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.lz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.xz dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.tar.zst dexon-tests-f71c2688e1a839f8429f7e94ec5e56bb182d82cf.zip |
regenerate hive tests
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json | 543 |
1 files changed, 198 insertions, 345 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json b/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json index 9de78c67f..713c363c5 100644 --- a/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json +++ b/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json @@ -2,368 +2,221 @@ "RevertDepthCreateAddressCollision" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json" }, "env" : { - "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x020000", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x01", - "currentTimestamp" : "0x03e8", - "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "10000000", + "currentNumber" : "1", + "currentTimestamp" : "1000", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "post" : { - "EIP150" : [ - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x7560732379294ff6671be9416e3ef32c5bbea2785aee6eb590b4f0902565e9a1", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x202e9b30c59094b99dee8afcea83947ff626ee7a910486e25920f4fa7b2ecfb9", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x9406f62f8076b4aeda0df90dda740f7baf01a974a60a0e2f4a1c6d3b82d2dad0", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x351e539bd904c6a9c1f78675c78b4263f58f6922dfc3c92cc05ee30ef36c5f6b", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + "expect" : [ + { + "comment" : "NO OOG", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "network" : [ + "EIP158" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x06", + "code" : "0x", + "nonce" : "1", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x04" : "0x0c" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x02" : "0x08", + "0x03" : "0x0c" + } } } - ], - "EIP158" : [ - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x7560732379294ff6671be9416e3ef32c5bbea2785aee6eb590b4f0902565e9a1", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x202e9b30c59094b99dee8afcea83947ff626ee7a910486e25920f4fa7b2ecfb9", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x0c7b356c3b36ebac5243f47fccfe6f036e6fc039fdaa87696c897c42b79806f3", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x4e6ed5a94aa24414b64250913a2450a9fdcfd07a585fb83083e6215b898cd7b9", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + }, + { + "comment" : "NO OOG", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "network" : [ + "EIP150" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x06", + "code" : "0x", + "nonce" : "0", + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x04" : "0x0c" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + "0x02" : "0x08", + "0x03" : "0x0c" + } } } - ], - "Frontier" : [ - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xa4c92564fafcbf444c74b858c7dc9b9204c7a5337901022830016b213475e3a6", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xb6ee3d1d29671d2cd93222c0f2019e49dad12aee70f3a3591be6f27e04052a2c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + }, + { + "comment" : "NO OOG", + "indexes" : { + "data" : 1, + "gas" : 1, + "value" : 0 + }, + "network" : [ + "Frontier", + "Homestead" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } } } - ], - "Homestead" : [ - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xa4c92564fafcbf444c74b858c7dc9b9204c7a5337901022830016b213475e3a6", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xb6ee3d1d29671d2cd93222c0f2019e49dad12aee70f3a3591be6f27e04052a2c", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + }, + { + "comment" : "OOG in subcall", + "indexes" : { + "data" : 0, + "gas" : 1, + "value" : 0 + }, + "network" : [ + "ALL" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x06", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + "0x00" : "0x01", + "0x04" : "0x0c" + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } } } - ], - "Metropolis" : [ - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 0, - "gas" : 0, - "value" : 1 - } - }, - { - "hash" : "0x7560732379294ff6671be9416e3ef32c5bbea2785aee6eb590b4f0902565e9a1", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 0 - } - }, - { - "hash" : "0x202e9b30c59094b99dee8afcea83947ff626ee7a910486e25920f4fa7b2ecfb9", - "indexes" : { - "data" : 0, - "gas" : 1, - "value" : 1 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 0 - } - }, - { - "hash" : "0x222799d2ad41990338860221d0d59567fcb0ac058b7b72d962708a84cbace1ad", - "indexes" : { - "data" : 1, - "gas" : 0, - "value" : 1 + }, + { + "comment" : "OOG after subcall", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "network" : [ + "EIP158", + "EIP150" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 0 + } + }, + { + "comment" : "OOG after subcall", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "network" : [ + "Homestead", + "Frontier" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } } - }, - { - "hash" : "0xc0df71b65b1cca2a28025c9c81d3b3775f44d7378e192e51a9b15c3467a54d9a", - "indexes" : { - "data" : 1, - "gas" : 1, - "value" : 1 + } + }, + { + "comment" : "double OOG", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "network" : [ + "ALL" + ], + "result" : { + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "0x05", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", + "storage" : { + } + }, + "b000000000000000000000000000000000000000" : { + "storage" : { + } } } - ] - }, + } + ], "pre" : { - "0x3e180b1862f9d158abb5e519a6d8605540c23682" : { - "balance" : "0x05", - "code" : "0x60016000556000600060006000600073b000000000000000000000000000000000000000600035f1600155600c600455", - "nonce" : "0x36", + "3e180b1862f9d158abb5e519a6d8605540c23682" : { + "balance" : "5", + "code" : "{ [[0]] 1 [[1]] (CALL (CALLDATALOAD 0) 0xb000000000000000000000000000000000000000 0 0 0 0 0) [[4]] 12 }", + "nonce" : "54", "storage" : { } }, - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xe8d4a51000", + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", "code" : "", - "nonce" : "0x00", + "nonce" : "0", "storage" : { } }, - "0xb000000000000000000000000000000000000000" : { - "balance" : "0x00", - "code" : "0x6008600255600060006000f050600c600355", - "nonce" : "0x00", + "b000000000000000000000000000000000000000" : { + "balance" : "", + "code" : "{ [[2]] 8 (CREATE 0 0 0) [[3]] 12}", + "nonce" : "", "storage" : { } } @@ -374,16 +227,16 @@ "000000000000000000000000000000000000000000000000000000000001ea60" ], "gasLimit" : [ - "0x01adb0", - "0x027100" + "110000", + "160000" ], - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "3e180b1862f9d158abb5e519a6d8605540c23682", "value" : [ - "0x01", - "0x00" + "1", + "0" ] } } |