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/stDelegatecallTestHomestead | |
parent | 3f5febc901913ef698f1b09dda8705babd729e4a (diff) | |
download | dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.gz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.bz2 dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.lz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.xz dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.tar.zst dexon-tests-e77d3ba583810fd2a41248270fb36e08dfe5f38e.zip |
correct Constantinople expect section in state tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stDelegatecallTestHomestead')
4 files changed, 75 insertions, 7 deletions
diff --git a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024OOGFiller.json b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024OOGFiller.json index 4825cd7f9..c847c5d71 100644 --- a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024OOGFiller.json +++ b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024OOGFiller.json @@ -32,7 +32,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -42,6 +42,23 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x9b", + "0x01" : "0x01", + "0x02" : "0x025d79" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024PreCallsFiller.json b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024PreCallsFiller.json index 961ce032c..24620062d 100644 --- a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024PreCallsFiller.json +++ b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Call1024PreCallsFiller.json @@ -32,7 +32,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium"], + "network" : ["Byzantium"], "result" : { "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -43,6 +43,24 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x0401", + "0x01" : "0x01", + "0x02" : "0x00", + "0x03" : "0x00" + } + } + } } ], "pre" : { diff --git a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/CallcodeLoseGasOOGFiller.json b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/CallcodeLoseGasOOGFiller.json index 382e58ed4..11d40df81 100644 --- a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/CallcodeLoseGasOOGFiller.json +++ b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/CallcodeLoseGasOOGFiller.json @@ -12,10 +12,10 @@ { "indexes" : { "data" : -1, - "gas" : -1, + "gas" : 0, "value" : -1 }, - "network" : ["Frontier", ">=Byzantium"], + "network" : ["Frontier", "Byzantium"], "result" : { "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -28,7 +28,7 @@ { "indexes" : { "data" : -1, - "gas" : -1, + "gas" : 0, "value" : -1 }, "network" : ["Homestead"], @@ -40,6 +40,22 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : 1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00", + "0x02" : "0x00" + } + } + } } ], "pre" : { @@ -70,7 +86,7 @@ "" ], "gasLimit" : [ - "166262" + "166262", "156262" ], "gasPrice" : "1", "nonce" : "", diff --git a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Delegatecall1024OOGFiller.json b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Delegatecall1024OOGFiller.json index 1d5d3b191..c123605f8 100644 --- a/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Delegatecall1024OOGFiller.json +++ b/src/GeneralStateTestsFiller/stDelegatecallTestHomestead/Delegatecall1024OOGFiller.json @@ -32,7 +32,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=Byzantium", "EIP150"], + "network" : ["Byzantium", "EIP150"], "result" : { "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -42,6 +42,23 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x9b", + "0x01" : "0x01", + "0x02" : "0x025d79" + } + } + } } ], "pre" : { |