aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-06-28 03:35:26 +0800
committerGav Wood <i@gavwood.com>2014-06-28 03:35:26 +0800
commit5021e0dd83bdb8b23ca3dcc72293c6737e8165a8 (patch)
tree5ec7c472b7bab8b92761857caa88398d50aff2f3
parentc818d132022c228c5b04ab82871f5971049b0c6d (diff)
downloaddexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar.gz
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar.bz2
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar.lz
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar.xz
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.tar.zst
dexon-tests-5021e0dd83bdb8b23ca3dcc72293c6737e8165a8.zip
VM test framework updated.
-rw-r--r--vmtests.json341
1 files changed, 297 insertions, 44 deletions
diff --git a/vmtests.json b/vmtests.json
index 33f0844c3..3c05fb8e7 100644
--- a/vmtests.json
+++ b/vmtests.json
@@ -17,17 +17,34 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "exec" : [
- {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "data" : "",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- }
- ],
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : [
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 74,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241
+ ],
+ "data" : [
+ ],
+ "gas" : 10000,
+ "gasPrice" : 100000000000000,
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : 1000000000000000000
+ },
"gas" : 9971,
"out" : [
],
@@ -131,17 +148,226 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "exec" : [
- {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "data" : "",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- }
- ],
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : [
+ 96,
+ 1,
+ 96,
+ 1,
+ 16,
+ 15,
+ 96,
+ 26,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 2,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 0,
+ 96,
+ 1,
+ 16,
+ 15,
+ 96,
+ 52,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 3,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 1,
+ 96,
+ 0,
+ 16,
+ 15,
+ 96,
+ 78,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 4,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 0,
+ 96,
+ 0,
+ 16,
+ 15,
+ 96,
+ 104,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 5,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 1,
+ 96,
+ 1,
+ 17,
+ 15,
+ 96,
+ 130,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 12,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 0,
+ 96,
+ 1,
+ 17,
+ 15,
+ 96,
+ 156,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 13,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 1,
+ 96,
+ 0,
+ 17,
+ 15,
+ 96,
+ 182,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 14,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80,
+ 96,
+ 0,
+ 96,
+ 0,
+ 17,
+ 15,
+ 96,
+ 208,
+ 89,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 15,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241,
+ 80
+ ],
+ "data" : [
+ ],
+ "gas" : 10000,
+ "gasPrice" : 100000000000000,
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : 1000000000000000000
+ },
"gas" : 9832,
"out" : [
],
@@ -608,17 +834,41 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "exec" : [
- {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "data" : "",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- }
- ],
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : [
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 96,
+ 0,
+ 103,
+ 6,
+ 240,
+ 91,
+ 89,
+ 211,
+ 178,
+ 0,
+ 0,
+ 51,
+ 96,
+ 200,
+ 92,
+ 3,
+ 241
+ ],
+ "data" : [
+ ],
+ "gas" : 10000,
+ "gasPrice" : 100000000000000,
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : 1000000000000000000
+ },
"gas" : 9971,
"out" : [
],
@@ -708,17 +958,20 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "exec" : [
- {
- "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
- "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "data" : "",
- "gas" : "10000",
- "gasPrice" : "100000000000000",
- "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
- "value" : "1000000000000000000"
- }
- ],
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : [
+ 128,
+ 175
+ ],
+ "data" : [
+ ],
+ "gas" : 10000,
+ "gasPrice" : 100000000000000,
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : 1000000000000000000
+ },
"gas" : 9999,
"out" : [
],