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/stEIP158Specific | |
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/stEIP158Specific')
3 files changed, 73 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stEIP158Specific/EXP_EmptyFiller.json b/src/GeneralStateTestsFiller/stEIP158Specific/EXP_EmptyFiller.json index 5b19922f4..209d8c8a1 100644 --- a/src/GeneralStateTestsFiller/stEIP158Specific/EXP_EmptyFiller.json +++ b/src/GeneralStateTestsFiller/stEIP158Specific/EXP_EmptyFiller.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=EIP158"], + "network" : ["EIP158", "Byzantium"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "//comment" : "https://etherpad.net/p/EIP158", @@ -43,6 +43,34 @@ "gas" : -1, "value" : -1 }, + "network" : [">=Constantinople"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "//comment" : "https://etherpad.net/p/EIP158", + "storage" : { + "0x00" : "0x08d5b6", + "0x02" : "0x088684", + "0x03" : "0x01", + "0x04" : "0x07ea2c", + "0x06" : "0x07999c", + "0x08" : "0x07477c", + "0x0a" : "0x06f23c", + "0x0b" : "0x01", + "0x0c" : "0x0655e4", + "0x0d" : "0x01", + "0x0e" : "0x05b98c", + "0x0f" : "0x01", + "0x64" : "0x051d34" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, "network" : ["EIP150"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { diff --git a/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toEpmtyFiller.json b/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toEpmtyFiller.json index 922a3f193..48a8dad8e 100644 --- a/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toEpmtyFiller.json +++ b/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toEpmtyFiller.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=EIP158"], + "network" : ["EIP158", "Byzantium"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0", @@ -31,6 +31,29 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "nonce" : "0", + "code" : "", + "storage": { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x64" : "0x088407" + } + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toNonExistentFiller.json b/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toNonExistentFiller.json index 8f0b50897..5f2e056f8 100644 --- a/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toNonExistentFiller.json +++ b/src/GeneralStateTestsFiller/stEIP158Specific/EXTCODESIZE_toNonExistentFiller.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : [">=EIP158"], + "network" : ["EIP158", "Byzantium"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "shouldnotexist" : "1" @@ -27,6 +27,25 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "shouldnotexist" : "1" + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x64" : "0x088407" + } + } + } } ], "pre" : |