aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-02 03:20:37 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-02 03:25:01 +0800
commit828acdd75121b1c5afdb1a0e9c100902d563409d (patch)
tree64527b6db102b095c4cd8f826b0c40a512762017
parent4d677b0d1178062c7244696bb7c47cc6f557d23d (diff)
downloadtangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar.gz
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar.bz2
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar.lz
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar.xz
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.tar.zst
tangerine-tests-828acdd75121b1c5afdb1a0e9c100902d563409d.zip
VMTests/.../sdiv_dejavu: correct test expect section and refill
-rw-r--r--VMTests/vmArithmeticTest/sdiv_dejavu.json80
-rw-r--r--src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json4
2 files changed, 41 insertions, 43 deletions
diff --git a/VMTests/vmArithmeticTest/sdiv_dejavu.json b/VMTests/vmArithmeticTest/sdiv_dejavu.json
index 993720984..ddf881873 100644
--- a/VMTests/vmArithmeticTest/sdiv_dejavu.json
+++ b/VMTests/vmArithmeticTest/sdiv_dejavu.json
@@ -1,51 +1,49 @@
{
- "sdiv_dejavu" : {
- "_info" : {
- "comment" : "",
- "filledwith" : "testeth 1.4.0.dev0-56+commit.71414ae3",
- "lllcversion" : "Version: 0.4.25-develop.2018.5.30+commit.0a1a8bfb.Linux.g++",
- "source" : "src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json",
- "sourceHash" : "9aa0a025d0f407c03982ce3cc06415063bc5a2b5672e0416880bf73057ad031c"
+ "sdiv_dejavu": {
+ "_info": {
+ "comment": "",
+ "filledwith": "testeth 1.4.0.dev0-56+commit.71414ae3",
+ "lllcversion": "Version: 0.4.25-develop.2018.5.30+commit.0a1a8bfb.Linux.g++",
+ "source": "src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json",
+ "sourceHash": "fb82987b415cc3514af8858c30272360d90969454034e3bbe991c6a37627d19d"
},
- "callcreates" : [
- ],
- "env" : {
- "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "0x0100",
- "currentGasLimit" : "0x0f4240",
- "currentNumber" : "0x00",
- "currentTimestamp" : "0x01"
+ "callcreates": [],
+ "env": {
+ "currentCoinbase": "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty": "0x0100",
+ "currentGasLimit": "0x0f4240",
+ "currentNumber": "0x00",
+ "currentTimestamp": "0x01"
},
- "exec" : {
- "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "0xcd1722f2947def4cf144679da39c4c32bdc35681",
- "code" : "0x600560096000030580600055",
- "data" : "0x",
- "gas" : "0x989680",
- "gasPrice" : "0x01",
- "origin" : "0xcd1722f2947def4cf144679da39c4c32bdc35681",
- "value" : "0x0de0b6b3a7640000"
+ "exec": {
+ "address": "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller": "0xcd1722f2947def4cf144679da39c4c32bdc35681",
+ "code": "0x600560096000030580600055",
+ "data": "0x",
+ "gas": "0x989680",
+ "gasPrice": "0x01",
+ "origin": "0xcd1722f2947def4cf144679da39c4c32bdc35681",
+ "value": "0x0de0b6b3a7640000"
},
- "gas" : "0x984849",
- "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
- "out" : "0x",
- "post" : {
- "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x600560096000030580600055",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+ "gas": "0x984849",
+ "logs": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out": "0x",
+ "post": {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": {
+ "balance": "0x0de0b6b3a7640000",
+ "code": "0x600560096000030580600055",
+ "nonce": "0x00",
+ "storage": {
+ "0x00": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
}
},
- "pre" : {
- "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "0x0de0b6b3a7640000",
- "code" : "0x600560096000030580600055",
- "nonce" : "0x00",
- "storage" : {
- }
+ "pre": {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": {
+ "balance": "0x0de0b6b3a7640000",
+ "code": "0x600560096000030580600055",
+ "nonce": "0x00",
+ "storage": {}
}
}
}
diff --git a/src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json b/src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json
index 72308fd1c..371be730a 100644
--- a/src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json
+++ b/src/VMTestsFiller/vmArithmeticTest/sdiv_dejavuFiller.json
@@ -11,7 +11,7 @@
"expect" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"storage" : {
- "0x" : "0x00"
+ "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
}
},
@@ -19,7 +19,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"nonce" : "0",
- "code" : "( asm 0x05 0x09 0x00 SUB SDIV DUP1 0 SSTORE )",
+ "code" : "( asm 0x05 0x09 0x00 SUB SDIV DUP1 0x0 SSTORE )",
"storage": {}
}
},