aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransitionTest
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransitionTest')
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAfterFiller.json40
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAtFiller.json40
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsBeforeFiller.json40
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAfterFiller.json39
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAtFiller.json35
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasBeforeFiller.json35
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/delegatecallAfterTransitionFiller.json20
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/delegatecallAtTransitionFiller.json18
-rw-r--r--src/GeneralStateTestsFiller/stTransitionTest/delegatecallBeforeTransitionFiller.json18
9 files changed, 275 insertions, 10 deletions
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAfterFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAfterFiller.json
index ffea3d137..8ac2b2a6a 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAfterFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAfterFiller.json
@@ -8,6 +8,44 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x01",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +71,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAtFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAtFiller.json
index f1db26f93..c7dae3ad2 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAtFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsAtFiller.json
@@ -8,6 +8,44 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x01",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +71,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsBeforeFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsBeforeFiller.json
index f2c3e2e86..4c54f8023 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsBeforeFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsBeforeFiller.json
@@ -8,6 +8,44 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x396000f3006000355415600957005b60",
+ "nonce" : "0x01",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +71,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAfterFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAfterFiller.json
index ce7ed476e..19ca9f5b5 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAfterFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAfterFiller.json
@@ -8,6 +8,43 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +70,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAtFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAtFiller.json
index 8af986d19..9e41addc1 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAtFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasAtFiller.json
@@ -8,6 +8,39 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +66,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasBeforeFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasBeforeFiller.json
index b19b5f4b1..abd57ad64 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasBeforeFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/createNameRegistratorPerTxsNotEnoughGasBeforeFiller.json
@@ -8,6 +8,39 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0x0186a0",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "shouldnotexist" : "1"
+ }
+ }
+ }
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000000000000000",
@@ -33,4 +66,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAfterTransitionFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAfterTransitionFiller.json
index a62016218..ee368ea10 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAfterTransitionFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAfterTransitionFiller.json
@@ -9,13 +9,29 @@
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Frontier"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "storage" : {
+ "0x00" : "0x00",
+ "0x01" : "0x00"
+ }
+ }
+ }
+ },
{
"indexes" : {
"data" : -1,
"gas" : -1,
"value" : -1
},
- "network" : "Frontier",
+ "network" : ["Homestead", "EIP158"],
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
@@ -65,4 +81,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAtTransitionFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAtTransitionFiller.json
index f35174e24..705aec163 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAtTransitionFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallAtTransitionFiller.json
@@ -19,6 +19,22 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
+ "0x00" : "0x00",
+ "0x01" : "0x00"
+ }
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP158"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "storage" : {
"0x00" : "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x01" : "0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
}
@@ -65,4 +81,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallBeforeTransitionFiller.json b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallBeforeTransitionFiller.json
index cd3dc0e93..190690ab1 100644
--- a/src/GeneralStateTestsFiller/stTransitionTest/delegatecallBeforeTransitionFiller.json
+++ b/src/GeneralStateTestsFiller/stTransitionTest/delegatecallBeforeTransitionFiller.json
@@ -22,6 +22,22 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Homestead", "EIP158"],
+ "result" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "storage" : {
+ "0x00" : "0x01",
+ "0x01" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
+ }
+ }
+ }
}
],
"pre" : {
@@ -63,4 +79,4 @@
]
}
}
-} \ No newline at end of file
+}