diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-13 20:04:54 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-13 20:04:54 +0800 |
commit | ad69f9dd063c44fcd0e4437223f893e039703338 (patch) | |
tree | 2c9998178176bdc7d33e5a9497e7dec3ab7dd408 | |
parent | 38b7db223774975ed477600295b748880e218670 (diff) | |
download | tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.gz tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.bz2 tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.lz tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.xz tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.zst tangerine-tests-ad69f9dd063c44fcd0e4437223f893e039703338.zip |
add addmod test in order toc check that nothing get downcasted inbetween
-rw-r--r-- | VMTests/vmArithmeticTest.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/VMTests/vmArithmeticTest.json b/VMTests/vmArithmeticTest.json index 6431b2060..2b201368a 100644 --- a/VMTests/vmArithmeticTest.json +++ b/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" : [ ], |