aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-04-18 23:02:50 +0800
committerDimitry <winsvega@mail.ru>2017-04-18 23:02:50 +0800
commitb6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3 (patch)
treebf457f52f0bc329311628a80bef5c2d716e790d7
parentef191fdc61cf76cdb9cdc147465fb447304b0ed2 (diff)
downloaddexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar.gz
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar.bz2
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar.lz
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar.xz
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.tar.zst
dexon-tests-b6b73cdcfa0e7a897e26efa81cafb96e08bfc8e3.zip
correct zeroSigOOG test to touch nullsender account
-rw-r--r--GeneralStateTests/stTransactionTest/zeroSigTransactionOOG.json10
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/zeroSigTransactionOOGFiller.json40
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"
}
}
}