aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests/vmArithmeticTest.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-13 20:04:54 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-13 20:04:54 +0800
commitad69f9dd063c44fcd0e4437223f893e039703338 (patch)
tree2c9998178176bdc7d33e5a9497e7dec3ab7dd408 /VMTests/vmArithmeticTest.json
parent38b7db223774975ed477600295b748880e218670 (diff)
downloaddexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.gz
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.bz2
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.lz
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.xz
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.tar.zst
dexon-tests-ad69f9dd063c44fcd0e4437223f893e039703338.zip
add addmod test in order toc check that nothing get downcasted inbetween
Diffstat (limited to 'VMTests/vmArithmeticTest.json')
-rw-r--r--VMTests/vmArithmeticTest.json45
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" : [
],