diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-02-19 21:41:57 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-02-19 21:41:57 +0800 |
commit | f8d98f7fcd08bd2eff36d5366ac2a14b52255d57 (patch) | |
tree | 99111d4f80ee4c436c99813ef8ffe7a7b16ee8ce /tests/files/StateTests/Homestead/stHomeSteadSpecific.json | |
parent | c305005d831eccf9d65c7b55f817390d2334e666 (diff) | |
parent | 5b283663b40dbc06c56cc481ef90f4365ab85724 (diff) | |
download | go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.gz go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.bz2 go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.lz go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.xz go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.tar.zst go-tangerine-f8d98f7fcd08bd2eff36d5366ac2a14b52255d57.zip |
Merge pull request #2116 from obscuren/homestead
core, core/vm: consensus changes necessary for the homestead release
Diffstat (limited to 'tests/files/StateTests/Homestead/stHomeSteadSpecific.json')
-rwxr-xr-x | tests/files/StateTests/Homestead/stHomeSteadSpecific.json | 327 |
1 files changed, 327 insertions, 0 deletions
diff --git a/tests/files/StateTests/Homestead/stHomeSteadSpecific.json b/tests/files/StateTests/Homestead/stHomeSteadSpecific.json new file mode 100755 index 000000000..147e20dcb --- /dev/null +++ b/tests/files/StateTests/Homestead/stHomeSteadSpecific.json @@ -0,0 +1,327 @@ +{ + "contractCreationOOGdontLeaveEmptyContract" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x0f4240", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0", + "nonce" : "0x01", + "storage" : { + "0x01" : "0x10" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x016b80", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x1b20", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "11ad11c6c73f16022220dad1de2eb827aa3c04fa651f7a7b15231ed98efab9bc", + "pre" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x016b80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "0x00" + } + }, + "contractCreationOOGdontLeaveEmptyContractViaTransaction" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x0f4240", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x6001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x017700", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0dcb40", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1", + "nonce" : "0x00", + "storage" : { + } + } + }, + "postStateRoot" : "3bf7f9264833e8b1c482690eb96ff127c5804cb11536146109a7db269eb6e989", + "pre" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x0186a0", + "code" : "0x6001600155", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1", + "gasLimit" : "0x017700", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "0x00" + } + }, + "createContractViaContract" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x0f4240", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000f0", + "nonce" : "0x01", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xcf11", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643" : { + "balance" : "0x00", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xb78f", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305", + "pre" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "0x00" + } + }, + "createContractViaContractOOGInitCode" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x0f4240", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6b602060406000f0600c600055600052600c60146000f0", + "nonce" : "0x01", + "storage" : { + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x019a54", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0da7ec", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "3ed62e62de530fa54f239e469de4b721b7d82d589ab12494390c3f518ae13d96", + "pre" : { + "1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6b602060406000f0600c600055600052600c60146000f0", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0f4240", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x019a54", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "0x00" + } + }, + "createContractViaTransactionCost53000" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x0f4240", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0xcf08", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xb798", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a", + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0186a0", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "0x0186a0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "0x00" + } + } +}
\ No newline at end of file |