diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-09-09 17:26:32 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-09-09 17:26:32 +0800 |
commit | dee37b3faee8da75a084aba6cc1661c0d4477ada (patch) | |
tree | 2ad8e9e169a6b38f61f016d24b35c47427f37789 /VMTests/vmIOandFlowOperationsTest.json | |
parent | 28bc05a2e2b60b8d99bc99313047c239d53aa298 (diff) | |
download | tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar.gz tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar.bz2 tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar.lz tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar.xz tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.tar.zst tangerine-tests-dee37b3faee8da75a084aba6cc1661c0d4477ada.zip |
add SSTORE underflow test
Diffstat (limited to 'VMTests/vmIOandFlowOperationsTest.json')
-rw-r--r-- | VMTests/vmIOandFlowOperationsTest.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/VMTests/vmIOandFlowOperationsTest.json b/VMTests/vmIOandFlowOperationsTest.json index b1e7cf095..0eb6a4365 100644 --- a/VMTests/vmIOandFlowOperationsTest.json +++ b/VMTests/vmIOandFlowOperationsTest.json @@ -4845,6 +4845,41 @@ } } }, + "sstore_underflow" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x600155", + "data" : "0x", + "gas" : "0x0186a0", + "gasPrice" : "0x5af3107a4000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "0x0de0b6b3a7640000" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x01" : "0x00" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x152d02c7e14af6800000", + "code" : "0x600155", + "nonce" : "0x00", + "storage" : { + } + } + } + }, "stack_loop" : { "callcreates" : [ ], |