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 --- ...lcodecallcodecallcode_ABCB_RECURSIVEFiller.json | 39 +++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'src/GeneralStateTestsFiller/stCallDelegateCodesHomestead/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json') diff --git a/src/GeneralStateTestsFiller/stCallDelegateCodesHomestead/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallDelegateCodesHomestead/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json index 97f534b28..45eddde47 100644 --- a/src/GeneralStateTestsFiller/stCallDelegateCodesHomestead/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallDelegateCodesHomestead/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json @@ -1,5 +1,8 @@ { "callcodecallcodecallcode_ABCB_RECURSIVE" : { + "_info" : { + "comment" : "DELEGATECALL -> DELEGATECALL2 -> DELEGATECALl3 -> DELEGATECALL2 -> ..." + }, "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x20000", @@ -51,7 +54,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium", "EIP150"], + "network" : ["Byzantium", "EIP150"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -80,6 +83,40 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01", + "0x02" : "0x01" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0x00" + } + } + } } ], "pre" : { -- cgit