diff options
translate bcStateTests into general blockchain tests
Diffstat (limited to 'src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json')
-rw-r--r-- | src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json b/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json new file mode 100644 index 000000000..36cb3b924 --- /dev/null +++ b/src/BlockchainTestsFiller/bcStateTests/suicideCoinbaseFiller.json @@ -0,0 +1,109 @@ +{ + "suicideCoinbase" : { + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1", + "difficulty" : "0x020000", + "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" : ["Frontier"], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "2002" + }, + "8888f1f195afa192cfee860698584c030f4c9db1" : { + "balance" : "5000000000000420000" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "9999472208", + "nonce" : "3" + } + } + }, + { + "network" : ["Homstead", "EIP150", "EIP158", "Metropolis"], + "result" : { + "0000000000000000000000000000000000000000" : { + "balance" : "2002" + }, + "8888f1f195afa192cfee860698584c030f4c9db1" : { + "balance" : "5000000000000420000" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "9999447208", + "nonce" : "3" + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000", + "nonce" : "0", + "code" : "", + "storage": {} + }, + "8888f1f195afa192cfee860698584c030f4c9db1" : { + "balance" : "1000", + "nonce" : "0", + "code" : "contract killer { function x() {suicide(msg.sender); }}", + "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900480630c55699c146037576035565b005b60406004506042565b005b3373ffffffffffffffffffffffffffffffffffffffff16ff5b56", + "storage": {} + } + }, + "blocks" : [ + { + "transactions" : [ + { + "data" : "0x0c55699c", + "gasLimit" : "0x07a120", + "gasPrice" : "0x0a", + "nonce" : "0x00", + "r" : "0x91fc4c402ced19b984e953546d3fc786c46a79c9f0c7918b8f3343dc529ef0e5", + "s" : "0x546d89230c90ca8bf7988a826430d4771ab3a67cc0f3cb8019d67ab10ec10524", + "to" : "8888f1f195afa192cfee860698584c030f4c9db1", + "v" : "0x1b", + "value" : "0x03e9" + }, + { + "data" : "0x", + "gasLimit" : "0xc350", + "gasPrice" : "0x0a", + "nonce" : "0x01", + "r" : "0xb03ab16ed211bf447ac030216ab088f18367ee51303545d2957990e9d3a28f10", + "s" : "0x7f18dd055139f7ac5558997b80ccae799ab6fbad2326799db509a9d4e5a52d72", + "to" : "0000000000000000000000000000000000000000", + "v" : "0x1b", + "value" : "0x03e8" + }, + { + "data" : "0x", + "gasLimit" : "0xc350", + "gasPrice" : "0x0a", + "nonce" : "0x02", + "r" : "0x0925abd1221d388622138f4bae46803313f297001e96fec22dc4268fca5b5a82", + "s" : "0x55cd8142bcec39f80b359aa089f6a70568d23a67048026703981fad9339ef5d4", + "to" : "0000000000000000000000000000000000000000", + "v" : "0x1b", + "value" : "0x03ea" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} |