aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-07-07 21:47:06 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-07-10 17:45:31 +0800
commit029d8918d73809486fd8c851371f355277b0e6d5 (patch)
tree0cc6e802a2665f1e8c5e3023b79c88bc1c63c23b
parentd59c826dc78293f6190743d44339c1149bf386ff (diff)
downloaddexon-tests-029d8918d73809486fd8c851371f355277b0e6d5.tar.gz
dexon-tests-029d8918d73809486fd8c851371f355277b0e6d5.tar.zst
dexon-tests-029d8918d73809486fd8c851371f355277b0e6d5.zip
Max code size is enforced at EIP158, not at EIP150
-rw-r--r--GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json7
-rw-r--r--src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json4
2 files changed, 8 insertions, 3 deletions
diff --git a/GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json b/GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json
index 960c8b24f..25ca2ced9 100644
--- a/GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json
+++ b/GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json
@@ -1,5 +1,10 @@
{
"codesizeOOGInvalidSize" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.a724bd1b.Linux.g++",
+ "source" : "/src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json"
+ },
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x020000",
@@ -11,7 +16,7 @@
"post" : {
"EIP150" : [
{
- "hash" : "0xf4a92bf13d856a56cf6c8116417600dce83d0a8f3d13953424dbacb1baa2a3fe",
+ "hash" : "0x7a4cf6e89654deb5c906223784e50161be0fb8bfb5e851eebdc810362f812e79",
"indexes" : {
"data" : 0,
"gas" : 0,
diff --git a/src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json b/src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json
index 2286072a0..d1fd244ce 100644
--- a/src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json
+++ b/src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["EIP158", "EIP150"],
+ "network" : ["EIP158"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"shouldnotexist" : "1"
@@ -28,7 +28,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"balance" : "1"