aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-22 21:24:17 +0800
committerobscuren <geffobscura@gmail.com>2014-10-22 21:24:17 +0800
commit037039cacedc1396d7863e6f3b3fc80e0435fc1a (patch)
treed46c0f9542ed04a77d724ec8351e54eb185b603f /tests/files
parentb5beb1aac11af92bfe0f3ed7560b9eb08495ed09 (diff)
downloadgo-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar.gz
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar.bz2
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar.lz
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar.xz
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.tar.zst
go-tangerine-037039cacedc1396d7863e6f3b3fc80e0435fc1a.zip
Updated tests-subtree
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/index.js23
-rw-r--r--tests/files/package.json23
-rw-r--r--tests/files/randomTests/201410211657.json44
-rw-r--r--tests/files/randomTests/201410211701.json44
-rw-r--r--tests/files/randomTests/201410211704.json44
-rw-r--r--tests/files/randomTests/201410211705.json45
-rw-r--r--tests/files/randomTests/201410211707.json44
-rw-r--r--tests/files/randomTests/201410211708.json44
-rw-r--r--tests/files/randomTests/201410211709.json44
-rw-r--r--tests/files/randomTests/201410211717.json1
-rw-r--r--tests/files/randomTests/201410211719.json44
-rw-r--r--tests/files/randomTests/201410211722.json44
-rw-r--r--tests/files/vmtests/vmEnvironmentalInfoTest.json2
-rw-r--r--tests/files/vmtests/vmIOandFlowOperationsTest.json2
14 files changed, 446 insertions, 2 deletions
diff --git a/tests/files/index.js b/tests/files/index.js
new file mode 100644
index 000000000..84615a482
--- /dev/null
+++ b/tests/files/index.js
@@ -0,0 +1,23 @@
+module.exports = {
+ blockgenesis: require('./blockgenesistest'),
+ genesishashes: require('./genesishashestest'),
+ hexencode: require('./hexencodetest'),
+ keyaddrtests: require('./keyaddrtest'),
+ namecoin: require('./namecoin'),
+ rlptest: require('./rlptest'),
+ trietest: require('./trietest'),
+ trietestnextprev: require('./trietestnextprev'),
+ txtest: require('./txtest'),
+ vmtests: {
+ random: require('./vmtests/random'),
+ vmArithmeticTest: require('./vmtests/vmArithmeticTest'),
+ vmBitwiseLogicOperationTest: require('./vmtests/vmBitwiseLogicOperationTest'),
+ vmBlockInfoTest: require('./vmtests/vmBlockInfoTest'),
+ vmEnvironmentalInfoTest: require('./vmtests/vmEnvironmentalInfoTest'),
+ vmIOandFlowOperationsTest: require('./vmtests/vmIOandFlowOperationsTest'),
+ vmPushDupSwapTest: require('./vmtests/vmPushDupSwapTest'),
+ vmSha3Test: require('./vmtests/vmSha3Test'),
+ vmSystemOperationsTest: require('./vmtests/vmSystemOperationsTest'),
+ vmtests: require('./vmtests/vmtests')
+ }
+};
diff --git a/tests/files/package.json b/tests/files/package.json
new file mode 100644
index 000000000..eb0841450
--- /dev/null
+++ b/tests/files/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "ethereum-tests",
+ "version": "0.0.0",
+ "description": "tests for ethereum",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"There are no tests for there tests\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/ethereum/tests"
+ },
+ "keywords": [
+ "tests",
+ "ethereum"
+ ],
+ "author": "",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/ethereum/tests/issues"
+ },
+ "homepage": "https://github.com/ethereum/tests"
+}
diff --git a/tests/files/randomTests/201410211657.json b/tests/files/randomTests/201410211657.json
new file mode 100644
index 000000000..b09bd8b77
--- /dev/null
+++ b/tests/files/randomTests/201410211657.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5c563a33394098945a",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9974",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x5c563a33394098945a",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x5c563a33394098945a",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211701.json b/tests/files/randomTests/201410211701.json
new file mode 100644
index 000000000..70b06d25d
--- /dev/null
+++ b/tests/files/randomTests/201410211701.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x8b",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x8b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x8b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211704.json b/tests/files/randomTests/201410211704.json
new file mode 100644
index 000000000..0e67bd2b3
--- /dev/null
+++ b/tests/files/randomTests/201410211704.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x86",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x86",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x86",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211705.json b/tests/files/randomTests/201410211705.json
new file mode 100644
index 000000000..758483afc
--- /dev/null
+++ b/tests/files/randomTests/201410211705.json
@@ -0,0 +1,45 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x33410c45815741f394",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9794",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x33410c45815741f394",
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x0f4240"
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x33410c45815741f394",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211707.json b/tests/files/randomTests/201410211707.json
new file mode 100644
index 000000000..a081aac49
--- /dev/null
+++ b/tests/files/randomTests/201410211707.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x9b",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x9b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x9b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211708.json b/tests/files/randomTests/201410211708.json
new file mode 100644
index 000000000..492be2391
--- /dev/null
+++ b/tests/files/randomTests/201410211708.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7d",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7d",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x7d",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211709.json b/tests/files/randomTests/201410211709.json
new file mode 100644
index 000000000..18c9b3916
--- /dev/null
+++ b/tests/files/randomTests/201410211709.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x94",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x94",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x94",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211717.json b/tests/files/randomTests/201410211717.json
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/tests/files/randomTests/201410211717.json
@@ -0,0 +1 @@
+
diff --git a/tests/files/randomTests/201410211719.json b/tests/files/randomTests/201410211719.json
new file mode 100644
index 000000000..0c1b7c1da
--- /dev/null
+++ b/tests/files/randomTests/201410211719.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x93",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x93",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x93",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/randomTests/201410211722.json b/tests/files/randomTests/201410211722.json
new file mode 100644
index 000000000..a081aac49
--- /dev/null
+++ b/tests/files/randomTests/201410211722.json
@@ -0,0 +1,44 @@
+{
+ "randomVMtest" : {
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x9b",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "gas" : "9999",
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x9b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x9b",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/tests/files/vmtests/vmEnvironmentalInfoTest.json b/tests/files/vmtests/vmEnvironmentalInfoTest.json
index 1405d48bf..0b24173d9 100644
--- a/tests/files/vmtests/vmEnvironmentalInfoTest.json
+++ b/tests/files/vmtests/vmEnvironmentalInfoTest.json
@@ -159,7 +159,7 @@
"out" : "0x",
"post" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
- "balance" : "2000000000000000000",
+ "balance" : "1000000000000000000",
"code" : "0x730f572e5295c57f15886f9b263e2f6d2d6c7b5ec631600057",
"nonce" : "0",
"storage" : {
diff --git a/tests/files/vmtests/vmIOandFlowOperationsTest.json b/tests/files/vmtests/vmIOandFlowOperationsTest.json
index 807ac62bb..74d63649e 100644
--- a/tests/files/vmtests/vmIOandFlowOperationsTest.json
+++ b/tests/files/vmtests/vmIOandFlowOperationsTest.json
@@ -1369,4 +1369,4 @@
}
}
}
-} \ No newline at end of file
+}