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
e1f5e12a
Commit
e1f5e12a
authored
Feb 28, 2014
by
Gav Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RLP tests.
parent
f87ce15a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
808 additions
and
284 deletions
+808
-284
rlptest.json
rlptest.json
+11
-11
vmtests.json
vmtests.json
+797
-273
No files found.
rlptest.json
View file @
e1f5e12a
...
...
@@ -5,11 +5,11 @@
},
"shortstring"
:
{
"in"
:
"dog"
,
"out"
:
"4
3646f67"
"out"
:
"8
3646f67"
},
"longstring"
:
{
"in"
:
"Lorem ipsum dolor sit amet, consectetur adipisicing elit"
,
"out"
:
"TODO
"
"out"
:
"b8384c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e7365637465747572206164697069736963696e6720656c6974
"
},
"zero"
:
{
"in"
:
0
,
...
...
@@ -23,24 +23,24 @@
"in"
:
1000
,
"out"
:
"8203e8"
},
"bigint"
:
{
"in"
:
115792089237316195423570985008687907853269984665640564039457584007913129639936
,
"out"
:
"3821010000000000000000000000000000000000000000000000000000000000000000"
},
"emptylist"
:
{
"in"
:
[],
"out"
:
"c0"
},
"stringlist"
:
{
"in"
:
[
"dog"
,
"god"
,
"cat"
],
"out"
:
"8343646f6743676f644
3636174"
"out"
:
"cc83646f6783676f648
3636174"
},
"multilist"
:
{
"in"
:
[
"zw"
,
[
4
],
1
],
"out"
:
"TODO
"
"out"
:
"c6827a77c10401
"
},
"listsoflists"
:
{
"in"
:
[
[
[],
[]
],
[]
],
"out"
:
"c2c2c0c0c0"
"out"
:
"c4c2c0c0c0"
},
"xbigint"
:
{
"in"
:
115792089237316195423570985008687907853269984665640564039457584007913129639936
,
"out"
:
"3821010000000000000000000000000000000000000000000000000000000000000000"
}
}
vmtests.json
View file @
e1f5e12a
{
"arith"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentTimestamp"
:
1
,
"feeMultiplier"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
,
"previousNonce"
:
"9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae"
},
"exec"
:
[
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"data"
:
[
],
"sender"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
1000000000000000000
}
],
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
999999999999999810
,
"extroPrice"
:
0
,
"nonce"
:
1
,
"store"
:
{
"0"
:
[
48
,
0
,
48
,
2
,
48
,
2
,
1
,
48
,
4
,
48
,
4
,
2
,
48
,
4
,
2
,
1
,
48
,
2
,
48
,
2
,
4
,
1
,
48
,
3
,
48
,
2
,
6
,
1
,
48
,
8
,
48
,
2
,
3
,
48
,
2
,
3
,
1
,
17
,
61
,
0
]
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"extroPrice"
:
0
,
"nonce"
:
0
,
"store"
:
{
"0"
:
[
48
,
0
,
48
,
2
,
48
,
2
,
1
,
48
,
4
,
48
,
4
,
2
,
48
,
4
,
2
,
1
,
48
,
2
,
48
,
2
,
4
,
1
,
48
,
3
,
48
,
2
,
6
,
1
,
48
,
8
,
48
,
2
,
3
,
48
,
2
,
3
,
1
,
17
,
61
]
}
}
},
"txs"
:
[
{
"data"
:
[
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
79
}
]
},
"boolean"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentTimestamp"
:
1
,
"feeMultiplier"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
,
"previousNonce"
:
"9c9c6567b5ec0c5f3f25df79be42707090f1e62e9db84cbb556ae2a2f6ccccae"
},
"exec"
:
[
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"data"
:
[
],
"sender"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
1000000000000000000
}
],
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
999999999999999490
,
"extroPrice"
:
0
,
"nonce"
:
4
,
"store"
:
{
"0"
:
[
48
,
21
,
48
,
0
,
48
,
13
,
48
,
1
,
15
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
2
,
17
,
61
,
48
,
42
,
48
,
0
,
48
,
34
,
48
,
1
,
15
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
3
,
17
,
61
,
48
,
63
,
48
,
0
,
48
,
55
,
48
,
0
,
15
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
4
,
17
,
61
,
48
,
84
,
48
,
0
,
48
,
76
,
48
,
0
,
15
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
5
,
17
,
61
,
48
,
104
,
48
,
1
,
48
,
96
,
48
,
1
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
12
,
17
,
61
,
48
,
124
,
48
,
1
,
48
,
116
,
48
,
1
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
13
,
17
,
61
,
48
,
144
,
48
,
1
,
48
,
136
,
48
,
0
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
14
,
17
,
61
,
48
,
164
,
48
,
1
,
48
,
156
,
48
,
0
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
15
,
17
,
61
,
0
]
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
1000000000000000000
,
"extroPrice"
:
0
,
"nonce"
:
0
,
"store"
:
{
"0"
:
[
48
,
21
,
48
,
0
,
48
,
13
,
48
,
1
,
15
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
2
,
17
,
61
,
48
,
42
,
48
,
0
,
48
,
34
,
48
,
1
,
15
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
3
,
17
,
61
,
48
,
63
,
48
,
0
,
48
,
55
,
48
,
0
,
15
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
4
,
17
,
61
,
48
,
84
,
48
,
0
,
48
,
76
,
48
,
0
,
15
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
5
,
17
,
61
,
48
,
104
,
48
,
1
,
48
,
96
,
48
,
1
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
12
,
17
,
61
,
48
,
124
,
48
,
1
,
48
,
116
,
48
,
1
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
13
,
17
,
61
,
48
,
144
,
48
,
1
,
48
,
136
,
48
,
0
,
57
,
49
,
48
,
1
,
15
,
57
,
48
,
0
,
48
,
14
,
17
,
61
,
48
,
164
,
48
,
1
,
48
,
156
,
48
,
0
,
57
,
49
,
48
,
0
,
15
,
57
,
48
,
0
,
48
,
15
,
17
,
61
]
}
}
},
"txs"
:
[
{
"data"
:
[
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
2
},
{
"data"
:
[
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
12
},
{
"data"
:
[
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
13
},
{
"data"
:
[
],
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
14
}
]
},
"fan"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
...
...
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