diff options
author | Everett Hildenbrandt <hildenb2@illinois.edu> | 2018-05-28 04:34:48 +0800 |
---|---|---|
committer | Everett Hildenbrandt <hildenb2@illinois.edu> | 2018-06-02 03:21:25 +0800 |
commit | 4d677b0d1178062c7244696bb7c47cc6f557d23d (patch) | |
tree | 262ecdd2d29c968c33761d727156f0d57f211293 | |
parent | df07a11a6e73ab025d15cf7a70e270bc041fd2e1 (diff) | |
download | dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar.gz dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar.bz2 dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar.lz dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar.xz dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.tar.zst dexon-tests-4d677b0d1178062c7244696bb7c47cc6f557d23d.zip |
VMTests/.../exp8: add test of EXP 0 0
-rw-r--r-- | VMTests/vmArithmeticTest/exp8.json | 50 | ||||
-rw-r--r-- | src/VMTestsFiller/vmArithmeticTest/exp8Filler.json | 36 |
2 files changed, 86 insertions, 0 deletions
diff --git a/VMTests/vmArithmeticTest/exp8.json b/VMTests/vmArithmeticTest/exp8.json new file mode 100644 index 000000000..ae5813685 --- /dev/null +++ b/VMTests/vmArithmeticTest/exp8.json @@ -0,0 +1,50 @@ +{ + "exp8": { + "_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/exp8Filler.json", + "sourceHash": "d7bbfa9251d950b34dfe4ebb7e447fb82a9fde06734ef9b480d09a01f675bd84" + }, + "callcreates": [], + "env": { + "currentCoinbase": "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "0x0100", + "currentGasLimit": "0x0f4240", + "currentNumber": "0x00", + "currentTimestamp": "0x01" + }, + "exec": { + "address": "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "0xcd1722f2947def4cf144679da39c4c32bdc35681", + "code": "0x600060000a600055", + "data": "0x", + "gas": "0x0186a0", + "gasPrice": "0x5af3107a4000", + "origin": "0xcd1722f2947def4cf144679da39c4c32bdc35681", + "value": "0x0de0b6b3a7640000" + }, + "gas": "0x01386d", + "logs": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "out": "0x", + "post": { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "0x0de0b6b3a7640000", + "code": "0x600060000a600055", + "nonce": "0x00", + "storage": { + "0x00": "0x01" + } + } + }, + "pre": { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "0x0de0b6b3a7640000", + "code": "0x600060000a600055", + "nonce": "0x00", + "storage": {} + } + } + } +}
\ No newline at end of file diff --git a/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json b/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json new file mode 100644 index 000000000..247291289 --- /dev/null +++ b/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json @@ -0,0 +1,36 @@ +{ + "exp8": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (EXP 0 0)}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} |