From 35cfcf16190fc3e56ee11ead23452c633e2fca28 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 30 Nov 2016 16:45:00 +0300 Subject: General State Tests --- .../stRecursiveCreate/recursiveCreate.json | 85 ++++++++++++++++++++++ .../recursiveCreateReturnValue.json | 85 ++++++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100644 GeneralStateTests/stRecursiveCreate/recursiveCreate.json create mode 100644 GeneralStateTests/stRecursiveCreate/recursiveCreateReturnValue.json (limited to 'GeneralStateTests/stRecursiveCreate') diff --git a/GeneralStateTests/stRecursiveCreate/recursiveCreate.json b/GeneralStateTests/stRecursiveCreate/recursiveCreate.json new file mode 100644 index 000000000..cc47a3198 --- /dev/null +++ b/GeneralStateTests/stRecursiveCreate/recursiveCreate.json @@ -0,0 +1,85 @@ +{ + "recursiveCreate" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x989680", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "dae969656b73697b81572a709160104ca9521bbe111edbc58edb8f9238962424", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "7a598d472ac1ab495bbec7f2f48b8b05a3c1c4feade8cc9cfb9f71e7a711dbc0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "eee65c3186265472b087f52db4d1f5f9b9dc232c57b5749e1dd80a53165f6cb9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "eee65c3186265472b087f52db4d1f5f9b9dc232c57b5749e1dd80a53165f6cb9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x01312d00", + "code" : "0x60206000600039602060006000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "465224" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "100000" + ] + } + } +} \ No newline at end of file diff --git a/GeneralStateTests/stRecursiveCreate/recursiveCreateReturnValue.json b/GeneralStateTests/stRecursiveCreate/recursiveCreateReturnValue.json new file mode 100644 index 000000000..25d3bf2a2 --- /dev/null +++ b/GeneralStateTests/stRecursiveCreate/recursiveCreateReturnValue.json @@ -0,0 +1,85 @@ +{ + "recursiveCreateReturnValue" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x02540be400", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "c2a798315acf78203651d94d1b9d27d5a87c03d5a685e94c471889fe460f3b86", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "eed4be82aa0dde10ee02374b2819bb8139b434727471da31037c12dc57276218", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "5c22bc6ec2ea240c8170de424002a2b5c93bfd2b3ac1c2cf8cb92cb5f549b17d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "5c22bc6ec2ea240c8170de424002a2b5c93bfd2b3ac1c2cf8cb92cb5f549b17d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x01312d00", + "code" : "0x602060006000396001602060006000f001600055", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "1000000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "100000" + ] + } + } +} \ No newline at end of file -- cgit v1.2.3