{ "RPC_API_Test" : { "genesisBlockHeader" : { "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", "difficulty" : "131072", "extraData" : "0x42", "gasLimit" : "31415620", "gasUsed" : "0", "number" : "0", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", "timestamp" : "0x54c98c81", "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "nonce" : "0x0102030405060708", "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, "//" : "Lots of blocks in this tests + uncles. check the difficulty calculation", "sealEngine" : "Ethash", "expect" : [ { "network" : [">=Frontier"], "result" : { "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { "balance" : "320" } } } ], "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "10000000000000", "nonce" : "0", "code" : "", "storage": {} } }, "blocks" : [ { "blocknumber" : "1", "transactions" : [ { "data" : "create contract: 6295ee1b4f6dd65047762f924ecd367c17eabf8f", "data" : "0x5b5b610705806100106000396000f3006000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56", "gasLimit" : "3141592", "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "2", "transactions" : [ { "data" : "getBool", "data" : "0x12a7b914", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "1", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "3", "transactions" : [ { "data" : "getInt8", "data" : "0x57cb2fc4", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "2", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "4", "transactions" : [ { "data" : "getUint8", "data" : "0x343a875d", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "3", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ { "coinbase" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "populateFromBlock" : "1", "overwriteAndRedoPoW" : "coinbase" }, { "coinbase" : "bcde5374fce5edbc8e2a8697c15331677e6ebf0b", "populateFromBlock" : "1", "overwriteAndRedoPoW" : "coinbase" } ] }, { "blocknumber" : "5", "transactions" : [ { "data" : "getInt256", "data" : "0xf5b53e17", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "4", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "6", "transactions" : [ { "data" : "getUint256", "data" : "0x68895979", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "5", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "7", "transactions" : [ { "data" : "getAddress", "data" : "0x38cc4831", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "6", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "8", "transactions" : [ { "data" : "getBytes32", "data" : "0x1f903037", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "7", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "9", "transactions" : [ { "data" : "setBool", "data" : "0x1e26fd330000000000000000000000000000000000000000000000000000000000000001", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "8", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "10", "transactions" : [ { "data" : "setBool", "data" : "0x1e26fd330000000000000000000000000000000000000000000000000000000000000001", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "9", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "11", "transactions" : [ { "data" : "setInt8", "data" : "0x9a19a953fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "10", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "12", "transactions" : [ { "data" : "setUint8", "data" : "0x1774e6460000000000000000000000000000000000000000000000000000000000000008", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "11", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "13", "transactions" : [ { "data" : "setInt256", "data" : "0xa53b1c1effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffee", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "12", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "14", "transactions" : [ { "data" : "setUint256", "data" : "0xd2282dc5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffee", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "13", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "15", "transactions" : [ { "data" : "setAddress", "data" : "0xe30081a0aabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "14", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "16", "transactions" : [ { "data" : "setBytes32", "data" : "0xc2b12a73aabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "15", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "17", "transactions" : [ { "data" : "getInt8", "data" : "0x57cb2fc4", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "16", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "18", "transactions" : [ { "data" : "getUint8", "data" : "0x343a875d", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "17", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "19", "transactions" : [ { "data" : "getInt256", "data" : "0xf5b53e17", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "18", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "20", "transactions" : [ { "data" : "getUint256", "data" : "0x68895979", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "19", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "21", "transactions" : [ { "data" : "getAddress", "data" : "0x38cc4831", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "20", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "22", "transactions" : [ { "data" : "getBytes32", "data" : "0x1f903037", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "21", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "23", "transactions" : [ { "data" : "log0", "data" : "0x65538c73", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "22", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "24", "transactions" : [ { "data" : "log0a", "data" : "0xa6780857", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "23", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "25", "transactions" : [ { "data" : "log1", "data" : "0xb61c0503", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "24", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "26", "transactions" : [ { "data" : "log1a", "data" : "0x4e7ad367", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "25", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "27", "transactions" : [ { "data" : "log1", "data" : "0x4e7ad367", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "26", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "28", "transactions" : [ { "data" : "log1a", "data" : "0x4e7ad367", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "27", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "27", "transactions" : [ { "data" : "log2", "data" : "0x102accc1", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "26", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "28", "transactions" : [ { "data" : "log2a", "data" : "0x76bc21d9", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "27", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "29", "transactions" : [ { "data" : "log3", "data" : "0xf38b0600", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "28", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "30", "transactions" : [ { "data" : "log3a", "data" : "0xe8beef5b", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "29", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "31", "transactions" : [ { "data" : "log4", "data" : "0xfd408767", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "30", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] }, { "blocknumber" : "32", "transactions" : [ { "data" : "log4a", "data" : "0x9dc2c8f5", "gasLimit" : "314159", "gasPrice" : "1", "nonce" : "31", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", "to" : "6295ee1b4f6dd65047762f924ecd367c17eabf8f", "value" : "10" } ], "uncleHeaders" : [ ] } ] } }