From bc7812a938bf409db31790c71a073efb1250fa20 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 31 Aug 2017 20:01:56 +0300 Subject: split vm tests --- .../vmBitwiseLogicOperation/and0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/and1Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/and2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/and3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/and4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/and5Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte10Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/byte11Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/byte1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte5Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte6Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte7Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/byte8Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/byte9Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/eq0Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/eq1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/eq2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/gt0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/gt1Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/gt2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/gt3Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/iszeo2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/iszero0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/iszero1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/lt0Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/lt1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/lt2Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/lt3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/not0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/not1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/not2Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/not3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/not4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/not5Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/or5Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/sgt0Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/sgt1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/sgt2Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/sgt3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/sgt4Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/slt0Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/slt1Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/slt2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/slt3Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/slt4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/xor0Filler.json | 35 +++++++++++++++++++++ .../vmBitwiseLogicOperation/xor1Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/xor2Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/xor3Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/xor4Filler.json | 36 ++++++++++++++++++++++ .../vmBitwiseLogicOperation/xor5Filler.json | 36 ++++++++++++++++++++++ 60 files changed, 2143 insertions(+) create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/and5Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte10Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte11Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte5Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte6Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte7Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte8Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/byte9Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/eq0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/eq1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/eq2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/gt0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/gt1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/gt2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/gt3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/iszeo2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/iszero0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/iszero1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/lt0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/lt1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/lt2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/lt3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/not5Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/or5Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/sgt0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/sgt1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/sgt2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/sgt3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/sgt4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/slt0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/slt1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/slt2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/slt3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/slt4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor0Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor1Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor2Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor3Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor4Filler.json create mode 100644 src/VMTestsFiller/vmBitwiseLogicOperation/xor5Filler.json (limited to 'src/VMTestsFiller/vmBitwiseLogicOperation') diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and0Filler.json new file mode 100644 index 000000000..db07eb388 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and0Filler.json @@ -0,0 +1,36 @@ +{ + "and0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x02" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 2 2) }", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and1Filler.json new file mode 100644 index 000000000..d6f804033 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and1Filler.json @@ -0,0 +1,35 @@ +{ + "and1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 2 1) }", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and2Filler.json new file mode 100644 index 000000000..be818473e --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and2Filler.json @@ -0,0 +1,36 @@ +{ + "and2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 3 1) }", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and3Filler.json new file mode 100644 index 000000000..d695fdcec --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and3Filler.json @@ -0,0 +1,36 @@ +{ + "and3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and4Filler.json new file mode 100644 index 000000000..2f3440756 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and4Filler.json @@ -0,0 +1,36 @@ +{ + "and4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/and5Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/and5Filler.json new file mode 100644 index 000000000..ec12e07a0 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/and5Filler.json @@ -0,0 +1,36 @@ +{ + "and5": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeefeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (AND 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeefeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte0Filler.json new file mode 100644 index 000000000..57d808f76 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte0Filler.json @@ -0,0 +1,36 @@ +{ + "byte0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 0) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte10Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte10Filler.json new file mode 100644 index 000000000..23df00564 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte10Filler.json @@ -0,0 +1,35 @@ +{ + "byte10": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte11Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte11Filler.json new file mode 100644 index 000000000..3d8d3d354 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte11Filler.json @@ -0,0 +1,35 @@ +{ + "byte11": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE 0 0x8040201008040201) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte1Filler.json new file mode 100644 index 000000000..0749aa40a --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte1Filler.json @@ -0,0 +1,36 @@ +{ + "byte1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x02" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 1) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte2Filler.json new file mode 100644 index 000000000..043c401f7 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte2Filler.json @@ -0,0 +1,36 @@ +{ + "byte2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x04" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 2) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte3Filler.json new file mode 100644 index 000000000..31b55656b --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte3Filler.json @@ -0,0 +1,36 @@ +{ + "byte3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x08" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 3) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte4Filler.json new file mode 100644 index 000000000..a7e0022c9 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte4Filler.json @@ -0,0 +1,36 @@ +{ + "byte4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x10" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 4) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte5Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte5Filler.json new file mode 100644 index 000000000..4db863110 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte5Filler.json @@ -0,0 +1,36 @@ +{ + "byte5": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x20" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 5) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte6Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte6Filler.json new file mode 100644 index 000000000..37798db1e --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte6Filler.json @@ -0,0 +1,36 @@ +{ + "byte6": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x40" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 6) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte7Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte7Filler.json new file mode 100644 index 000000000..9e504699f --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte7Filler.json @@ -0,0 +1,36 @@ +{ + "byte7": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x80" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 7) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte8Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte8Filler.json new file mode 100644 index 000000000..890d39364 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte8Filler.json @@ -0,0 +1,35 @@ +{ + "byte8": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (- 31 31) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/byte9Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/byte9Filler.json new file mode 100644 index 000000000..e9c39bddc --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/byte9Filler.json @@ -0,0 +1,35 @@ +{ + "byte9": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (BYTE (SDIV 31 32) 0x8040201008040201 ) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/eq0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/eq0Filler.json new file mode 100644 index 000000000..064dcbc0d --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/eq0Filler.json @@ -0,0 +1,35 @@ +{ + "eq0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (EQ (- 0 5) (- 0 3) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/eq1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/eq1Filler.json new file mode 100644 index 000000000..a460d696f --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/eq1Filler.json @@ -0,0 +1,36 @@ +{ + "eq1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (EQ 0 0)}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/eq2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/eq2Filler.json new file mode 100644 index 000000000..637e6d6a8 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/eq2Filler.json @@ -0,0 +1,36 @@ +{ + "eq2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (EQ 115792089237316195423570985008687907853269984665640564039457584007913129639935 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/gt0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/gt0Filler.json new file mode 100644 index 000000000..ede438bd3 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/gt0Filler.json @@ -0,0 +1,36 @@ +{ + "gt0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] ( GT (- 0 2) 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/gt1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/gt1Filler.json new file mode 100644 index 000000000..ad11d4d8e --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/gt1Filler.json @@ -0,0 +1,35 @@ +{ + "gt1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (GT 0 (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/gt2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/gt2Filler.json new file mode 100644 index 000000000..13331a055 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/gt2Filler.json @@ -0,0 +1,36 @@ +{ + "gt2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (GT 115792089237316195423570985008687907853269984665640564039457584007913129639935 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/gt3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/gt3Filler.json new file mode 100644 index 000000000..d769c4373 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/gt3Filler.json @@ -0,0 +1,35 @@ +{ + "gt3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (GT 0 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/iszeo2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/iszeo2Filler.json new file mode 100644 index 000000000..4d642d2fd --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/iszeo2Filler.json @@ -0,0 +1,36 @@ +{ + "iszeo2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x00" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (ISZERO (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/iszero0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/iszero0Filler.json new file mode 100644 index 000000000..602057457 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/iszero0Filler.json @@ -0,0 +1,36 @@ +{ + "iszero0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x00" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (ISZERO 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/iszero1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/iszero1Filler.json new file mode 100644 index 000000000..cb4629e4b --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/iszero1Filler.json @@ -0,0 +1,36 @@ +{ + "iszero1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (ISZERO 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/lt0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/lt0Filler.json new file mode 100644 index 000000000..e8cd1717a --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/lt0Filler.json @@ -0,0 +1,35 @@ +{ + "lt0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "100000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (LT (- 0 2) 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "10000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/lt1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/lt1Filler.json new file mode 100644 index 000000000..7b808956b --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/lt1Filler.json @@ -0,0 +1,36 @@ +{ + "lt1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "10000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (LT 0 (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "10000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/lt2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/lt2Filler.json new file mode 100644 index 000000000..c8047adfd --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/lt2Filler.json @@ -0,0 +1,35 @@ +{ + "lt2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "10000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (LT 115792089237316195423570985008687907853269984665640564039457584007913129639935 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "10000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/lt3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/lt3Filler.json new file mode 100644 index 000000000..457a538cb --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/lt3Filler.json @@ -0,0 +1,36 @@ +{ + "lt3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (LT 0 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not0Filler.json new file mode 100644 index 000000000..ff8a08bbe --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not0Filler.json @@ -0,0 +1,36 @@ +{ + "not0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT 0)}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not1Filler.json new file mode 100644 index 000000000..e0d77c8f8 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not1Filler.json @@ -0,0 +1,36 @@ +{ + "not1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT 2) }", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not2Filler.json new file mode 100644 index 000000000..564c45a08 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not2Filler.json @@ -0,0 +1,35 @@ +{ + "not2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not3Filler.json new file mode 100644 index 000000000..64d582237 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not3Filler.json @@ -0,0 +1,36 @@ +{ + "not3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not4Filler.json new file mode 100644 index 000000000..cc92f3f45 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not4Filler.json @@ -0,0 +1,36 @@ +{ + "not4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT (- 0 115792089237316195423570985008687907853269984665640564039457584007913129639935) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/not5Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/not5Filler.json new file mode 100644 index 000000000..7d85968c5 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/not5Filler.json @@ -0,0 +1,36 @@ +{ + "not5": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (NOT (- 0 0) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or0Filler.json new file mode 100644 index 000000000..dba33d7b0 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or0Filler.json @@ -0,0 +1,36 @@ +{ + "or0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x02" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 2 2) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or1Filler.json new file mode 100644 index 000000000..2dd3833da --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or1Filler.json @@ -0,0 +1,36 @@ +{ + "or1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x03" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 2 1) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or2Filler.json new file mode 100644 index 000000000..854e21125 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or2Filler.json @@ -0,0 +1,36 @@ +{ + "or2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x03" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 3 1) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or3Filler.json new file mode 100644 index 000000000..7dbbb1983 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or3Filler.json @@ -0,0 +1,36 @@ +{ + "or3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or4Filler.json new file mode 100644 index 000000000..bffb7c1b3 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or4Filler.json @@ -0,0 +1,36 @@ +{ + "or4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/or5Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/or5Filler.json new file mode 100644 index 000000000..8177005fc --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/or5Filler.json @@ -0,0 +1,36 @@ +{ + "or5": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (OR 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeefeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/sgt0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt0Filler.json new file mode 100644 index 000000000..f39e9a120 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt0Filler.json @@ -0,0 +1,35 @@ +{ + "sgt0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SGT (- 0 2) 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/sgt1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt1Filler.json new file mode 100644 index 000000000..cac9ab2a0 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt1Filler.json @@ -0,0 +1,36 @@ +{ + "sgt1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SGT 0 (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/sgt2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt2Filler.json new file mode 100644 index 000000000..d78e5f5e8 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt2Filler.json @@ -0,0 +1,35 @@ +{ + "sgt2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SGT 115792089237316195423570985008687907853269984665640564039457584007913129639935 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/sgt3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt3Filler.json new file mode 100644 index 000000000..3fff182dc --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt3Filler.json @@ -0,0 +1,36 @@ +{ + "sgt3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SGT 0 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/sgt4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt4Filler.json new file mode 100644 index 000000000..d6b0e2e97 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/sgt4Filler.json @@ -0,0 +1,35 @@ +{ + "sgt4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SGT (- 0 5) (- 0 3) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/slt0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/slt0Filler.json new file mode 100644 index 000000000..12c31939b --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/slt0Filler.json @@ -0,0 +1,36 @@ +{ + "slt0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SLT (- 0 2) 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/slt1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/slt1Filler.json new file mode 100644 index 000000000..16974531a --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/slt1Filler.json @@ -0,0 +1,35 @@ +{ + "slt1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SLT 0 (- 0 2) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/slt2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/slt2Filler.json new file mode 100644 index 000000000..972913bf0 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/slt2Filler.json @@ -0,0 +1,36 @@ +{ + "slt2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SLT 115792089237316195423570985008687907853269984665640564039457584007913129639935 0 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/slt3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/slt3Filler.json new file mode 100644 index 000000000..3e7f7bc6a --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/slt3Filler.json @@ -0,0 +1,35 @@ +{ + "slt3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SLT 0 115792089237316195423570985008687907853269984665640564039457584007913129639935 )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/slt4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/slt4Filler.json new file mode 100644 index 000000000..657b1b411 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/slt4Filler.json @@ -0,0 +1,36 @@ +{ + "slt4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x01" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (SLT (- 0 5) (- 0 3) )}", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor0Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor0Filler.json new file mode 100644 index 000000000..475a94243 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor0Filler.json @@ -0,0 +1,35 @@ +{ + "xor0": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 2 2) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor1Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor1Filler.json new file mode 100644 index 000000000..8b7212df1 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor1Filler.json @@ -0,0 +1,36 @@ +{ + "xor1": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x03" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 2 1) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor2Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor2Filler.json new file mode 100644 index 000000000..d00980e4b --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor2Filler.json @@ -0,0 +1,36 @@ +{ + "xor2": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x02" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 3 1) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor3Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor3Filler.json new file mode 100644 index 000000000..30b53f546 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor3Filler.json @@ -0,0 +1,36 @@ +{ + "xor3": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0xfedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor4Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor4Filler.json new file mode 100644 index 000000000..53c6f6f8c --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor4Filler.json @@ -0,0 +1,36 @@ +{ + "xor4": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x1111111111111111111111111111111111111111111111111111111111111111" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} diff --git a/src/VMTestsFiller/vmBitwiseLogicOperation/xor5Filler.json b/src/VMTestsFiller/vmBitwiseLogicOperation/xor5Filler.json new file mode 100644 index 000000000..42fc4bb89 --- /dev/null +++ b/src/VMTestsFiller/vmBitwiseLogicOperation/xor5Filler.json @@ -0,0 +1,36 @@ +{ + "xor5": { + "env" : { + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", + "currentNumber" : "0", + "currentGasLimit" : "1000000", + "currentDifficulty" : "256", + "currentTimestamp" : "1", + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" + }, + "expect" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x" : "0x1111111111111111111111111111101111111111111111111111111111111111" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000000000", + "nonce" : "0", + "code" : "{ [[ 0 ]] (XOR 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeefeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) } ", + "storage": {} + } + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000", + "data" : "", + "gasPrice" : "100000000000000", + "gas" : "100000" + } + } +} -- cgit v1.2.3