diff options
author | Dimitry <winsvega@mail.ru> | 2017-04-19 21:11:25 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-04-19 21:11:25 +0800 |
commit | 9a94561c4bfc455e1e1f824e1eb270a461fcfb5c (patch) | |
tree | 2f419da9125b7847ce9672a2d6c53a7d98449408 /src/BlockchainTestsFiller | |
parent | fdc75f449c1da36a7aa6f7b8631e78e0030b49a1 (diff) | |
download | dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar.gz dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar.bz2 dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar.lz dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar.xz dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.tar.zst dexon-tests-9a94561c4bfc455e1e1f824e1eb270a461fcfb5c.zip |
move blockhash tests to blockchain
Diffstat (limited to 'src/BlockchainTestsFiller')
-rw-r--r-- | src/BlockchainTestsFiller/bcStateTestFiller.json | 172 |
1 files changed, 171 insertions, 1 deletions
diff --git a/src/BlockchainTestsFiller/bcStateTestFiller.json b/src/BlockchainTestsFiller/bcStateTestFiller.json index 15a667782..ee652a313 100644 --- a/src/BlockchainTestsFiller/bcStateTestFiller.json +++ b/src/BlockchainTestsFiller/bcStateTestFiller.json @@ -32,7 +32,7 @@ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "100000", "nonce" : "0", - "code" : "{ (SUICIDE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) }", + "code" : "{ (SELFDESTRUCT 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) }", "storage": {} } }, @@ -414,5 +414,175 @@ ] } ] + }, + + "blockhashTests" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "231072", + "extraData" : "0x42", + "gasLimit" : "3141592", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x54c98c81", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "expect" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xf3e84e621de142f133287f90264739d758f79db2732336238d928d393d07c1fa", + "0x02" : "0x0000000000000000000000000000000000000000000000000000000000000000" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "948922" + }, + "295e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xf3e84e621de142f133287f90264739d758f79db2732336238d928d393d07c1fa", + "0x01" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x02" : "0x0000000000000000000000000000000000000000000000000000000000000000" + } + }, + "395e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xf3e84e621de142f133287f90264739d758f79db2732336238d928d393d07c1fa", + "0x01" : "0" + } + }, + "495e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "storage" : { + "0x00" : "0xf3e84e621de142f133287f90264739d758f79db2732336238d928d393d07c1fa" + } + } + }, + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 5) [[ 2 ]] (BLOCKHASH 4) }", + "nonce" : "0", + "storage" : { + } + }, + "195e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "0x61010043035b804050600556", + "nonce" : "0", + "storage" : { + } + }, + "295e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 4) [[ 2 ]] (BLOCKHASH 256) }", + "nonce" : "0", + "storage" : { + } + }, + "395e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 18446744073709551617) }", + "nonce" : "0", + "storage" : { + } + }, + "495e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "1000000000000000000", + "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 257) [[ 2 ]] (BLOCKHASH 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "blocks" : [ + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "0", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "195e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "0", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "295e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "0", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "395e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "0", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "495e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0" + } + ], + "uncleHeaders" : [ + ] + } + ] } } |