diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-05-29 18:59:38 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-05-29 18:59:38 +0800 |
commit | fc10b9227a4a4ab98f23f69e5ad9f7098b24a774 (patch) | |
tree | 8ce26faa0752401924a267206cd5191d4f8249ab | |
parent | e4a3cc31ac8fe98fbb2e07084b96e14973663397 (diff) | |
download | tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar.gz tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar.bz2 tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar.lz tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar.xz tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.tar.zst tangerine-tests-fc10b9227a4a4ab98f23f69e5ad9f7098b24a774.zip |
add jumpi tests
-rw-r--r-- | VMTests/vmIOandFlowOperationsTest.json | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json index 0667d262c..2ac01f817 100644 --- a/VMTests/vmIOandFlowOperationsTest.json +++ b/VMTests/vmIOandFlowOperationsTest.json @@ -3366,6 +3366,78 @@ } } }, + "jumpiToUint64maxPlus1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x60016801000000000000000d575b5b6001600155", + "data" : "0x", + "gas" : "0x0186a0", + "gasPrice" : "0x5af3107a4000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "0x0de0b6b3a7640000" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x01" : "0x00" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x152d02c7e14af6800000", + "code" : "0x60016801000000000000000d575b5b6001600155", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "jumpiToUintmaxPlus1" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x6001640100000009575b5b6001600155", + "data" : "0x", + "gas" : "0x0186a0", + "gasPrice" : "0x5af3107a4000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "0x0de0b6b3a7640000" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x01" : "0x00" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x152d02c7e14af6800000", + "code" : "0x6001640100000009575b5b6001600155", + "nonce" : "0x00", + "storage" : { + } + } + } + }, "jumpi_at_the_end" : { "callcreates" : [ ], |