aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-08 06:43:39 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-08 06:43:39 +0800
commit6a41300d6be73bf6acdc2736aedf3a870d4aad94 (patch)
treef3d8f950beb25984ea88244f768f215cb0f839c4 /VMTests
parent71d80bd63aaf7cee523b6ca9d12a131698d41e98 (diff)
downloaddexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar.gz
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar.bz2
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar.lz
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar.xz
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.tar.zst
dexon-tests-6a41300d6be73bf6acdc2736aedf3a870d4aad94.zip
add dajavi memory tests - OOG because of quadratic memory costs
Diffstat (limited to 'VMTests')
-rw-r--r--VMTests/vmIOandFlowOperationsTest.json234
1 files changed, 233 insertions, 1 deletions
diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json
index 6ce2e28db..ac1dbe1e4 100644
--- a/VMTests/vmIOandFlowOperationsTest.json
+++ b/VMTests/vmIOandFlowOperationsTest.json
@@ -2031,6 +2031,64 @@
}
}
},
+ "calldatacopyMemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffff630fffffff37",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60ff60ff630fffffff630fffffff37",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "codecopyMemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffff630fffffff39",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60ff60ff630fffffff630fffffff39",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"dupAt51becameMload" : {
"callcreates" : [
],
@@ -2076,6 +2134,35 @@
}
}
},
+ "extcodecopyMemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffff630fffffff3c",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60ff60ff630fffffff630fffffff3c",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"for_loop1" : {
"callcreates" : [
],
@@ -3325,6 +3412,35 @@
}
}
},
+ "log1MemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffffa1",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60ff60ff630fffffffa1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"memory1" : {
"callcreates" : [
],
@@ -3457,6 +3573,35 @@
}
}
},
+ "mloadMemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x630fffffff51",
+ "data" : "0x",
+ "gas" : "8390000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x630fffffff51",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"mloadOutOfGasError2" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -3756,6 +3901,35 @@
}
}
},
+ "mstore8MemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60f1630fffffff53",
+ "data" : "0x",
+ "gas" : "8390000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60f1630fffffff53",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"mstore8WordToBigError" : {
"callcreates" : [
],
@@ -3890,13 +4064,42 @@
}
}
},
+ "mstoreMemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60f1630fffffff52",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60f1630fffffff52",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"mstoreWordToBigError" : {
"callcreates" : [
],
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
- "currentGasLimit" : "1000000",
+ "currentGasLimit" : "8390000000",
"currentNumber" : "0",
"currentTimestamp" : "1",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
@@ -4215,6 +4418,35 @@
}
}
},
+ "sha3MemExp" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "8390000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff630fffffff20",
+ "data" : "0x",
+ "gas" : "8390000000",
+ "gasPrice" : "1",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "100000000000000000000000",
+ "code" : "0x60ff630fffffff20",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"sstore_load_0" : {
"callcreates" : [
],