aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json19
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json15
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json23
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json21
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json19
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json50
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json9
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json2
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json23
43 files changed, 233 insertions, 56 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json
index 9f38b9f31..00eb88d96 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsOOGFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json
index 7dc0199e0..3617f5e6b 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/ContractStoreClearsSuccessFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"d2571607e241ecf590ed94b12d87c94babe36db6" : {
"balance" : "10",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json
index 12c0818c5..b3f139d9e 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageRevertedFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json
index 79a341d83..1d9381a6c 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/CreateMessageSuccessFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
index f35e86785..f257ded78 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "132000",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json
index 508c20706..9b3597238 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionSuccessFiller.json
@@ -25,6 +25,23 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "100",
+ "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" : {
@@ -52,4 +69,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json
index e532de069..31d8943c3 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction2Filler.json
@@ -28,6 +28,26 @@
"nonce" : "1"
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "code" : "0x"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000",
+ "nonce" : "1"
+ }
+ }
}
],
"pre" : {
@@ -55,4 +75,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json
index 6d1919c03..457afd4ba 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransaction3Filler.json
@@ -35,7 +35,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Homestead"],
+ "network" : ["Homestead", "EIP158"],
"result" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "53000"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
index 8ac4c1737..b80c12e1d 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json
index c9fdd39cd..c02d803bb 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/HighGasLimitFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json
index 3b12f268f..3ac732a83 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimit2Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json
index 34605460e..b4f458c0a 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json
index 3eefcf92f..640089cc6 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/InternalCallHittingGasLimitSuccessFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json
index 859b40b01..e8028e858 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsOOGFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "0",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json
index 7294ca382..37f9e96cd 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/InternlCallStoreClearsSuccesFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "1",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json
index a49781c87..effecbb54 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequire2Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "115792089237316195423570985008687907853269984665640564039457584007913127916415",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
index 5b5ec4ad0..ce75c582e 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
index 62306165a..5966a205b 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "400",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
index 302d173af..c3188dcf7 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "400",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json
index 4feeea822..e6a611e3f 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsOOGFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "0",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json
index f0673203a..f32ba0671 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/StoreClearsAndInternlCallStoreClearsSuccessFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "1",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json
index 3cffa5bef..048217f06 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json
@@ -23,6 +23,21 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
+ "storage" : {
+ "0xfd" : "0x012f3b"
+ }
+ }
+ }
}
],
"pre" :
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json
index b447ea50d..9f2a286e1 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFailedFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "20",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json
index 478fd4229..9ece83724 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesBonusGasAtCallFiller.json
@@ -19,7 +19,26 @@
"result" : {
"0000000000000000000000000000000000000001" : {
"balance" : "1"
- }
+ },
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "0000000000000000000000000000000000000001" : {
+ "shouldnotexist" : "1"
+ },
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ }
}
}
],
@@ -62,4 +81,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json
index 967955db3..1e53a2816 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesOOGFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "0",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json
index b75d9cdc1..f831ca98e 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndInternlCallSuicidesSuccessFiller.json
@@ -23,6 +23,21 @@
}
}
}
+ },
+ {
+ "indexes" : {
+ "data" : 1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "1",
+ "storage" : {
+ }
+ }
+ }
}
],
"pre" : {
@@ -42,7 +57,7 @@
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000",
- "code" : "{(CALL 22000 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SUICIDE 0)}",
+ "code" : "{(CALL (CALLDATALOAD 0) 0x0000000000000000000000000000000000000000 1 0 0 0 0) (SUICIDE 0)}",
"nonce" : "0",
"storage" : {
}
@@ -50,7 +65,7 @@
},
"transaction" : {
"data" : [
- ""
+ "0x00000000000000000000000000000000000000000000000000000000000055f0", "0x000000000000000000000000000000000000000000000000000000000000aaf0"
],
"gasLimit" : [
"150000"
@@ -64,4 +79,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json
index 139607853..5fa4f6285 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesAndSendMoneyToItselfEtherDestroyedFiller.json
@@ -25,6 +25,23 @@
"balance" : "10502"
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "108988",
+ "nonce" : "1"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "13002"
+ }
+ }
}
],
"pre" : {
@@ -59,4 +76,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
index 69fb7d50c..441331238 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
@@ -8,17 +8,49 @@
"currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "nonce" : "1"
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : ["Frontier", "Homestead"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1010"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ }
+ }
},
- "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1010"
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1010"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ }
+ }
}
- },
+ ],
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "22000",
+ "balance" : "220000",
"code" : "",
"nonce" : "0",
"storage" : {
@@ -37,7 +69,7 @@
""
],
"gasLimit" : [
- "21700"
+ "21700", "60000"
],
"gasPrice" : "1",
"nonce" : "",
@@ -48,4 +80,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json
index 61549cfd6..ef23c9df2 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesStopAfterSuicideFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"code" : "0x6001ff",
@@ -24,7 +24,10 @@
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
- }
+ },
+ "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
+ }
}
}
],
@@ -67,4 +70,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json
index 674e8b6d3..a45554f00 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionDataCosts652Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"balance" : "21652"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json
index 3962148db..fffb608f6 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimit1Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json
index b829b49b5..d00ef8ee8 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseHittingBlockGasLimitFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "10"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json
index 8be19cf31..c2b4339ff 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionFromCoinbaseNotEnoughFoundsFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "22000"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
index 88ba8fd8d..b18b2ed1c 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "0"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
index 807d64ff5..87b245be9 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "10"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json
index e0b7cc9a7..d1318cab7 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToEmptyFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
"code" : "0x"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json
index 4c0e287b3..31948d7db 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionSendingToZeroFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"0000000000000000000000000000000000000000" : {
"balance" : "1"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json
index cba45c6b1..963244981 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToAddressh160minusOneFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"ffffffffffffffffffffffffffffffffffffffff" : {
"balance" : "100"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json
index f7fc4a44c..8ae56c0ae 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "79000",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
index eb72d0b2e..7e22a1bcd 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "22000"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
index 6c26c6749..06ff34045 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
@@ -15,7 +15,7 @@
"gas" : -1,
"value" : -1
},
- "network" : ["Frontier", "Homestead"],
+ "network" : ["Frontier", "Homestead", "EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "33000",
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json
index 2e9b903a5..062ddb52d 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostFiller.json
@@ -28,6 +28,26 @@
"balance" : "900"
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "42100",
+ "nonce" : "1"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "900"
+ }
+ }
}
],
"pre" : {
@@ -55,4 +75,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json
index 62203a432..6387ad8e6 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionZeroCostWithDataFiller.json
@@ -27,6 +27,25 @@
"balance" : "900"
}
}
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP158"],
+ "result" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "1"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "900"
+ }
+ }
}
],
"pre" : {
@@ -43,7 +62,7 @@
"0x3240349548983454"
],
"gasLimit" : [
- "32600"
+ "32600", "60000"
],
"gasPrice" : "0",
"nonce" : "0",
@@ -54,4 +73,4 @@
]
}
}
-} \ No newline at end of file
+}