aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stCreateTest
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-02-17 07:26:56 +0800
committerDimitry <dimitry@ethereum.org>2018-02-17 07:26:56 +0800
commit8918adf49471010bd91824b711e34e20af863586 (patch)
tree420face6eee5b2be25002228eeb448560f4304dd /src/GeneralStateTestsFiller/stCreateTest
parent40d055db4710d95ffc75d1cd26e53fbaaa015646 (diff)
downloadtangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar.gz
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar.bz2
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar.lz
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar.xz
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.tar.zst
tangerine-tests-8918adf49471010bd91824b711e34e20af863586.zip
fix stCreateTest
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreateTest')
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json62
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json23
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json6
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json22
4 files changed, 100 insertions, 13 deletions
diff --git a/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json
index 4eaea6a90..16a981211 100644
--- a/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json
+++ b/src/GeneralStateTestsFiller/stCreateTest/CreateCollisionToEmptyFiller.json
@@ -16,7 +16,7 @@
"indexes" : {
"data" : 0,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
@@ -41,8 +41,33 @@
{
"indexes" : {
"data" : 0,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "1000000000000000000000000000000000000000" : {
+ "nonce" : "0",
+ "storage" : {
+
+ }
+ },
+ "13136008b64ff592819b2fa6d43f2835c452020e" : {
+ "nonce" : "0",
+ "code" : "",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : 0,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : [">=EIP158"],
"result" : {
@@ -66,11 +91,36 @@
},
{
"indexes" : {
+ "data" : [1,2],
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : ["EIP158", ">=Byzantium"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "2000000000000000000000000000000000000000" : {
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ },
+ "0bf4c804e0579073baf54ec4ec37cd04f3455c65" : {
+ "nonce" : "2",
+ "code" : "",
+ "storage" : {
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
"data" : 1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
- "network" : ["EIP158", "Byzantium"],
+ "network" : ["EIP158", ">=Byzantium"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
@@ -93,9 +143,9 @@
"indexes" : {
"data" : 2,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
- "network" : ["EIP158", "Byzantium"],
+ "network" : ["EIP158", ">=Byzantium"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json
index 1a2edb45c..44612e2de 100644
--- a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButCodeFiller.json
@@ -13,7 +13,7 @@
"indexes" : {
"data" : -1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
@@ -33,7 +33,7 @@
"indexes" : {
"data" : -1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : [">=EIP158"],
"result" : {
@@ -48,6 +48,25 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "0",
+ "code" : "0x1122334455",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" :
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json
index e5792373d..470ef54b4 100644
--- a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyButNonceFiller.json
@@ -13,7 +13,7 @@
"indexes" : {
"data" : -1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
@@ -31,8 +31,8 @@
{
"indexes" : {
"data" : -1,
- "gas" : 0,
- "value" : 0
+ "gas" : [0,1],
+ "value" : -1
},
"network" : [">=EIP158"],
"result" : {
diff --git a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json
index 3d4c025e2..f9b2f6f46 100644
--- a/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json
+++ b/src/GeneralStateTestsFiller/stCreateTest/TransactionCollisionToEmptyFiller.json
@@ -13,7 +13,7 @@
"indexes" : {
"data" : -1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : ["Frontier", "Homestead", "EIP150"],
"result" : {
@@ -32,7 +32,7 @@
"indexes" : {
"data" : -1,
"gas" : 0,
- "value" : 0
+ "value" : -1
},
"network" : [">=EIP158"],
"result" : {
@@ -46,6 +46,24 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" :