aboutsummaryrefslogtreecommitdiffstats
path: root/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-06-04 11:52:58 +0800
committerGitHub <noreply@github.com>2018-06-04 11:52:58 +0800
commit20f1c0ae032440630fcfbb2caf3e9a751cec0ced (patch)
tree14c5ea256b50b315f70bcd72d21f8fff4088c1c3 /src/VMTestsFiller/vmArithmeticTest/exp8Filler.json
parent073035c6ef89ae878c528e78d3b5ce59d1b71df7 (diff)
parent4687f103dd0168791e076e18a526e1cca0a3646f (diff)
downloaddexon-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.gz
dexon-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.zst
dexon-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.zip
Merge pull request #460 from ehildenb/exp-0-0
VMTests/.../exp8Filler: add test of EXP 0 0
Diffstat (limited to 'src/VMTestsFiller/vmArithmeticTest/exp8Filler.json')
-rw-r--r--src/VMTestsFiller/vmArithmeticTest/exp8Filler.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json b/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json
new file mode 100644
index 000000000..57816c90b
--- /dev/null
+++ b/src/VMTestsFiller/vmArithmeticTest/exp8Filler.json
@@ -0,0 +1,36 @@
+{
+ "exp8": {
+ "env": {
+ "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty": "256",
+ "currentGasLimit": "1000000",
+ "currentNumber": "0",
+ "currentTimestamp": "1",
+ "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec": {
+ "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller": "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "data": "",
+ "gas": "100000",
+ "gasPrice": "100000000000000",
+ "origin": "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "value": "1000000000000000000"
+ },
+ "expect": {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": {
+ "storage": {
+ "0x": "0x01"
+ }
+ }
+ },
+ "pre": {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": {
+ "balance": "1000000000000000000",
+ "code": "{ [[ 0 ]] (EXP 0 0)}",
+ "nonce": "0",
+ "storage": {}
+ }
+ }
+ }
+} \ No newline at end of file