aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-11 05:21:37 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-11 05:21:37 +0800
commit60924843f07f394c8e95782ab52d56ef27d5e642 (patch)
tree873a365075437f1577d8ffc8e09fb1a2d38ded12
parenta441074ba4b057e2918735f7427841b92aa3c16e (diff)
downloaddexon-tests-60924843f07f394c8e95782ab52d56ef27d5e642.tar.gz
dexon-tests-60924843f07f394c8e95782ab52d56ef27d5e642.tar.zst
dexon-tests-60924843f07f394c8e95782ab52d56ef27d5e642.zip
Unintended Exceptions work like OOG
-rw-r--r--VMTests/vmIOandFlowOperationsTest.json10
-rw-r--r--VMTests/vmPushDupSwapTest.json4
-rw-r--r--randomTests/201410211705.json45
-rw-r--r--randomTests/201410211708.json44
4 files changed, 7 insertions, 96 deletions
diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json
index c3e7515b3..c61aba445 100644
--- a/VMTests/vmIOandFlowOperationsTest.json
+++ b/VMTests/vmIOandFlowOperationsTest.json
@@ -363,7 +363,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9995",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -405,7 +405,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9996",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -576,7 +576,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9997",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1343,7 +1343,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "10000",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -1521,7 +1521,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9995",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
diff --git a/VMTests/vmPushDupSwapTest.json b/VMTests/vmPushDupSwapTest.json
index 7391df595..873f95061 100644
--- a/VMTests/vmPushDupSwapTest.json
+++ b/VMTests/vmPushDupSwapTest.json
@@ -407,7 +407,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9999",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
@@ -2597,7 +2597,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "1000000000000000000"
},
- "gas" : "9998",
+ "gas" : "0",
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
diff --git a/randomTests/201410211705.json b/randomTests/201410211705.json
deleted file mode 100644
index 758483afc..000000000
--- a/randomTests/201410211705.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "randomVMtest" : {
- "callcreates" : [
- ],
- "env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "256",
- "currentGasLimit" : "1000000",
- "currentNumber" : "0",
- "currentTimestamp" : "1",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "code" : "0x33410c45815741f394",
- "data" : "0x",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- },
- "gas" : "9794",
- "out" : "0x",
- "post" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x33410c45815741f394",
- "nonce" : "0",
- "storage" : {
- "0x01" : "0x0f4240"
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x33410c45815741f394",
- "nonce" : "0",
- "storage" : {
- }
- }
- }
- }
-}
diff --git a/randomTests/201410211708.json b/randomTests/201410211708.json
deleted file mode 100644
index 492be2391..000000000
--- a/randomTests/201410211708.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "randomVMtest" : {
- "callcreates" : [
- ],
- "env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "256",
- "currentGasLimit" : "1000000",
- "currentNumber" : "0",
- "currentTimestamp" : "1",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "code" : "0x7d",
- "data" : "0x",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- },
- "gas" : "9999",
- "out" : "0x",
- "post" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x7d",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "1000000000000000000",
- "code" : "0x7d",
- "nonce" : "0",
- "storage" : {
- }
- }
- }
- }
-}