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
a622ecce
Commit
a622ecce
authored
Feb 26, 2015
by
CJentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more mem tests - calldatacopy and return
parent
a3b3d19d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
332 additions
and
7 deletions
+332
-7
stMemoryTest.json
StateTests/stMemoryTest.json
+61
-0
vmEnvironmentalInfoTest.json
VMTests/vmEnvironmentalInfoTest.json
+264
-0
vmSha3Test.json
VMTests/vmSha3Test.json
+7
-7
No files found.
StateTests/stMemoryTest.json
View file @
a622ecce
...
...
@@ -2497,6 +2497,67 @@
"value"
:
"10"
}
},
"memReturn"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"42949672960"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0xff55883355001144bbccddffeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa00000000000000000000000000000000"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000010"
,
"code"
:
"0x366000600037596000f3"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"909"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"429496728681"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x366000600037596000f3"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"429496729600"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
"0xff55883355001144bbccddffeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
,
"gasLimit"
:
"1342183320"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"value"
:
"10"
}
},
"mload16bitBound"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
...
...
VMTests/vmEnvironmentalInfoTest.json
View file @
a622ecce
This diff is collapsed.
Click to expand it.
VMTests/vmSha3Test.json
View file @
a622ecce
...
...
@@ -300,7 +300,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4
29444268
4"
,
"gas"
:
"4
02600620
4"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -419,7 +419,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496694
1
"
,
"gas"
:
"429496694
0
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -509,7 +509,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"42949669
40
"
,
"gas"
:
"42949669
39
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -554,7 +554,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"42949669
10
"
,
"gas"
:
"42949669
07
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -599,7 +599,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
9
"
,
"gas"
:
"429496690
5
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -644,7 +644,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
9
"
,
"gas"
:
"429496690
5
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -689,7 +689,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
8
"
,
"gas"
:
"429496690
4
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
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