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
c1696531
Commit
c1696531
authored
10 years ago
by
Christoph Jentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected tests and different style for storage
parent
e17a909f
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
253 additions
and
649 deletions
+253
-649
vmArithmeticTest.json
vmtests/vmArithmeticTest.json
+43
-129
vmBitwiseLogicOperationTest.json
vmtests/vmBitwiseLogicOperationTest.json
+32
-96
vmBlockInfoTest.json
vmtests/vmBlockInfoTest.json
+5
-15
vmEnvironmentalInfoTest.json
vmtests/vmEnvironmentalInfoTest.json
+23
-69
vmIOandFlowOperationsTest.json
vmtests/vmIOandFlowOperationsTest.json
+26
-79
vmPushDupSwapTest.json
vmtests/vmPushDupSwapTest.json
+64
-192
vmSha3Test.json
vmtests/vmSha3Test.json
+3
-9
vmSystemOperationsTest.json
vmtests/vmSystemOperationsTest.json
+57
-60
No files found.
vmtests/vmArithmeticTest.json
View file @
c1696531
This diff is collapsed.
Click to expand it.
vmtests/vmBitwiseLogicOperationTest.json
View file @
c1696531
This diff is collapsed.
Click to expand it.
vmtests/vmBlockInfoTest.json
View file @
c1696531
...
...
@@ -28,9 +28,7 @@
"code"
:
"0x41600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
]
"0x"
:
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
}
}
},
...
...
@@ -73,9 +71,7 @@
"code"
:
"0x44600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0100"
]
"0x"
:
"0x0100"
}
}
},
...
...
@@ -118,9 +114,7 @@
"code"
:
"0x45600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0f4240"
]
"0x"
:
"0x0f4240"
}
}
},
...
...
@@ -205,9 +199,7 @@
"code"
:
"0x40600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
]
"0x"
:
"0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
}
}
},
...
...
@@ -250,9 +242,7 @@
"code"
:
"0x42600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x01"
]
"0x"
:
"0x01"
}
}
},
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmEnvironmentalInfoTest.json
View file @
c1696531
...
...
@@ -28,9 +28,7 @@
"code"
:
"0x30600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
]
"0x"
:
"0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
}
}
},
...
...
@@ -73,9 +71,7 @@
"code"
:
"0x30600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
]
"0x"
:
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
}
}
},
...
...
@@ -167,9 +163,7 @@
"code"
:
"0x730f572e5295c57f15886f9b263e2f6d2d6c7b5ec631600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0de0b6b3a7640000"
]
"0x"
:
"0x0de0b6b3a7640000"
}
}
},
...
...
@@ -212,9 +206,7 @@
"code"
:
"0x3031730f572e5295c57f15886f9b263e2f6d2d6c7b5ec6310e600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x01"
]
"0x"
:
"0x01"
}
}
},
...
...
@@ -257,9 +249,7 @@
"code"
:
"0x333173cd1722f3947def4cf144679da39c4c32bdc35681310e600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x01"
]
"0x"
:
"0x01"
}
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
...
...
@@ -309,9 +299,7 @@
"code"
:
"0x60026001600037600053600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x2345000000000000000000000000000000000000000000000000000000000000"
]
"0x"
:
"0x2345000000000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -354,9 +342,7 @@
"code"
:
"0x60016001600037600053600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x2300000000000000000000000000000000000000000000000000000000000000"
]
"0x"
:
"0x2300000000000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -441,9 +427,7 @@
"code"
:
"0x600035600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0256000000000000000000000000000000000000000000000000000000000000"
]
"0x"
:
"0x0256000000000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -486,9 +470,7 @@
"code"
:
"0x600135600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff23"
]
"0x"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff23"
}
}
},
...
...
@@ -531,9 +513,7 @@
"code"
:
"0x600535600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xabcdef0000000000000000000000000000000000000000000000000024000000"
]
"0x"
:
"0xabcdef0000000000000000000000000000000000000000000000000024000000"
}
}
},
...
...
@@ -576,9 +556,7 @@
"code"
:
"0x36600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x02"
]
"0x"
:
"0x02"
}
}
},
...
...
@@ -621,9 +599,7 @@
"code"
:
"0x36600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x21"
]
"0x"
:
"0x21"
}
}
},
...
...
@@ -666,9 +642,7 @@
"code"
:
"0x36600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x21"
]
"0x"
:
"0x21"
}
}
},
...
...
@@ -711,9 +685,7 @@
"code"
:
"0x33600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
]
"0x"
:
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
}
}
},
...
...
@@ -756,9 +728,7 @@
"code"
:
"0x34600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x0de0b6b3a7640000"
]
"0x"
:
"0x0de0b6b3a7640000"
}
}
},
...
...
@@ -801,9 +771,7 @@
"code"
:
"0x60056000600039600053600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x6005600060000000000000000000000000000000000000000000000000000000"
]
"0x"
:
"0x6005600060000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -846,9 +814,7 @@
"code"
:
"0x386000600039600053600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x3860006000396000536000570000000000000000000000000000000000000000"
]
"0x"
:
"0x3860006000396000536000570000000000000000000000000000000000000000"
}
}
},
...
...
@@ -891,9 +857,7 @@
"code"
:
"0x38600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x04"
]
"0x"
:
"0x04"
}
}
},
...
...
@@ -936,9 +900,7 @@
"code"
:
"0x333b60006000333c600053600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x6005600057000000000000000000000000000000000000000000000000000000"
]
"0x"
:
"0x6005600057000000000000000000000000000000000000000000000000000000"
}
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
...
...
@@ -995,9 +957,7 @@
"code"
:
"0x38333b0e600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x01"
]
"0x"
:
"0x01"
}
},
"cd1722f3947def4cf144679da39c4c32bdc35681"
:
{
...
...
@@ -1061,9 +1021,7 @@
"code"
:
"0x333b600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x04"
]
"0x"
:
"0x04"
}
}
},
...
...
@@ -1113,9 +1071,7 @@
"code"
:
"0x3a600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x075bcd15"
]
"0x"
:
"0x075bcd15"
}
}
},
...
...
@@ -1158,9 +1114,7 @@
"code"
:
"0x32600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
]
"0x"
:
"0xcd1722f3947def4cf144679da39c4c32bdc35681"
}
}
},
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmIOandFlowOperationsTest.json
View file @
c1696531
...
...
@@ -70,9 +70,7 @@
"code"
:
"0x64ffffffffff60005461eeee605a545c600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x2705"
]
"0x"
:
"0x2705"
}
}
},
...
...
@@ -115,9 +113,7 @@
"code"
:
"0x5c600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x270f"
]
"0x"
:
"0x270f"
}
}
},
...
...
@@ -160,9 +156,7 @@
"code"
:
"0x60236007586001600257"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x02"
:
[
"0x23"
]
"0x02"
:
"0x23"
}
}
},
...
...
@@ -247,9 +241,7 @@
"code"
:
"0x602360016009596001600257"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x02"
:
[
"0x23"
]
"0x02"
:
"0x23"
}
}
},
...
...
@@ -292,9 +284,7 @@
"code"
:
"0x602360006009596001600257"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x02"
:
[
"0x01"
]
"0x02"
:
"0x01"
}
}
},
...
...
@@ -463,9 +453,7 @@
"code"
:
"0x60ff6000545b600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x20"
]
"0x"
:
"0x20"
}
}
},
...
...
@@ -508,9 +496,7 @@
"code"
:
"0x64ffffffffff6000545b600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x20"
]
"0x"
:
"0x20"
}
}
},
...
...
@@ -553,9 +539,7 @@
"code"
:
"0x64ffffffffff60005461eeee6020545b600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x40"
]
"0x"
:
"0x40"
}
}
},
...
...
@@ -598,9 +582,7 @@
"code"
:
"0x64ffffffffff60005461eeee605a545b600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x80"
]
"0x"
:
"0x80"
}
}
},
...
...
@@ -643,9 +625,7 @@
"code"
:
"0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600154600153600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x01"
:
[
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
]
"0x01"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
}
},
...
...
@@ -688,9 +668,7 @@
"code"
:
"0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600201600154600153600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x01"
:
[
"0x01"
]
"0x01"
:
"0x01"
}
}
},
...
...
@@ -775,9 +753,7 @@
"code"
:
"0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600155600153600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x01"
:
[
"0xff00000000000000000000000000000000000000000000000000000000000000"
]
"0x01"
:
"0xff00000000000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -820,9 +796,7 @@
"code"
:
"0x60ff60015560ee600255600053600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x01"
:
[
"0xffee0000000000000000000000000000000000000000000000000000000000"
]
"0x01"
:
"0xffee0000000000000000000000000000000000000000000000000000000000"
}
}
},
...
...
@@ -907,9 +881,7 @@
"code"
:
"0x6017600054600053600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x01"
:
[
"0x17"
]
"0x01"
:
"0x17"
}
}
},
...
...
@@ -994,9 +966,7 @@
"code"
:
"0x60ff6000575a600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x05"
]
"0x"
:
"0x05"
}
}
},
...
...
@@ -1039,9 +1009,7 @@
"code"
:
"0x6002600360045057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x03"
:
[
"0x02"
]
"0x03"
:
"0x02"
}
}
},
...
...
@@ -1126,15 +1094,9 @@
"code"
:
"0x60ff60005760ee600a57600056601457"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xff"
],
"0x0a"
:
[
"0xee"
],
"0x14"
:
[
"0xff"
]
"0x"
:
"0xff"
,
"0x0a"
:
"0xee"
,
"0x14"
:
"0xff"
}
}
},
...
...
@@ -1177,12 +1139,8 @@
"code"
:
"0x60ff60005760ee600a57606456601457"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xff"
],
"0x0a"
:
[
"0xee"
]
"0x"
:
"0xff"
,
"0x0a"
:
"0xee"
}
}
},
...
...
@@ -1225,22 +1183,11 @@
"code"
:
"0x60ff60005760ee60015760dd600257600156600a57600256601457"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xff"
,
"0xee"
,
"0xdd"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
"0xee"
],
"0x14"
:
[
"0xdd"
]
"0x"
:
"0xff"
,
"0x01"
:
"0xee"
,
"0x02"
:
"0xdd"
,
"0x0a"
:
"0xee"
,
"0x14"
:
"0xdd"
}
}
},
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmPushDupSwapTest.json
View file @
c1696531
This diff is collapsed.
Click to expand it.
vmtests/vmSha3Test.json
View file @
c1696531
...
...
@@ -28,9 +28,7 @@
"code"
:
"0x6000600020600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
]
"0x"
:
"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}
}
},
...
...
@@ -73,9 +71,7 @@
"code"
:
"0x6005600420600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0xc41589e7559804ea4a2080dad19d876a024ccb05117835447d72ce08c1d020ec"
]
"0x"
:
"0xc41589e7559804ea4a2080dad19d876a024ccb05117835447d72ce08c1d020ec"
}
}
},
...
...
@@ -118,9 +114,7 @@
"code"
:
"0x600a600a20600057"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
[
"0x6bd2dd6bd408cbee33429358bf24fdc64612fbf8b1b4db604518f40ffd34b607"
]
"0x"
:
"0x6bd2dd6bd408cbee33429358bf24fdc64612fbf8b1b4db604518f40ffd34b607"
}
}
},
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmSystemOperationsTest.json
View file @
c1696531
This diff is collapsed.
Click to expand it.
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