diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2018-06-04 11:52:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 11:52:58 +0800 |
commit | 20f1c0ae032440630fcfbb2caf3e9a751cec0ced (patch) | |
tree | 14c5ea256b50b315f70bcd72d21f8fff4088c1c3 /src/VMTestsFiller/vmBlockInfoTest | |
parent | 073035c6ef89ae878c528e78d3b5ce59d1b71df7 (diff) | |
parent | 4687f103dd0168791e076e18a526e1cca0a3646f (diff) | |
download | tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.gz tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.bz2 tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.lz tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.xz tangerine-tests-20f1c0ae032440630fcfbb2caf3e9a751cec0ced.tar.zst tangerine-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/vmBlockInfoTest')
5 files changed, 140 insertions, 140 deletions
diff --git a/src/VMTestsFiller/vmBlockInfoTest/coinbaseFiller.json b/src/VMTestsFiller/vmBlockInfoTest/coinbaseFiller.json index f0345206b..513cb3a05 100644 --- a/src/VMTestsFiller/vmBlockInfoTest/coinbaseFiller.json +++ b/src/VMTestsFiller/vmBlockInfoTest/coinbaseFiller.json @@ -1,36 +1,36 @@ { "coinbase": { - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "0", - "currentGasLimit" : "1000000", - "currentDifficulty" : "256", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "env": { + "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "256", + "currentGasLimit": "1000000", + "currentNumber": "0", + "currentTimestamp": "1", + "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "exec": { + "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "cd1722f3947def4cf144679da39c4c32bdc35681", + "data": "", + "gas": "100000", + "gasPrice": "100000000000000", + "origin": "cd1722f3947def4cf144679da39c4c32bdc35681", + "value": "1000000000000000000" + }, + "expect": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "storage": { + "0x": "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" } } }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "{ [[ 0 ]] (COINBASE) }", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "1000000000000000000", - "data" : "", - "gasPrice" : "100000000000000", - "gas" : "100000" + "pre": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "100000000000000000000000", + "code": "{ [[ 0 ]] (COINBASE) }", + "nonce": "0", + "storage": {} + } } } -} +}
\ No newline at end of file diff --git a/src/VMTestsFiller/vmBlockInfoTest/difficultyFiller.json b/src/VMTestsFiller/vmBlockInfoTest/difficultyFiller.json index 17c864d4b..2d37aa52b 100644 --- a/src/VMTestsFiller/vmBlockInfoTest/difficultyFiller.json +++ b/src/VMTestsFiller/vmBlockInfoTest/difficultyFiller.json @@ -1,36 +1,36 @@ { "difficulty": { - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "0", - "currentGasLimit" : "1000000", - "currentDifficulty" : "256", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "env": { + "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "256", + "currentGasLimit": "1000000", + "currentNumber": "0", + "currentTimestamp": "1", + "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x" : "0x0100" + "exec": { + "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "cd1722f3947def4cf144679da39c4c32bdc35681", + "data": "", + "gas": "100000", + "gasPrice": "100000000000000", + "origin": "cd1722f3947def4cf144679da39c4c32bdc35681", + "value": "1000000000000000000" + }, + "expect": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "storage": { + "0x": "0x0100" } } }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "{ [[ 0 ]] (DIFFICULTY) }", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "1000000000000000000", - "data" : "", - "gasPrice" : "100000000000000", - "gas" : "100000" + "pre": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "100000000000000000000000", + "code": "{ [[ 0 ]] (DIFFICULTY) }", + "nonce": "0", + "storage": {} + } } } -} +}
\ No newline at end of file diff --git a/src/VMTestsFiller/vmBlockInfoTest/gaslimitFiller.json b/src/VMTestsFiller/vmBlockInfoTest/gaslimitFiller.json index caf8a162a..146563fb3 100644 --- a/src/VMTestsFiller/vmBlockInfoTest/gaslimitFiller.json +++ b/src/VMTestsFiller/vmBlockInfoTest/gaslimitFiller.json @@ -1,36 +1,36 @@ { "gaslimit": { - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "0", - "currentGasLimit" : "1000000", - "currentDifficulty" : "256", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "env": { + "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "256", + "currentGasLimit": "1000000", + "currentNumber": "0", + "currentTimestamp": "1", + "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x" : "0x0f4240" + "exec": { + "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "cd1722f3947def4cf144679da39c4c32bdc35681", + "data": "", + "gas": "100000", + "gasPrice": "100000000000000", + "origin": "cd1722f3947def4cf144679da39c4c32bdc35681", + "value": "1000000000000000000" + }, + "expect": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "storage": { + "0x": "0x0f4240" } } }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "{ [[ 0 ]] (GASLIMIT) }", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "1000000000000000000", - "data" : "", - "gasPrice" : "100000000000000", - "gas" : "100000" + "pre": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "100000000000000000000000", + "code": "{ [[ 0 ]] (GASLIMIT) }", + "nonce": "0", + "storage": {} + } } } -} +}
\ No newline at end of file diff --git a/src/VMTestsFiller/vmBlockInfoTest/numberFiller.json b/src/VMTestsFiller/vmBlockInfoTest/numberFiller.json index de7f23685..baf1bdb22 100644 --- a/src/VMTestsFiller/vmBlockInfoTest/numberFiller.json +++ b/src/VMTestsFiller/vmBlockInfoTest/numberFiller.json @@ -1,36 +1,36 @@ { "number": { - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "1", - "currentGasLimit" : "1000000", - "currentDifficulty" : "256", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "env": { + "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "256", + "currentGasLimit": "1000000", + "currentNumber": "1", + "currentTimestamp": "1", + "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x" : "0x01" + "exec": { + "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "cd1722f3947def4cf144679da39c4c32bdc35681", + "data": "", + "gas": "100000", + "gasPrice": "100000000000000", + "origin": "cd1722f3947def4cf144679da39c4c32bdc35681", + "value": "1000000000000000000" + }, + "expect": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "storage": { + "0x": "0x01" } } }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "{ [[ 0 ]] (NUMBER) }", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "1000000000000000000", - "data" : "", - "gasPrice" : "100000000000000", - "gas" : "100000" + "pre": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "100000000000000000000000", + "code": "{ [[ 0 ]] (NUMBER) }", + "nonce": "0", + "storage": {} + } } } -} +}
\ No newline at end of file diff --git a/src/VMTestsFiller/vmBlockInfoTest/timestampFiller.json b/src/VMTestsFiller/vmBlockInfoTest/timestampFiller.json index 0e51ca385..f641aea91 100644 --- a/src/VMTestsFiller/vmBlockInfoTest/timestampFiller.json +++ b/src/VMTestsFiller/vmBlockInfoTest/timestampFiller.json @@ -1,36 +1,36 @@ { "timestamp": { - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "0", - "currentGasLimit" : "1000000", - "currentDifficulty" : "256", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + "env": { + "currentCoinbase": "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty": "256", + "currentGasLimit": "1000000", + "currentNumber": "0", + "currentTimestamp": "1", + "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" }, - "expect" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "storage" : { - "0x" : "0x01" + "exec": { + "address": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller": "cd1722f3947def4cf144679da39c4c32bdc35681", + "data": "", + "gas": "100000", + "gasPrice": "100000000000000", + "origin": "cd1722f3947def4cf144679da39c4c32bdc35681", + "value": "1000000000000000000" + }, + "expect": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "storage": { + "0x": "0x01" } } }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "{ [[ 0 ]] (TIMESTAMP) }", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "1000000000000000000", - "data" : "", - "gasPrice" : "100000000000000", - "gas" : "100000" + "pre": { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance": "100000000000000000000000", + "code": "{ [[ 0 ]] (TIMESTAMP) }", + "nonce": "0", + "storage": {} + } } } -} +}
\ No newline at end of file |