From e77d3ba583810fd2a41248270fb36e08dfe5f38e Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 25 Sep 2018 15:40:09 +0300 Subject: correct Constantinople expect section in state tests --- .../TouchToEmptyAccountRevert3Filler.json | 40 +++++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) (limited to 'src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json') diff --git a/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json b/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json index 94e867cb5..9f956ae07 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json +++ b/src/GeneralStateTestsFiller/stRevertTest/TouchToEmptyAccountRevert3Filler.json @@ -12,10 +12,10 @@ { "indexes" : { "data" : -1, - "gas" : -1, + "gas" : 0, "value" : -1 }, - "network" : [">Frontier"], + "network" : ["<=Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "balance" : "", @@ -25,6 +25,36 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "balance" : "", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : 0, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "shouldnotexist" : "1" + } + } } ], "pre" : @@ -60,14 +90,14 @@ "d94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", "nonce" : "0", - "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", + "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", "storage": { } }, "e94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", "nonce" : "0", - "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", + "code" : "{ (SELFDESTRUCT 0x1000000000000000000000000000000000000000) }", "storage": { } } @@ -77,7 +107,7 @@ "" ], "gasLimit" : [ - "82400" + "82400", "60000" ], "gasPrice" : "1", "nonce" : "0", -- cgit v1.2.3