diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-07-10 23:56:20 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-07-14 18:24:07 +0800 |
commit | 8b084082eddbde956a0ece40f06489b49b93e3c3 (patch) | |
tree | 586331f457b780b473e649113743398ea04840ae | |
parent | 0ab9e8a17a86bebde7542d2510e95c739b741ad5 (diff) | |
download | dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar.gz dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar.bz2 dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar.lz dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar.xz dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.tar.zst dexon-tests-8b084082eddbde956a0ece40f06489b49b93e3c3.zip |
Expect zeros in the storage of an overwritten contract
-rw-r--r-- | GeneralStateTests/stCallCreateCallCodeTest/createJS_ExampleContract.json | 30 | ||||
-rw-r--r-- | src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json | 5 |
2 files changed, 20 insertions, 15 deletions
diff --git a/GeneralStateTests/stCallCreateCallCodeTest/createJS_ExampleContract.json b/GeneralStateTests/stCallCreateCallCodeTest/createJS_ExampleContract.json index b7d37a403..ae3ad8bff 100644 --- a/GeneralStateTests/stCallCreateCallCodeTest/createJS_ExampleContract.json +++ b/GeneralStateTests/stCallCreateCallCodeTest/createJS_ExampleContract.json @@ -2,7 +2,7 @@ "createJS_ExampleContract" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.e262eefd.Linux.g++", "source" : "/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json" }, "env" : { @@ -16,42 +16,50 @@ "post" : { "EIP150" : [ { - "hash" : "0x79cec0dcf78cfc0ce36fa009677ea0e155d1e0b455e5293392d44d03fbd37b30", + "hash" : "0xfa6ad7de38ebb87bba885a011b42db857ef3dbcad0785fa227a64c278cf67aa6", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 - } + }, + "logs" : [ + ] } ], "EIP158" : [ { - "hash" : "0xe2008905f4a23c83700e68796fcc26a6226605bab8ab75e382f3f4f133862667", + "hash" : "0x76778cf36d1b30637d2cfac4b7fe1101c6ba3c4e3485b2d7b0cf57e7da4e5f87", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 - } + }, + "logs" : [ + ] } ], "Frontier" : [ { - "hash" : "0xa16625e1f3cb3713fcfa0d5160b6b09d3ce45c712f1a9650412e5aa54fe1998e", + "hash" : "0xaa4a4f33edbf9933dec6709b7c6295e17707fb5b8bf9fd231490cd36aef1d730", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 - } + }, + "logs" : [ + ] } ], "Homestead" : [ { - "hash" : "0x79cec0dcf78cfc0ce36fa009677ea0e155d1e0b455e5293392d44d03fbd37b30", + "hash" : "0xfa6ad7de38ebb87bba885a011b42db857ef3dbcad0785fa227a64c278cf67aa6", "indexes" : { "data" : 0, "gas" : 0, "value" : 0 - } + }, + "logs" : [ + ] } ], "Metropolis" : [ @@ -61,7 +69,9 @@ "data" : 0, "gas" : 0, "value" : 0 - } + }, + "logs" : [ + ] } ] }, diff --git a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json index a869d5019..c6eba3239 100644 --- a/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json +++ b/src/GeneralStateTestsFiller/stCallCreateCallCodeTest/createJS_ExampleContractFiller.json @@ -15,11 +15,6 @@ "result" : { "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { "storage" : { - "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x01" : "0x42", - "0x02" : "0x23", - "0x03" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0x05" : "0x03e8" } } } |