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 --- .../create2collisionBalance_d3g0v0Filler.json | 112 +++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionBalance_d3g0v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionBalance_d3g0v0Filler.json') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionBalance_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionBalance_d3g0v0Filler.json new file mode 100644 index 000000000..61af0c782 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2collisionBalance_d3g0v0Filler.json @@ -0,0 +1,112 @@ +{ + "create2collisionBalance_d3g0v0" : { + "_info" : { + "comment" : "create2 generates an account that already exists and has balance != 0" + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000600060006001f5", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xbcb8e3b988ef2600800744cbd56a589545f6835ba785bd1294cbfd4269475e5f", + "s" : "0x364cd8be570ac583145288da8593dce1f18b3886f33ef75133779d02babaec14", + "to" : "", + "v" : "0x1c", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Byzantium", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x01", + "nonce" : "0x00" + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x00", + "nonce" : "0x02" + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x02", + "nonce" : "0x01" + } + } + } + ], + "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" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xec2c6832d00680ece8ff9254f81fdab0a5a2ac50" : { + "balance" : "0x01", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +} \ No newline at end of file -- cgit