diff options
author | Dimitry <dimitry@ethereum.org> | 2018-08-16 01:05:39 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-08-27 20:18:05 +0800 |
commit | 6ebd4f17753ad633a7aeec98dc3f8fb2d629571a (patch) | |
tree | 32a2419c7b556b0d070f222435383f7c8fed4e70 /src/BlockchainTestsFiller/bcStateTests | |
parent | ad2184adca367c0b68c65b44519dba16e1d0b9e2 (diff) | |
download | tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar.gz tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar.bz2 tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar.lz tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar.xz tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.tar.zst tangerine-tests-6ebd4f17753ad633a7aeec98dc3f8fb2d629571a.zip |
create2 test
Diffstat (limited to 'src/BlockchainTestsFiller/bcStateTests')
-rw-r--r-- | src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json b/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json new file mode 100644 index 000000000..b75a30c2c --- /dev/null +++ b/src/BlockchainTestsFiller/bcStateTests/create2collisionwithSelfdestructSameBlockFiller.json @@ -0,0 +1,89 @@ +{ + "create2collisionwithSelfdestructSameBlock" : { + "_info" : { + "comment" : "collision with address that has been selfdesturcted by another transaction in the same block" + }, + "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" : ["Constantinople"], + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x02" + }, + "0x0000000000000000000000000000000000000010" : { + "balance" : "1" + }, + "0x22a4ec9c035f66874f234c3a5bc7e18073e89057" : { + "nonce" : "1" + }, + "0xec0e71ad0a90ffe1909d27dac207f7680abba42d" : { + "balance" : "10", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + } + } + } + ], + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "ec0e71ad0a90ffe1909d27dac207f7680abba42d" : { + "balance" : "1", + "nonce" : "3", + "code" : "{ (SELFDESTRUCT 0x10) }", + "storage": {} + } + }, + "sealEngine" : "NoProof", + "blocks" : [ + { + "transactions" : [ + { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "ec0e71ad0a90ffe1909d27dac207f7680abba42d", + "value" : "0" + }, + { + "data" : "{ (CREATE2 0 0 0 0) }", + "gasLimit" : "150000", + "gasPrice" : "1", + "nonce" : "1", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "10" + } + ], + "uncleHeaders" : [ + ] + } + ] + } +} |