diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-25 20:40:09 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-25 20:40:09 +0800 |
commit | e77d3ba583810fd2a41248270fb36e08dfe5f38e (patch) | |
tree | 544a9c05636acd53d5ef4972610a6877ddee9f38 /src/GeneralStateTestsFiller/stCallCodes | |
parent | 3f5febc901913ef698f1b09dda8705babd729e4a (diff) | |
download | tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.gz tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.bz2 tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.lz tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.xz tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.zst tangerine-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.zip |
correct Constantinople expect section in state tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stCallCodes')
8 files changed, 232 insertions, 8 deletions
diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcallcall_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcallcall_ABCB_RECURSIVEFiller.json index 72fc7b9a7..6ee7e0c82 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcallcall_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcallcall_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x00" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x00" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x01" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcallcallcode_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcallcallcode_ABCB_RECURSIVEFiller.json index e0617f7e4..c75d51f0f 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcallcallcode_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcallcallcode_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x00" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x00" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x01" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcallcodecall_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcallcodecall_ABCB_RECURSIVEFiller.json index b5e3bbaad..81427e87b 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcallcodecall_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcallcodecall_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x00" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x01" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcallcodecallcode_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcallcodecallcode_ABCB_RECURSIVEFiller.json index 87ea71d10..00ec6413e 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcallcodecallcode_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcallcodecallcode_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x00" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x01" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcall_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcall_ABCB_RECURSIVEFiller.json index dbfa61441..ba348caa5 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcall_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcall_ABCB_RECURSIVEFiller.json @@ -1,5 +1,8 @@ { "callcodecallcall_ABCB_RECURSIVE" : { + "_info" : { + "comment" : "CALLCODE -> CALL1 -> CALL2 -> CALL1 -> ..." + }, "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x20000", @@ -38,7 +41,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +65,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x01" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcallcode_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcallcode_ABCB_RECURSIVEFiller.json index c2dd9ba13..6d8a4382d 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcallcode_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcallcode_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,33 @@ "balance" : "568190" } } + }, + { + "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x00" : "0x01", + "0x01" : "0x01" + } + }, + "1000000000000000000000000000000000000001" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x00" + } + }, + "1000000000000000000000000000000000000002" : { + "storage" : { + "0x01" : "0x00", + "0x02" : "0x01" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecall_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecall_ABCB_RECURSIVEFiller.json index e09c04a98..e394e793b 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecall_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecall_ABCB_RECURSIVEFiller.json @@ -38,7 +38,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +62,34 @@ "balance" : "568190" } } + }, + { + "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" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json index c52f3d838..b14449846 100644 --- a/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json +++ b/src/GeneralStateTestsFiller/stCallCodes/callcodecallcodecallcode_ABCB_RECURSIVEFiller.json @@ -1,5 +1,8 @@ { "callcodecallcodecallcode_ABCB_RECURSIVE" : { + "_info" : { + "comment" : "CALLCODE -> CALLCODE2 -> CALLCODE3 -> CALLCODE2 -> ..." + }, "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", "currentDifficulty" : "0x20000", @@ -38,7 +41,7 @@ }, { "indexes" : { "data" : -1, "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "1000000000000000000000000000000000000000" : { "storage" : { @@ -62,6 +65,34 @@ "balance" : "568190" } } + }, + { + "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" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "575592" + } + } } ], "pre" : { |