diff options
Diffstat (limited to 'src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead')
7 files changed, 1033 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/CallContractThatCreateContractBeforeAndAfterSwitchoverFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/CallContractThatCreateContractBeforeAndAfterSwitchoverFiller.json new file mode 100644 index 000000000..7604d884c --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/CallContractThatCreateContractBeforeAndAfterSwitchoverFiller.json @@ -0,0 +1,139 @@ +{ + "CallContractThatCreateContractBeforeAndAfterSwitchover" : { + "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" : { + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x020100", + "0x02" : "0x01e459" + } + }, + "5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643" : { + "storage" : { + "0x01" : "0x020000", + "0x02" : "0x01058c" + } + }, + "5f8bd49cd9f0cb2bd5bb9d4320dfe9b61023249d" : { + "storage" : { + "0x01" : "0x020100", + "0x02" : "0x01058c" + } + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + }, + "1000000000000000000000000000000000000001" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "{ [[ 1 ]] (DIFFICULTY) [[ 2 ]] (GAS) (CODECOPY 0 0 32) (CREATE 0 0 32) }", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "noBlockChainHistory" : "1", + "blocks" : [ + { + "blocknumber" : "1", + "transactions" : [ + { + "data" : "", + "gasLimit" : "180000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "1", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/ContractCreationFailsOnHomesteadFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/ContractCreationFailsOnHomesteadFiller.json new file mode 100644 index 000000000..2135031ba --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/ContractCreationFailsOnHomesteadFiller.json @@ -0,0 +1,117 @@ +{ + "ContractCreationFailsOnHomestead" : { + "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" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "4" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "blocks" : [ + { + "blocknumber" : "1", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/HomesteadOverrideFrontierFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/HomesteadOverrideFrontierFiller.json new file mode 100644 index 000000000..06edbb631 --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/HomesteadOverrideFrontierFiller.json @@ -0,0 +1,161 @@ +{ + "HomesteadOverrideFrontier" : { + "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" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "noBlockChainHistory" : "1", + "blocks" : [ + { + "blocknumber" : "1", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + { + "data" : "", + "gasLimit" : "130000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "F", + "chainnetwork" : "Frontier", + "expectExceptionALL" : "OutOfGasIntrinsic", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "6", + "chainname" : "F", + "chainnetwork" : "Frontier", + "expectExceptionALL" : "UnknownParent", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "1", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "130000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UncleFromFrontierInHomesteadFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UncleFromFrontierInHomesteadFiller.json new file mode 100644 index 000000000..1d6c49eaf --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UncleFromFrontierInHomesteadFiller.json @@ -0,0 +1,139 @@ +{ + "UncleFromFrontierInHomestead" : { + "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" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "blocks" : [ + { + "blocknumber" : "1", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "1", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "H", + "transactions" : [ + { + "data" : "", + "gasLimit" : "130000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "6", + "chainname" : "H", + "expectExceptionALL" : "InvalidUncleParentHash", + "transactions" : [ + ], + "uncleHeaders" : [ + { + "chainname" : "F", + "populateFromBlock" : "3" + }, + { + "chainname" : "H", + "populateFromBlock" : "3" + } + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UnclePopulationFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UnclePopulationFiller.json new file mode 100644 index 000000000..98d2d29c1 --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/UnclePopulationFiller.json @@ -0,0 +1,98 @@ +{ + "UnclePopulation" : { + "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" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "blocks" : [ + { + "blocknumber" : "1", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "H", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "6", + "chainname" : "H", + "transactions" : [ + { + "data" : "", + "gasLimit" : "130000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + ], + "uncleHeaders" : [ + { + "chainname" : "H", + "populateFromBlock" : "4" + } + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchain2Filler.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchain2Filler.json new file mode 100644 index 000000000..91201a41f --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchain2Filler.json @@ -0,0 +1,146 @@ +{ + "blockChainFrontierWithLargerTDvsHomesteadBlockchain2" : { + "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" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "10" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "noBlockChainHistory" : "1", + "blocks" : [ + { + "blocknumber" : "1", + "chainname" : "A", + "blockHeader" : { + "RelTimestamp" : "24", + "updatePoW" : "1" + }, + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "A", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "90000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "1", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "F", + "chainnetwork" : "Frontier", + "expectExceptionALL" : "InvalidReceiptsStateRoot", + "transactions" : [ + { + "data" : "", + "gasLimit" : "90000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "30" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchainFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchainFiller.json new file mode 100644 index 000000000..8bc0cb176 --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcFrontierToHomestead/blockChainFrontierWithLargerTDvsHomesteadBlockchainFiller.json @@ -0,0 +1,233 @@ +{ + "blockChainFrontierWithLargerTDvsHomesteadBlockchain" : { + "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" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "5" + } + }, + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "network" : "FrontierToHomesteadAt5", + "noBlockChainHistory" : "1", + "blocks" : [ + { + "blocknumber" : "1", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "A", + "transactions" : [ + { + "data" : "", + "gasLimit" : "70000", + "gasPrice" : "1", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "11" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "1", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "2", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "chainname" : "F", + "chainnetwork" : "Frontier", + "transactions" : [ + { + "data" : "", + "gasLimit" : "30000", + "gasPrice" : "1", + "nonce" : "3", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "chainname" : "F", + "chainnetwork" : "Frontier", + "expectExceptionALL" : "InvalidReceiptsStateRoot", + "transactions" : [ + { + "data" : "", + "gasLimit" : "90000", + "gasPrice" : "1", + "nonce" : "4", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "6", + "chainname" : "F", + "chainnetwork" : "Frontier", + "expectExceptionALL" : "UnknownParent", + "transactions" : [ + { + "data" : "", + "gasLimit" : "90000", + "gasPrice" : "1", + "nonce" : "5", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} |