aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:29:07 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:29:07 +0800
commiteb3451142e8bcd76140f3bbae926a77619935817 (patch)
treed69fccc11802ca1e2a10a377e793ca2c4e1fd9c5
parent73ba8a48ab7d0964db637b59fa21c27052666921 (diff)
downloadgo-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar.gz
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar.bz2
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar.lz
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar.xz
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.tar.zst
go-tangerine-eb3451142e8bcd76140f3bbae926a77619935817.zip
sdiv int256.min -1
-rw-r--r--VMTests/vmArithmeticTest.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/VMTests/vmArithmeticTest.json b/VMTests/vmArithmeticTest.json
index 663038f71..37c6bc33b 100644
--- a/VMTests/vmArithmeticTest.json
+++ b/VMTests/vmArithmeticTest.json
@@ -5813,6 +5813,51 @@
}
}
},
+ "sdiv5" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016000037f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60000305600055",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9692",
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x60016000037f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60000305600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x60016000037f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60000305600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ },
"sdivByZero0" : {
"callcreates" : [
],