aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-06-30 19:50:37 +0800
committerDimitry <winsvega@mail.ru>2017-07-03 21:41:53 +0800
commit37d74dfff152154adec9eecd6f7af6bbb14e6a5d (patch)
treede949a6256c876bdeb3d059bfabb5e39f6c1b022 /src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json
parentdfe6671759aa14b3db374304eed93a0d7410a39f (diff)
downloadtangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar.gz
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar.bz2
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar.lz
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar.xz
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.tar.zst
tangerine-tests-37d74dfff152154adec9eecd6f7af6bbb14e6a5d.zip
update bctests to gbctests
Diffstat (limited to 'src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json')
-rw-r--r--src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json b/src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json
new file mode 100644
index 000000000..213397c3c
--- /dev/null
+++ b/src/BlockchainTestsFiller/bcInvalidHeaderTest/wrongParentHashFiller.json
@@ -0,0 +1,67 @@
+{
+ "wrongParentHash" : {
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
+ "difficulty" : "131072",
+ "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" : [
+ {
+ "network" : ["ALL"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "100"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000000000",
+ "nonce" : "0",
+ "code" : "",
+ "storage": {}
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "100",
+ "nonce" : "0",
+ "code" : "{ (MSTORE 0 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (LOG1 0 32 0) }",
+ "storage": {}
+ }
+ },
+ "blocks" : [
+ {
+ "expectExceptionALL" : "UnknownParent",
+ "blockHeader" : {
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "50000",
+ "gasPrice" : "10",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "5000"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ]
+ }
+}