Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
a2257f34
Commit
a2257f34
authored
May 30, 2014
by
Gav Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VM tests.
parent
e1ae4ad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
531 additions
and
337 deletions
+531
-337
vmtests.json
vmtests.json
+531
-337
No files found.
vmtests.json
View file @
a2257f34
...
@@ -3,14 +3,10 @@
...
@@ -3,14 +3,10 @@
"callcreates"
:
[
"callcreates"
:
[
{
{
"data"
:
[
"data"
:
[
0
,
0
,
0
,
0
],
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"gasLimit"
:
97
76
,
"gasLimit"
:
97
92
,
"value"
:
4
"value"
:
7
4
}
}
],
],
"env"
:
{
"env"
:
{
...
@@ -20,7 +16,6 @@
...
@@ -20,7 +16,6 @@
"currentGasLimit"
:
"1000000"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"gasLimit"
:
null
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
},
"exec"
:
[
"exec"
:
[
...
@@ -34,77 +29,68 @@
...
@@ -34,77 +29,68 @@
"value"
:
"1000000000000000000"
"value"
:
"1000000000000000000"
}
}
],
],
"gas"
:
99
54
,
"gas"
:
99
71
,
"out"
:
[
"out"
:
[
],
],
"post"
:
{
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
999999999999999992
,
"balance"
:
999999999999999852
,
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
74
,
51
,
96
,
200
,
92
,
3
,
241
],
"nonce"
:
1
,
"nonce"
:
1
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"balance"
:
4
,
"balance"
:
74
,
"code"
:
[
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
]
},
},
"pre"
:
{
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"balance"
:
1000000000000000000
,
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
74
,
51
,
96
,
200
,
92
,
3
,
241
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
2
,
96
,
2
,
96
,
8
,
3
,
96
,
2
,
96
,
3
,
6
,
96
,
2
,
96
,
2
,
4
,
96
,
4
,
96
,
4
,
96
,
4
,
2
,
96
,
2
,
96
,
2
,
1
,
51
,
96
,
200
,
92
,
3
,
241
]
}
}
},
},
"boolean"
:
{
"boolean"
:
{
...
@@ -145,7 +131,6 @@
...
@@ -145,7 +131,6 @@
"currentGasLimit"
:
"1000000"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"gasLimit"
:
null
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
},
"exec"
:
[
"exec"
:
[
...
@@ -165,260 +150,446 @@
...
@@ -165,260 +150,446 @@
"post"
:
{
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
999999999999999918
,
"balance"
:
999999999999999918
,
"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
],
"nonce"
:
4
,
"nonce"
:
4
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"balance"
:
41
,
"balance"
:
41
,
"code"
:
[
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
]
},
},
"pre"
:
{
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"balance"
:
1000000000000000000
,
"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
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
96
,
1
,
96
,
1
,
16
,
15
,
99
,
0
,
0
,
0
,
29
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
2
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
0
,
96
,
1
,
16
,
15
,
99
,
0
,
0
,
0
,
58
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
3
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
1
,
96
,
0
,
16
,
15
,
99
,
0
,
0
,
0
,
87
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
4
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
0
,
96
,
0
,
16
,
15
,
99
,
0
,
0
,
0
,
116
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
5
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
1
,
96
,
1
,
17
,
15
,
99
,
0
,
0
,
0
,
145
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
12
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
0
,
96
,
1
,
17
,
15
,
99
,
0
,
0
,
0
,
174
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
13
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
1
,
96
,
0
,
17
,
15
,
99
,
0
,
0
,
0
,
203
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
14
,
51
,
96
,
200
,
92
,
3
,
241
,
80
,
96
,
0
,
96
,
0
,
17
,
15
,
99
,
0
,
0
,
0
,
232
,
89
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
96
,
15
,
51
,
96
,
200
,
92
,
3
,
241
,
80
]
}
}
},
},
"mktx"
:
{
"mktx"
:
{
...
@@ -438,7 +609,6 @@
...
@@ -438,7 +609,6 @@
"currentGasLimit"
:
"1000000"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"gasLimit"
:
null
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
},
"exec"
:
[
"exec"
:
[
...
@@ -458,51 +628,76 @@
...
@@ -458,51 +628,76 @@
"post"
:
{
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
0
,
"balance"
:
0
,
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
103
,
6
,
240
,
91
,
89
,
211
,
178
,
0
,
0
,
51
,
96
,
200
,
92
,
3
,
241
],
"nonce"
:
1
,
"nonce"
:
1
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"balance"
:
500000000000000000
,
"balance"
:
500000000000000000
,
"code"
:
[
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
]
},
},
"pre"
:
{
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"balance"
:
1000000000000000000
,
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
103
,
6
,
240
,
91
,
89
,
211
,
178
,
0
,
0
,
51
,
96
,
200
,
92
,
3
,
241
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
96
,
0
,
96
,
0
,
96
,
0
,
96
,
0
,
103
,
6
,
240
,
91
,
89
,
211
,
178
,
0
,
0
,
51
,
96
,
200
,
92
,
3
,
241
]
}
}
},
},
"suicide"
:
{
"suicide"
:
{
...
@@ -515,7 +710,6 @@
...
@@ -515,7 +710,6 @@
"currentGasLimit"
:
"1000000"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"gasLimit"
:
null
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
},
"exec"
:
[
"exec"
:
[
...
@@ -535,24 +729,24 @@
...
@@ -535,24 +729,24 @@
"post"
:
{
"post"
:
{
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
"balance"
:
1000000000000000000
,
"balance"
:
1000000000000000000
,
"code"
:
[
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
]
},
},
"pre"
:
{
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"balance"
:
1000000000000000000
,
"code"
:
[
51
,
255
],
"nonce"
:
0
,
"nonce"
:
0
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"code"
:
[
51
,
255
]
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment