diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-02-24 22:35:42 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-02-24 22:35:50 +0800 |
commit | 74814392f47b31c86c35f0cc7cd05f12b837a41b (patch) | |
tree | 9c8a76a5141ae461383315407ed491f1d1532521 | |
parent | 8de710e315f26480a4b83968d072b3dd54a77047 (diff) | |
download | dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar.gz dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar.bz2 dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar.lz dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar.xz dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.tar.zst dexon-solidity-74814392f47b31c86c35f0cc7cd05f12b837a41b.zip |
Move old VM return tests from EVM JIT to JSON file
-rw-r--r-- | vmIOandFlowOperationsTestFiller.json | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/vmIOandFlowOperationsTestFiller.json b/vmIOandFlowOperationsTestFiller.json index b4ab44c4..b9faedc9 100644 --- a/vmIOandFlowOperationsTestFiller.json +++ b/vmIOandFlowOperationsTestFiller.json @@ -3087,5 +3087,61 @@ "gasPrice" : "100000000000000", "gas" : "10000" } + }, + + "return1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "nonce" : "0", + "code" : "(asm 1 1000000 RETURN)", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "10000" + } + }, + + "return2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "nonce" : "0", + "code" : "{ [i] 1 ( if (> @i 0) { (return 39) [i] 2 } (return 1) ) }", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "10000" + } } } |