From 029d8918d73809486fd8c851371f355277b0e6d5 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Fri, 7 Jul 2017 15:47:06 +0200 Subject: Max code size is enforced at EIP158, not at EIP150 --- GeneralStateTests/stCodeSizeLimit/codesizeOOGInvalidSize.json | 7 ++++++- .../stCodeSizeLimit/codesizeOOGInvalidSizeFiller.json | 4 ++-- 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" -- cgit