aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJared Wasinger <j-wasinger@hotmail.com>2018-04-18 19:07:33 +0800
committerJared Wasinger <j-wasinger@hotmail.com>2018-04-18 19:07:33 +0800
commitf29231491230e400ba3728e912baf78cc46df46b (patch)
treeff56077986c84e202a48c96c9e77c520734305a4 /src
parent477114bbd3cf7211d6bc5023138e9480b1243ad3 (diff)
downloadtangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar.gz
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar.bz2
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar.lz
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar.xz
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.tar.zst
tangerine-tests-f29231491230e400ba3728e912baf78cc46df46b.zip
add vm test for arithmetic (add) after byte
Diffstat (limited to 'src')
-rw-r--r--src/VMTestsFiller/vmBitwiseLogicOperation/byteBNFiller.json36
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"
+ }
+ }
+}