From 11816618f011415b5d6d878961ba37357eb68ab1 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 14 Jul 2015 13:12:37 +0200 Subject: [PATCH] rpc api test filler with fork simulation --- .../bcRPC_API_TestFiller.json | 68 ++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/test/libethereum/BlockchainTestsFiller/bcRPC_API_TestFiller.json b/test/libethereum/BlockchainTestsFiller/bcRPC_API_TestFiller.json index b31f1fa48..4a08a59df 100644 --- a/test/libethereum/BlockchainTestsFiller/bcRPC_API_TestFiller.json +++ b/test/libethereum/BlockchainTestsFiller/bcRPC_API_TestFiller.json @@ -27,6 +27,7 @@ }, "blocks" : [ { + "blocknumber" : "1", "transactions" : [ { "data" : "create contract: 6295ee1b4f6dd65047762f924ecd367c17eabf8f", @@ -42,7 +43,8 @@ "uncleHeaders" : [ ] }, - { + { + "blocknumber" : "2", "transactions" : [ { "data" : "getBool", @@ -59,6 +61,7 @@ ] }, { + "blocknumber" : "3", "transactions" : [ { "data" : "getInt8", @@ -75,6 +78,7 @@ ] }, { + "blocknumber" : "4", "transactions" : [ { "data" : "getUint8", @@ -127,6 +131,7 @@ ] }, { + "blocknumber" : "5", "transactions" : [ { "data" : "getInt256", @@ -143,6 +148,7 @@ ] }, { + "blocknumber" : "6", "transactions" : [ { "data" : "getUint256", @@ -159,6 +165,7 @@ ] }, { + "blocknumber" : "7", "transactions" : [ { "data" : "getAddress", @@ -175,6 +182,7 @@ ] }, { + "blocknumber" : "8", "transactions" : [ { "data" : "getBytes32", @@ -191,6 +199,7 @@ ] }, { + "blocknumber" : "9", "transactions" : [ { "data" : "setBool", @@ -207,6 +216,7 @@ ] }, { + "blocknumber" : "10", "transactions" : [ { "data" : "setBool", @@ -223,6 +233,7 @@ ] }, { + "blocknumber" : "11", "transactions" : [ { "data" : "setInt8", @@ -239,6 +250,7 @@ ] }, { + "blocknumber" : "12", "transactions" : [ { "data" : "setUint8", @@ -255,6 +267,7 @@ ] }, { + "blocknumber" : "13", "transactions" : [ { "data" : "setInt256", @@ -271,6 +284,7 @@ ] }, { + "blocknumber" : "14", "transactions" : [ { "data" : "setUint256", @@ -287,6 +301,7 @@ ] }, { + "blocknumber" : "15", "transactions" : [ { "data" : "setAddress", @@ -303,6 +318,7 @@ ] }, { + "blocknumber" : "16", "transactions" : [ { "data" : "setBytes32", @@ -319,6 +335,7 @@ ] }, { + "blocknumber" : "17", "transactions" : [ { "data" : "getInt8", @@ -335,6 +352,7 @@ ] }, { + "blocknumber" : "18", "transactions" : [ { "data" : "getUint8", @@ -351,6 +369,7 @@ ] }, { + "blocknumber" : "19", "transactions" : [ { "data" : "getInt256", @@ -367,6 +386,7 @@ ] }, { + "blocknumber" : "20", "transactions" : [ { "data" : "getUint256", @@ -383,6 +403,7 @@ ] }, { + "blocknumber" : "21", "transactions" : [ { "data" : "getAddress", @@ -399,6 +420,7 @@ ] }, { + "blocknumber" : "22", "transactions" : [ { "data" : "getBytes32", @@ -415,6 +437,7 @@ ] }, { + "blocknumber" : "23", "transactions" : [ { "data" : "log0", @@ -431,6 +454,7 @@ ] }, { + "blocknumber" : "24", "transactions" : [ { "data" : "log0a", @@ -447,6 +471,7 @@ ] }, { + "blocknumber" : "25", "transactions" : [ { "data" : "log1", @@ -463,6 +488,7 @@ ] }, { + "blocknumber" : "26", "transactions" : [ { "data" : "log1a", @@ -479,6 +505,41 @@ ] }, { + "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", @@ -495,6 +556,7 @@ ] }, { + "blocknumber" : "28", "transactions" : [ { "data" : "log2a", @@ -511,6 +573,7 @@ ] }, { + "blocknumber" : "29", "transactions" : [ { "data" : "log3", @@ -527,6 +590,7 @@ ] }, { + "blocknumber" : "30", "transactions" : [ { "data" : "log3a", @@ -543,6 +607,7 @@ ] }, { + "blocknumber" : "31", "transactions" : [ { "data" : "log4", @@ -559,6 +624,7 @@ ] }, { + "blocknumber" : "32", "transactions" : [ { "data" : "log4a",