diff options
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json')
-rw-r--r-- | GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json | 172 |
1 files changed, 98 insertions, 74 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json b/GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json index abdfb0ce5..3a11afd23 100644 --- a/GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json +++ b/GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json @@ -6,119 +6,143 @@ "source" : "/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchFiller.json" }, "env" : { - "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", + "currentCoinbase" : "0x68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da", "currentDifficulty" : "0x020000", - "currentGasLimit" : "4012015", - "currentNumber" : "1", - "currentTimestamp" : "1000", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + "currentGasLimit" : "0x3d37ef", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : [ - "EIP158" - ], - "result" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0" + "post" : { + "EIP150" : [ + { + "hash" : "0x424be5185a107f496bf82f63a1f0e0c533ff5913687ed87c4fd198637c439340", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "0000000000000000000000000000000000000002" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000003" : { - "balance" : "0" - }, - "0000000000000000000000000000000000000004" : { - "balance" : "0" + "logs" : [ + ] + } + ], + "EIP158" : [ + { + "hash" : "0x424be5185a107f496bf82f63a1f0e0c533ff5913687ed87c4fd198637c439340", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "0000000000000000000000000000000000000005" : { - "balance" : "0" + "logs" : [ + ] + } + ], + "Frontier" : [ + { + "hash" : "0x424be5185a107f496bf82f63a1f0e0c533ff5913687ed87c4fd198637c439340", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "0000000000000000000000000000000000000006" : { - "balance" : "0" + "logs" : [ + ] + } + ], + "Homestead" : [ + { + "hash" : "0x424be5185a107f496bf82f63a1f0e0c533ff5913687ed87c4fd198637c439340", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "0000000000000000000000000000000000000007" : { - "balance" : "0" + "logs" : [ + ] + } + ], + "Metropolis" : [ + { + "hash" : "0x424be5185a107f496bf82f63a1f0e0c533ff5913687ed87c4fd198637c439340", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 }, - "0000000000000000000000000000000000000008" : { - "balance" : "0" - } + "logs" : [ + ] } - } - ], + ] + }, "pre" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0", + "0x0000000000000000000000000000000000000001" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000002" : { - "balance" : "0", + "0x0000000000000000000000000000000000000002" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000003" : { - "balance" : "0", + "0x0000000000000000000000000000000000000003" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000004" : { - "balance" : "0", + "0x0000000000000000000000000000000000000004" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000005" : { - "balance" : "0", + "0x0000000000000000000000000000000000000005" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000006" : { - "balance" : "0", + "0x0000000000000000000000000000000000000006" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000007" : { - "balance" : "0", + "0x0000000000000000000000000000000000000007" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "0000000000000000000000000000000000000008" : { - "balance" : "0", + "0x0000000000000000000000000000000000000008" : { + "balance" : "0x00", "code" : "", - "nonce" : "0", + "nonce" : "0x00", "storage" : { } }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", "code" : "", - "nonce" : "1", + "nonce" : "0x01", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "code" : "{ (CALL 50000 1 0 0 0 0 0) (CALL 50000 2 0 0 0 0 0) (CALL 50000 3 0 0 0 0 0) (CALL 50000 4 0 0 0 0 0) (CALL 50000 5 0 0 0 0 0) (CALL 50000 6 0 0 0 0 0) (CALL 50000 7 0 0 0 0 0) (CALL 50000 8 0 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }", - "nonce" : "0", + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60006000600060006000600161c350f15060006000600060006000600261c350f15060006000600060006000600361c350f15060006000600060006000600461c350f15060006000600060006000600561c350f15060006000600060006000600661c350f15060006000600060006000600761c350f15060006000600060006000600861c350f1505a6001555a6002555a600355", + "nonce" : "0x00", "storage" : { } } @@ -128,14 +152,14 @@ "" ], "gasLimit" : [ - "60000" + "0xea60" ], - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "gasPrice" : "0x01", + "nonce" : "0x01", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : [ - "0" + "0x00" ] } } |