From 54ccfeca377b54043921d2f97f23b05c3440f069 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Sun, 2 Jul 2017 19:54:57 +0300 Subject: convert to new tests --- .../randomStatetest61BCFiller.json | 123 +++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json (limited to 'src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json') diff --git a/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json new file mode 100644 index 000000000..49f31db6a --- /dev/null +++ b/src/BlockchainTestsFiller/bcRandomBlockhashTest/randomStatetest61BCFiller.json @@ -0,0 +1,123 @@ +{ + "randomStatetest61BC" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x7fffffffffffffff", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c350407f00000000000000000000000100000000000000000000000000000000000000006b39427d91741672", + "gasLimit" : "0x49bfbdd5", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xf6cb5bfe7d65cbfcc22709673c6f88d5b10121265b52192b1779d8a4cfacd338", + "s" : "0x0187221c58f9848922362455a12729acd3ce9da209b796b3d4fd8a9ce8dfe314", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", + "v" : "0x1b", + "value" : "0x6899bd45" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x6899bd45", + "code" : "0x7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c350407f00000000000000000000000100000000000000000000000000000000000000006b39427d9174167255", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x4563918244f46d62", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b33ec9d587", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } + }, + { + "network" : ["Metropolis"], + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x6899bd45", + "code" : "0x7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c350407f00000000000000000000000100000000000000000000000000000000000000006b39427d9174167255", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "5000000000000028782", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999998245065339", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "945304eb96065b2a98b57a48a06ae28d285a71b5", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x7fffffffffffffff", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x00", + "code" : "0x7f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000945304eb96065b2a98b57a48a06ae28d285a71b57ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f00000000000000000000000100000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000c350407f00000000000000000000000100000000000000000000000000000000000000006b39427d9174167255", + "nonce" : "0x00", + "storage" : { + } + }, + "0x945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0x2e", + "code" : "0x6000355415600957005b60203560003555", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +} -- cgit