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 --- .../create2collisionSelfdestructedFiller.json | 72 +++++++++++++++++++++- 1 file changed, 70 insertions(+), 2 deletions(-) (limited to 'src/GeneralStateTestsFiller/stCreate2/create2collisionSelfdestructedFiller.json') diff --git a/src/GeneralStateTestsFiller/stCreate2/create2collisionSelfdestructedFiller.json b/src/GeneralStateTestsFiller/stCreate2/create2collisionSelfdestructedFiller.json index 1fb17c1ea..a92a87088 100644 --- a/src/GeneralStateTestsFiller/stCreate2/create2collisionSelfdestructedFiller.json +++ b/src/GeneralStateTestsFiller/stCreate2/create2collisionSelfdestructedFiller.json @@ -36,7 +36,7 @@ }, { "indexes" : { - "data" : -1, + "data" : 0, "gas" : -1, "value" : -1 }, @@ -59,6 +59,58 @@ "nonce" : "1" } } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "af3ecba2fe09a4f6c19f16a9d119e44e08c2da01" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000010" : { + "balance" : "0x01" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "1", + "nonce" : "2", + "storage" : { + "0x00" : "0x00" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : 2, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "ec2c6832d00680ece8ff9254f81fdab0a5a2ac50" : { + "shouldnotexist" : "1" + }, + "0000000000000000000000000000000000000010" : { + "balance" : "0x01" + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "1", + "nonce" : "2", + "storage" : { + "0x00" : "0x00" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } } ], "pre" : { @@ -75,11 +127,27 @@ "nonce" : "0", "storage" : { } + }, + "af3ecba2fe09a4f6c19f16a9d119e44e08c2da01" : { + "balance" : "1", + "code" : "{ (SELFDESTRUCT 0x10) }", + "nonce" : "0", + "storage" : { + } + }, + "ec2c6832d00680ece8ff9254f81fdab0a5a2ac50" : { + "balance" : "1", + "code" : "{ (SELFDESTRUCT 0x10) }", + "nonce" : "0", + "storage" : { + } } }, "transaction" : { "data" : [ - "{ (CALL 50000 0xe2b35478fdd26477cc576dd906e6277761246a3c 0 0 0 0 0) (CREATE2 0 0 0 0) }" + "{ (CALL 50000 0xe2b35478fdd26477cc576dd906e6277761246a3c 0 0 0 0 0) (CREATE2 0 0 0 0) }", + "{ (CALL 50000 0xaf3ecba2fe09a4f6c19f16a9d119e44e08c2da01 0 0 0 0 0) (MSTORE 0 0x6001600155) (CREATE2 0 27 5 0) }", + "{ (CALL 50000 0xec2c6832d00680ece8ff9254f81fdab0a5a2ac50 0 0 0 0 0) (MSTORE 0 0x6460016001556000526005601bf3) (CREATE2 0 18 14 0) }" ], "gasLimit" : [ "400000" -- cgit