From 37d74dfff152154adec9eecd6f7af6bbb14e6a5d Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 30 Jun 2017 14:50:37 +0300 Subject: update bctests to gbctests --- .../bcGasPricerTest/highGasUsageFiller.json | 215 +++++++++++++++++++++ .../bcGasPricerTest/notxsFiller.json | 185 ++++++++++++++++++ 2 files changed, 400 insertions(+) create mode 100644 src/BlockchainTestsFiller/bcGasPricerTest/highGasUsageFiller.json create mode 100644 src/BlockchainTestsFiller/bcGasPricerTest/notxsFiller.json (limited to 'src/BlockchainTestsFiller/bcGasPricerTest') diff --git a/src/BlockchainTestsFiller/bcGasPricerTest/highGasUsageFiller.json b/src/BlockchainTestsFiller/bcGasPricerTest/highGasUsageFiller.json new file mode 100644 index 000000000..f8ae319c9 --- /dev/null +++ b/src/BlockchainTestsFiller/bcGasPricerTest/highGasUsageFiller.json @@ -0,0 +1,215 @@ +{ + "highGasUsage" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "31415920", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x54c98c81", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "expect" : [ + { + "network" : ["ALL"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "8999999995290239999999999890" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "8999999995290239999999999890" + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "9000000000000000000000000000", + "nonce" : "0", + "code" : "", + "storage": {} + }, + "aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "0x60003551", + "storage": {} + } + }, + "blocks" : [ + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "10000000000000", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "12000000000000", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "14000000000000", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "16000000000000", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "18000000000000", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "20000000000000", + "nonce" : "5", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "22000000000000", + "nonce" : "6", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "24000000000000", + "nonce" : "7", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "26000000000000", + "nonce" : "8", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "28000000000000", + "nonce" : "9", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + { + "data" : "0xffffffffffff", + "gasLimit" : "850000", + "gasPrice" : "30000000000000", + "nonce" : "10", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/bcGasPricerTest/notxsFiller.json b/src/BlockchainTestsFiller/bcGasPricerTest/notxsFiller.json new file mode 100644 index 000000000..84a1455c4 --- /dev/null +++ b/src/BlockchainTestsFiller/bcGasPricerTest/notxsFiller.json @@ -0,0 +1,185 @@ +{ + "notxs" : { + "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" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000" + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "blocks" : [ + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "transactions" : [ + ], + "uncleHeaders" : [ + ] + } + ] + } +} -- cgit