From 2117e6033a6ada7354b22fde6cb4e878656fae01 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 5 Sep 2018 15:10:22 +0300 Subject: more create2 collision tests --- ...reate2collisionSelfdestructed_d2g0v0Filler.json | 116 +++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionSelfdestructed_d2g0v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionSelfdestructed_d2g0v0Filler.json') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionSelfdestructed_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionSelfdestructed_d2g0v0Filler.json new file mode 100644 index 000000000..d1e9d1140 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionSelfdestructed_d2g0v0Filler.json @@ -0,0 +1,116 @@ +{ + "create2collisionSelfdestructed_d2g0v0" : { + "_info" : { + "comment" : "collision with address that has been selfdestructed in the same transaction" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000600060006000600073ec2c6832d00680ece8ff9254f81fdab0a5a2ac5061c350f1506d6460016001556000526005601bf36000526000600e60126000f5", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xe273305d3f7274b4240a41448355f706a1a49a006a68367590f80753163238be", + "s" : "0x48999c9f182c1de512a97a387f0e09cbde89cfd668319658a1a3c8ec76872ba6", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Byzantium", + "result" : { + "0x0000000000000000000000000000000000000010" : { + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x01" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x0000000000000000000000000000000000000010" : { + "balance" : "0x01" + }, + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x01", + "nonce" : "0x02", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xec2c6832d00680ece8ff9254f81fdab0a5a2ac50" : { + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaf3ecba2fe09a4f6c19f16a9d119e44e08c2da01" : { + "balance" : "0x01", + "code" : "0x6010ff", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x01", + "code" : "0x6010ff", + "nonce" : "0x00", + "storage" : { + } + }, + "0xec2c6832d00680ece8ff9254f81fdab0a5a2ac50" : { + "balance" : "0x01", + "code" : "0x6010ff", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit