From b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 18 Apr 2017 18:02:50 +0300 Subject: correct zeroSigOOG test to touch nullsender account --- .../stTransactionTest/zeroSigTransactionOOG.json | 10 +++--- .../zeroSigTransactionOOGFiller.json | 40 ++++++++++++++++++++-- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json index 6af269aa1..4fdce89b7 100644 --- a/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json +++ b/GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json @@ -531,7 +531,7 @@ ], "Metropolis" : [ { - "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "hash" : "7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", "indexes" : { "data" : 0, "gas" : 0, @@ -563,7 +563,7 @@ } }, { - "hash" : "e2830d5ee03749aa8db4754366e73e851f3f7bf3aa3ce258f75a10af526ad0ed", + "hash" : "d506140af993cf273f1e9984a13cd06c1d469640180a5b5a78907e75ae230098", "indexes" : { "data" : 0, "gas" : 2, @@ -579,7 +579,7 @@ } }, { - "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "hash" : "7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", "indexes" : { "data" : 0, "gas" : 3, @@ -595,7 +595,7 @@ } }, { - "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "hash" : "7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", "indexes" : { "data" : 1, "gas" : 0, @@ -643,7 +643,7 @@ } }, { - "hash" : "ae5f6090817aeb40d7d5cf104f738261f67c510ad973e06e8982124f9d1da856", + "hash" : "7bfed3b071d3fde42caf517a24c3a4361124eff0c63743de92b847eeb162d526", "indexes" : { "data" : 1, "gas" : 3, diff --git a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json index 3e74db2f7..38de2584b 100644 --- a/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json +++ b/src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json @@ -15,7 +15,43 @@ "gas" : [1,2], "value" : -1 }, - "network" : ["ALL"], + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : 0, + "gas" : [1], + "value" : -1 + }, + "network" : ["EIP158", "Metropolis"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x00" + } + }, + "ffffffffffffffffffffffffffffffffffffffff" : { + "nonce" : "0" + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : [1,2], + "value" : -1 + }, + "network" : ["EIP158", "Metropolis"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -41,7 +77,7 @@ } }, "ffffffffffffffffffffffffffffffffffffffff" : { - "nonce" : "0" + "shouldnotexist" : "1" } } } -- cgit