aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-04-04 21:12:51 +0800
committerYoichi Hirai <i@yoichihirai.com>2018-04-12 05:05:13 +0800
commit5e440aa4360dbc2b5dbe4802f3e0395c4901483d (patch)
tree74ab52bacc1253336dabc5627e04f445cc62feb9 /src
parent477114bbd3cf7211d6bc5023138e9480b1243ad3 (diff)
downloaddexon-tests-5e440aa4360dbc2b5dbe4802f3e0395c4901483d.tar.gz
dexon-tests-5e440aa4360dbc2b5dbe4802f3e0395c4901483d.tar.zst
dexon-tests-5e440aa4360dbc2b5dbe4802f3e0395c4901483d.zip
Remove VM tests using the mock BLOCKHASH instruction just for VM tests
See the discussion https://github.com/ethereum/tests/issues/415#issuecomment-378593659
Diffstat (limited to 'src')
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhash257BlockFiller.json35
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhash258BlockFiller.json35
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhashInRangeFiller.json38
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhashMyBlockFiller.json35
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhashNotExistingBlockFiller.json35
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhashOutOfRangeFiller.json35
-rw-r--r--src/VMTestsFiller/vmBlockInfoTest/blockhashUnderFlowFiller.json29
7 files changed, 0 insertions, 242 deletions
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhash257BlockFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhash257BlockFiller.json
deleted file mode 100644
index d66e5bdc5..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhash257BlockFiller.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "blockhash257Block": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "257",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 0) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhash258BlockFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhash258BlockFiller.json
deleted file mode 100644
index 00054bb4c..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhash258BlockFiller.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "blockhash258Block": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "258",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 1) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhashInRangeFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhashInRangeFiller.json
deleted file mode 100644
index 861fbcb83..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhashInRangeFiller.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "blockhashInRange": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "257",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- "0x" : "0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6",
- "0x01" : "0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5",
- "0x02" : "0x6ca54da2c4784ea43fd88b3402de07ae4bced597cbb19f323b7595857a6720ae"
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 1) [[ 1 ]] (BLOCKHASH 2) [[ 2 ]] (BLOCKHASH 256) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhashMyBlockFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhashMyBlockFiller.json
deleted file mode 100644
index 769600168..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhashMyBlockFiller.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "blockhashMyBlock": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "1",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 1) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhashNotExistingBlockFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhashNotExistingBlockFiller.json
deleted file mode 100644
index 8ce97bac9..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhashNotExistingBlockFiller.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "blockhashNotExistingBlock": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "1",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 2) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhashOutOfRangeFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhashOutOfRangeFiller.json
deleted file mode 100644
index f6c7c8d2b..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhashOutOfRangeFiller.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "blockhashOutOfRange": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "257",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "expect" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "storage" : {
- }
- }
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 257) [[ 2 ]] (BLOCKHASH 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) }",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}
diff --git a/src/VMTestsFiller/vmBlockInfoTest/blockhashUnderFlowFiller.json b/src/VMTestsFiller/vmBlockInfoTest/blockhashUnderFlowFiller.json
deleted file mode 100644
index 744dc065f..000000000
--- a/src/VMTestsFiller/vmBlockInfoTest/blockhashUnderFlowFiller.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "blockhashUnderFlow": {
- "env" : {
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
- "currentNumber" : "1",
- "currentGasLimit" : "1000000",
- "currentDifficulty" : "256",
- "currentTimestamp" : "1",
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
- },
- "pre" : {
- "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "100000000000000000000000",
- "nonce" : "0",
- "code" : "(asm BLOCKHASH)",
- "storage": {}
- }
- },
- "exec" : {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000",
- "data" : "",
- "gasPrice" : "100000000000000",
- "gas" : "100000"
- }
- }
-}