aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stTransactionTest
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-03-29 03:46:29 +0800
committerDimitry <dimitry@ethereum.org>2018-05-15 22:43:32 +0800
commit346e829c149c5e4fcc46e465453e53e67ffe6b16 (patch)
tree3566c0b649b3754c7b886067abb2f75519749b9a /src/GeneralStateTestsFiller/stTransactionTest
parent013aa117669dfe82b4ea289a7191fa6658da1334 (diff)
downloadtangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar.gz
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar.bz2
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar.lz
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar.xz
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.tar.zst
tangerine-tests-346e829c149c5e4fcc46e465453e53e67ffe6b16.zip
fix more tests with touch coinbase
Diffstat (limited to 'src/GeneralStateTestsFiller/stTransactionTest')
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json22
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json7
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json21
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json21
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json21
-rw-r--r--src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json22
10 files changed, 191 insertions, 11 deletions
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
index e18100db2..70fa987cc 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/CreateTransactionRevertedFiller.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "132000",
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "132000",
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
index 2650602c6..541c51797 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/EmptyTransactionFiller.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "100000",
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
index ec9a841d1..8717d7a46 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/OverflowGasRequireFiller.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
index c90e79fda..7f7090d5c 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflow2Filler.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "400",
"nonce" : "0"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "400",
+ "nonce" : "0"
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
index d8cdc0213..786a0ed1b 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/RefundOverflowFiller.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "400",
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "400",
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
index ecedb6efb..5b238a719 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/SuicidesMixingCoinbaseFiller.json
@@ -24,7 +24,10 @@
"balance" : "1010"
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "shouldnotexist" : "1"
+ "balance" : "0",
+ "nonce" : "0",
+ "code" : "",
+ "storage" : {}
}
}
},
@@ -34,7 +37,7 @@
"gas" : 1,
"value" : -1
},
- "network" : ["EIP150", ">=EIP158"],
+ "network" : [">=EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "1"
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
index 1dfda2ea5..9e1a18c69 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheck2Filler.json
@@ -15,10 +15,29 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
index 763c18fcb..dc006e8c8 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionNonceCheckFiller.json
@@ -15,10 +15,29 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"nonce" : "10"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "10"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
index d6ce4ecc1..a6961ee20 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/TransactionToItselfNotEnoughFoundsFiller.json
@@ -15,10 +15,29 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "22000"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "22000"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}
diff --git a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
index f406cca9d..4a8a9f74d 100644
--- a/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
+++ b/src/GeneralStateTestsFiller/stTransactionTest/UserTransactionGasLimitIsTooLowWhenZeroCostFiller.json
@@ -15,11 +15,31 @@
"gas" : -1,
"value" : -1
},
- "network" : [">=Frontier"],
+ "network" : ["<EIP158"],
"result" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "33000",
"nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [">=EIP158"],
+ "result" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "33000",
+ "nonce" : "0"
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "shouldnotexist" : "1"
}
}
}