From 431ac68e525a0616a4122f38826217e80699c8d5 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 3 Aug 2017 14:35:25 +0300 Subject: Transition tests with Byzantium --- .../ByzantiumTransitionFiller.json | 123 +++++++++++++++++++++ .../MetropolisTransitionFiller.json | 123 --------------------- 2 files changed, 123 insertions(+), 123 deletions(-) create mode 100644 src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json delete mode 100644 src/BlockchainTestsFiller/TransitionTests/bcEIP158ToMetropolis/MetropolisTransitionFiller.json (limited to 'src') diff --git a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json new file mode 100644 index 000000000..013612594 --- /dev/null +++ b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToByzantium/ByzantiumTransitionFiller.json @@ -0,0 +1,123 @@ +{ + "ByzantiumTransition" : { + "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" + }, + "network" : "EIP158ToByzantiumAt5", + "expect" : { + "1000000000000000000000000000000000000001" : { + "balance" : "2" + } + }, + "pre" : { + + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + } + }, + "blocks" : [ + { + "blocknumber" : "1", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "2", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "3", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "4", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "5", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "6", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "7", + "transactions" : [ + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "8", + "transactions" : [ + { + "data" : "", + "gasLimit" : "60000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + }, + { + "blocknumber" : "9", + "blockHeader" : { + "RelTimestamp" : "1000", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "60000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000001", + "value" : "1" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} diff --git a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToMetropolis/MetropolisTransitionFiller.json b/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToMetropolis/MetropolisTransitionFiller.json deleted file mode 100644 index 013612594..000000000 --- a/src/BlockchainTestsFiller/TransitionTests/bcEIP158ToMetropolis/MetropolisTransitionFiller.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "ByzantiumTransition" : { - "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" - }, - "network" : "EIP158ToByzantiumAt5", - "expect" : { - "1000000000000000000000000000000000000001" : { - "balance" : "2" - } - }, - "pre" : { - - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000000000", - "nonce" : "0", - "code" : "", - "storage": {} - } - }, - "blocks" : [ - { - "blocknumber" : "1", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "2", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "3", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "4", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "5", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "6", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "7", - "transactions" : [ - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "8", - "transactions" : [ - { - "data" : "", - "gasLimit" : "60000", - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000001", - "value" : "1" - } - ], - "uncleHeaders" : [ - ] - }, - { - "blocknumber" : "9", - "blockHeader" : { - "RelTimestamp" : "1000", - "updatePoW" : "1" - }, - "transactions" : [ - { - "data" : "", - "gasLimit" : "60000", - "gasPrice" : "1", - "nonce" : "1", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000001", - "value" : "1" - } - ], - "uncleHeaders" : [ - ] - } - ] - } -} -- cgit v1.2.3