diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2018-05-09 23:44:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 23:44:30 +0800 |
commit | 41a349dd1335f6a71581b3c79c35102057695f5e (patch) | |
tree | 3de65769c0efef15e8d03e9f79a3b8c74bb714fc /src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json | |
parent | ff9c8191d017bed2aa0afe9c397130e325b39595 (diff) | |
parent | f29231491230e400ba3728e912baf78cc46df46b (diff) | |
download | dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar.gz dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar.bz2 dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar.lz dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar.xz dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.tar.zst dexon-tests-41a349dd1335f6a71581b3c79c35102057695f5e.zip |
Merge pull request #454 from ethereum/bytes-arithmetic
add vm test for arithmetic (add) after byte
Diffstat (limited to 'src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json')
-rw-r--r-- | src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json new file mode 100644 index 000000000..97e5f46e7 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json @@ -0,0 +1,36 @@ +{ + "byteBN": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x1" : "0xac" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code": "{ (asm 0x1234523456 31 BYTE DUP1 ADD 0x01 SSTORE )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} |