diff options
author | Vitalik Buterin <v@buterin.com> | 2015-07-10 17:40:45 +0800 |
---|---|---|
committer | Vitalik Buterin <v@buterin.com> | 2015-07-10 17:40:52 +0800 |
commit | a056150c982c62eebeff5d16247882bc3b3a9dbe (patch) | |
tree | 5f5c98f1ffc1df4ee54659ec213dc9c231fe45ac | |
parent | fcf300ffe9233a8851918f6581b1f096182c0d66 (diff) | |
download | tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar.gz tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar.bz2 tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar.lz tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar.xz tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.tar.zst tangerine-tests-a056150c982c62eebeff5d16247882bc3b3a9dbe.zip |
Updated to include full genesis block header data
-rw-r--r-- | BlockchainTests/bcUncleHeaderValiditiy.json | 2 | ||||
-rw-r--r-- | GenesisTests/basic_genesis_tests.json | 40 | ||||
-rw-r--r-- | StateTests/stSpecialTest.json | 2 |
3 files changed, 31 insertions, 13 deletions
diff --git a/BlockchainTests/bcUncleHeaderValiditiy.json b/BlockchainTests/bcUncleHeaderValiditiy.json index cb57d05ed..ad01e6147 100644 --- a/BlockchainTests/bcUncleHeaderValiditiy.json +++ b/BlockchainTests/bcUncleHeaderValiditiy.json @@ -1745,4 +1745,4 @@ } } } -}
\ No newline at end of file +} diff --git a/GenesisTests/basic_genesis_tests.json b/GenesisTests/basic_genesis_tests.json index 4db5a8f73..d802d2830 100644 --- a/GenesisTests/basic_genesis_tests.json +++ b/GenesisTests/basic_genesis_tests.json @@ -1,7 +1,6 @@ { "test1": { - "nonce": "0x0000000000000042", - "difficulty": "17179869184", + "nonce": "0x123123123123123f", "alloc": { "9ca0e998df92c5351cecbbb6dba82ac2266f7e0c": { "code": "0x606060606060606060", @@ -13,11 +12,29 @@ "balance": "1234567000000000000000" } }, - "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0dd406a973a0a5a9826d00da276e996d28426d24f12b8fa683723e9db532b8c59a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0" + "timestamp": "1337", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "extraData": "0x686f727365", + "gasLimit": "5000", + "difficulty": "4194304", + "result": "f901fef901f9a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347943333333333333333333333333333333333333333a0dd406a973a0a5a9826d00da276e996d28426d24f12b8fa683723e9db532b8c59a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083400000808213888082053985686f727365a0000000000000000000000000000000000000000000000000000000000000000088123123123123123fc0c0", + "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "coinbase": "0x3333333333333333333333333333333333333333" }, - "test2": { + "test3": { "nonce": "0x0000000000000042", + "alloc": {}, + "timestamp": "1415926535", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "extraData": "0x03030303030303030303", + "gasLimit": "5000", "difficulty": "17179869184", + "result": "f90207f90202a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347943333333333333333333333333333333333333333a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000850400000000808213888084546553078a03030303030303030303a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0", + "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "coinbase": "0x3333333333333333333333333333333333333333" + }, + "test2": { + "nonce": "0xdeadbeefdeadbeef", "alloc": { "b9c015918bdaba24b4ff057a92a3873d6eb201be": { "wei": "1606938044258990275541962092341162602522202993782792835301376" @@ -56,12 +73,13 @@ "wei": "1606938044258990275541962092341162602522202993782792835301376" } }, - "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a09178d0f23c965d81f0834a4c72c6253ce6830f4022b1359aaebfc1ecba442d4ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0" - }, - "testempty": { - "nonce": "0x0000000000000042", - "difficulty": "17179869184", - "alloc": {}, - "result": "f901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000085040000000080832fefd8808080a00000000000000000000000000000000000000000000000000000000000000000880000000000000042c0c0" + "timestamp": "0", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "extraData": "0x", + "gasLimit": "3141592", + "difficulty": "131072", + "result": "f901f8f901f3a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347943333333333333333333333333333333333333333a09178d0f23c965d81f0834a4c72c6253ce6830f4022b1359aaebfc1ecba442d4ea056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080832fefd8808080a0000000000000000000000000000000000000000000000000000000000000000088deadbeefdeadbeefc0c0", + "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "coinbase": "0x3333333333333333333333333333333333333333" } } diff --git a/StateTests/stSpecialTest.json b/StateTests/stSpecialTest.json index 9a41ef6e0..50270aad1 100644 --- a/StateTests/stSpecialTest.json +++ b/StateTests/stSpecialTest.json @@ -860,4 +860,4 @@ "value" : "0x0186a0" } } -}
\ No newline at end of file +} |