diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-09-08 18:26:56 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-09-27 01:23:38 +0800 |
commit | 64d839c52c70db0fd84ffa41fd1e5dffcc041153 (patch) | |
tree | 9bc5fa56127200a18ab484d18dfead6e6192168e /src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json | |
parent | 8977eb93e97f88b0c8e7b434ce137a9122fd90c5 (diff) | |
download | tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar.gz tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar.bz2 tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar.lz tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar.xz tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.tar.zst tangerine-tests-64d839c52c70db0fd84ffa41fd1e5dffcc041153.zip |
Rename bcUncleHeaderValiditiy into bcUncleHeaderValidity
Diffstat (limited to 'src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json')
-rw-r--r-- | src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json b/src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json new file mode 100644 index 000000000..e13137ba2 --- /dev/null +++ b/src/BlockchainTestsFiller/bcUncleHeaderValidity/nonceWrongFiller.json @@ -0,0 +1,98 @@ +{ + "nonceWrong" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "231072", + "extraData" : "0x42", + "gasLimit" : "3141592", + "gasUsed" : "0", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x54c98c81", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "expect" : [ + { + "network" : ["ALL"], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "10" + }, + "0000000000000000000000000000000000000000" : { + "nonce" : "2" + }, + "0000000000000000000000000000000000000000" : { + "balance" : "10" + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "blocks" : [ + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "314159", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "314159", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0000000000000000000000000000000000000000", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "expectExceptionALL" : "InvalidBlockNonce", + "transactions" : [ + { + "data" : "", + "gasLimit" : "314159", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + { + "nonce" : "bad524c1790fa83b", + "populateFromBlock" : "1", + "overwriteAndRedoPoW" : "nonce" + } + ] + } + ] + } +} |