Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Commit 1f67385

Browse files
committed
Added some MUL tests
1 parent 46eb628 commit 1f67385

1 file changed

Lines changed: 128 additions & 0 deletions

File tree

vmtests/vmArithmeticTest.json

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,134 @@
16171617
}
16181618
}
16191619
},
1620+
"mul4" : {
1621+
"callcreates" : [
1622+
],
1623+
"env" : {
1624+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
1625+
"currentDifficulty" : "256",
1626+
"currentGasLimit" : "1000000",
1627+
"currentNumber" : "0",
1628+
"currentTimestamp" : "1",
1629+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
1630+
},
1631+
"exec" : {
1632+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
1633+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1634+
"code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f800000000000000000000000000000000000000000000000000000000000000002600057",
1635+
"data" : "0x",
1636+
"gas" : "10000",
1637+
"gasPrice" : "100000000000000",
1638+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1639+
"value" : "1000000000000000000"
1640+
},
1641+
"gas" : "9796",
1642+
"out" : "0x",
1643+
"post" : {
1644+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1645+
"balance" : "1000000000000000000",
1646+
"code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f800000000000000000000000000000000000000000000000000000000000000002600057",
1647+
"nonce" : "0",
1648+
"storage" : {
1649+
"0x" : "0x8000000000000000000000000000000000000000000000000000000000000000"
1650+
}
1651+
}
1652+
},
1653+
"pre" : {
1654+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1655+
"balance" : "1000000000000000000",
1656+
"code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f800000000000000000000000000000000000000000000000000000000000000002600057",
1657+
"nonce" : "0",
1658+
"storage" : {
1659+
}
1660+
}
1661+
}
1662+
},
1663+
"mul5" : {
1664+
"callcreates" : [
1665+
],
1666+
"env" : {
1667+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
1668+
"currentDifficulty" : "256",
1669+
"currentGasLimit" : "1000000",
1670+
"currentNumber" : "0",
1671+
"currentTimestamp" : "1",
1672+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
1673+
},
1674+
"exec" : {
1675+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
1676+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1677+
"code" : "0x7f80000000000000000000000000000000000000000000000000000000000000007f800000000000000000000000000000000000000000000000000000000000000002600057",
1678+
"data" : "0x",
1679+
"gas" : "10000",
1680+
"gasPrice" : "100000000000000",
1681+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1682+
"value" : "1000000000000000000"
1683+
},
1684+
"gas" : "9896",
1685+
"out" : "0x",
1686+
"post" : {
1687+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1688+
"balance" : "1000000000000000000",
1689+
"code" : "0x7f80000000000000000000000000000000000000000000000000000000000000007f800000000000000000000000000000000000000000000000000000000000000002600057",
1690+
"nonce" : "0",
1691+
"storage" : {
1692+
}
1693+
}
1694+
},
1695+
"pre" : {
1696+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1697+
"balance" : "1000000000000000000",
1698+
"code" : "0x7f80000000000000000000000000000000000000000000000000000000000000007f800000000000000000000000000000000000000000000000000000000000000002600057",
1699+
"nonce" : "0",
1700+
"storage" : {
1701+
}
1702+
}
1703+
}
1704+
},
1705+
"mul6" : {
1706+
"callcreates" : [
1707+
],
1708+
"env" : {
1709+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
1710+
"currentDifficulty" : "256",
1711+
"currentGasLimit" : "1000000",
1712+
"currentNumber" : "0",
1713+
"currentTimestamp" : "1",
1714+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
1715+
},
1716+
"exec" : {
1717+
"address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
1718+
"caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1719+
"code" : "0x7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02600057",
1720+
"data" : "0x",
1721+
"gas" : "10000",
1722+
"gasPrice" : "100000000000000",
1723+
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
1724+
"value" : "1000000000000000000"
1725+
},
1726+
"gas" : "9796",
1727+
"out" : "0x",
1728+
"post" : {
1729+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1730+
"balance" : "1000000000000000000",
1731+
"code" : "0x7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02600057",
1732+
"nonce" : "0",
1733+
"storage" : {
1734+
"0x" : "0x01"
1735+
}
1736+
}
1737+
},
1738+
"pre" : {
1739+
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
1740+
"balance" : "1000000000000000000",
1741+
"code" : "0x7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff02600057",
1742+
"nonce" : "0",
1743+
"storage" : {
1744+
}
1745+
}
1746+
}
1747+
},
16201748
"neg0" : {
16211749
"callcreates" : [
16221750
],

0 commit comments

Comments
 (0)