aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-12 20:55:00 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-12 20:55:00 +0800
commitd70a30c0568085217e0b674e4e66a44ddbf7223e (patch)
treedd1bec2f9cb8973b32914d7188ef7cc557ee7a56
parent2577b803f65df3ec0c0749c1f0375c0ed80932fa (diff)
downloadgo-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar.gz
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar.bz2
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar.lz
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar.xz
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.tar.zst
go-tangerine-d70a30c0568085217e0b674e4e66a44ddbf7223e.zip
MULMOD with modul 0 gives division by zero error
-rw-r--r--VMTests/RandomTests/201501121323MULMOD_GO.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/VMTests/RandomTests/201501121323MULMOD_GO.json b/VMTests/RandomTests/201501121323MULMOD_GO.json
new file mode 100644
index 000000000..1daf701e0
--- /dev/null
+++ b/VMTests/RandomTests/201501121323MULMOD_GO.json
@@ -0,0 +1,54 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "2",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x414341424443850659a055450955",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "0",
+ "logs" : [
+ {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "bloom" : "00000000000000000000800000000000000000000000000000000880000000000000000000000000000000000000000000000000000000000000000000000000",
+ "data" : "0x",
+ "topics" : [
+ ]
+ }
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x414341424443850659a055450955",
+ "nonce" : "0",
+ "storage" : {
+ "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x414341424443850659a055450955",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}