diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 19:02:50 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 19:02:50 +0800 |
commit | 9663493ba0d493ec62153e725b5d30340f2aa525 (patch) | |
tree | b5f71e511683e0121a1bfb4e945b75e5445285a0 /tests/files/VMTests | |
parent | 22893b7ac925c49168c119f293ea8befc3aff5cc (diff) | |
parent | dffaa678f966f87dcd011671a16b554b29a37549 (diff) | |
download | go-tangerine-9663493ba0d493ec62153e725b5d30340f2aa525.tar.gz go-tangerine-9663493ba0d493ec62153e725b5d30340f2aa525.tar.zst go-tangerine-9663493ba0d493ec62153e725b5d30340f2aa525.zip |
Merge commit 'dffaa678f966f87dcd011671a16b554b29a37549' into develop
Diffstat (limited to 'tests/files/VMTests')
-rw-r--r-- | tests/files/VMTests/vmArithmeticTest.json | 45 | ||||
-rw-r--r-- | tests/files/VMTests/vmEnvironmentalInfoTest.json | 44 |
2 files changed, 89 insertions, 0 deletions
diff --git a/tests/files/VMTests/vmArithmeticTest.json b/tests/files/VMTests/vmArithmeticTest.json index 6431b2060..2b201368a 100644 --- a/tests/files/VMTests/vmArithmeticTest.json +++ b/tests/files/VMTests/vmArithmeticTest.json @@ -636,6 +636,51 @@ } } }, + "addmodBigIntCast" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681", + "code" : "0x600560017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff08600055", + "data" : "0x", + "gas" : "100000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "79980", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x600560017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff08600055", + "nonce" : "0", + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x600560017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff08600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "addmodDivByZero" : { "callcreates" : [ ], diff --git a/tests/files/VMTests/vmEnvironmentalInfoTest.json b/tests/files/VMTests/vmEnvironmentalInfoTest.json index 7b91a32f5..7139e68bb 100644 --- a/tests/files/VMTests/vmEnvironmentalInfoTest.json +++ b/tests/files/VMTests/vmEnvironmentalInfoTest.json @@ -1263,6 +1263,50 @@ } } }, + "calldataload_BigOffset" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x7f420000000000000000000000000000000000000000000000000000000000000035600055", + "data" : "0x4200000000000000000000000000000000000000000000000000000000000000", + "gas" : "100000000000", + "gasPrice" : "1000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "99999994991", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "100000000000000000000000", + "code" : "0x7f420000000000000000000000000000000000000000000000000000000000000035600055", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "100000000000000000000000", + "code" : "0x7f420000000000000000000000000000000000000000000000000000000000000035600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "calldatasize0" : { "callcreates" : [ ], |