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
e73d7725
Commit
e73d7725
authored
Mar 03, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
b7ec9fbb
' into poc-9
parents
b909a5ec
b7ec9fbb
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
273 additions
and
89 deletions
+273
-89
stInitCodeTest.json
tests/files/StateTests/stInitCodeTest.json
+15
-15
stMemoryTest.json
tests/files/StateTests/stMemoryTest.json
+3
-3
stSystemOperationsTest.json
tests/files/StateTests/stSystemOperationsTest.json
+3
-3
stTransactionTest.json
tests/files/StateTests/stTransactionTest.json
+3
-3
hex_encoded_securetrie_test.json
tests/files/TrieTests/hex_encoded_securetrie_test.json
+28
-0
vmLogTest.json
tests/files/VMTests/vmLogTest.json
+213
-57
vmSystemOperationsTest.json
tests/files/VMTests/vmSystemOperationsTest.json
+8
-8
No files found.
tests/files/StateTests/stInitCodeTest.json
View file @
e73d7725
...
...
@@ -21,14 +21,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"1012
99
"
,
"balance"
:
"1012
66
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"998987
01
"
,
"balance"
:
"998987
34
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
@@ -43,7 +43,7 @@
}
}
},
"postStateRoot"
:
"
05b27b6fc036371bb5c2f27dacb1d852207822aac204fcd8e2d5478a7bfa3bdc
"
,
"postStateRoot"
:
"
93d1fd494976006adbc21784897ba9f074a7572ab49a4bd93192d30f2e11d1e2
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000"
,
...
...
@@ -91,21 +91,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"580
61
"
,
"balance"
:
"580
28
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"999419
39
"
,
"balance"
:
"999419
72
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
}
},
"postStateRoot"
:
"
faec4d1b313e7186f96b035d3350009ff96f42b8f50cc3b9ec945bd32ee93d3b
"
,
"postStateRoot"
:
"
e782035260b586e9d2043801adcb58c7601d3be5c19d1c793c41663fef526665
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000"
,
...
...
@@ -160,21 +160,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"831
72
"
,
"balance"
:
"831
39
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"999168
28
"
,
"balance"
:
"999168
61
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
}
},
"postStateRoot"
:
"
06f60d5ab5fa6ba2d28cb3bf3f43bd2c3a443cf3d42588348594b23b3c8082d8
"
,
"postStateRoot"
:
"
7b10e8f46070c7867a5c3783d3466cfe03b048813819891d4b5aa4df880a7380
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"0"
,
...
...
@@ -223,14 +223,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"1017
99
"
,
"balance"
:
"1017
66
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"998982
01
"
,
"balance"
:
"998982
34
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
@@ -245,7 +245,7 @@
}
}
},
"postStateRoot"
:
"
ead39f1f4a1a065258dfb482b9478c33570effa3d8912125f27354b3f9dc552b
"
,
"postStateRoot"
:
"
98095698d325e6f5c4fb1f2fbde9f5c9fcd824f138974c13459c5f7683ea38e6
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000"
,
...
...
@@ -293,7 +293,7 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"1050
82
"
,
"balance"
:
"1050
49
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
...
...
@@ -307,7 +307,7 @@
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"998949
18
"
,
"balance"
:
"998949
51
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
@@ -322,7 +322,7 @@
}
}
},
"postStateRoot"
:
"
17bd33175f11032f092b51c2252fc9d2380e647bc5db52616ea9bbae92849970
"
,
"postStateRoot"
:
"
6ce3d60dae67acc69cf13afe07db3433f188ea352c180d80945158864826b0db
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1"
,
...
...
tests/files/StateTests/stMemoryTest.json
View file @
e73d7725
...
...
@@ -2558,21 +2558,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"2
1229
"
,
"balance"
:
"2
6410
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"42949670
8361
"
,
"balance"
:
"42949670
3180
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
}
},
"postStateRoot"
:
"
17ccab00553d478d9a2691a2a04c818f3800af6ef3cbd5d03056ee8289be44da
"
,
"postStateRoot"
:
"
66bdfa21e3bfd0031fe3c36504646e129568bf07ad463d73057689edf7044f36
"
,
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
...
...
tests/files/StateTests/stSystemOperationsTest.json
View file @
e73d7725
...
...
@@ -1983,21 +1983,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"4
1213
"
,
"balance"
:
"4
5437
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99999999999985
8787
"
,
"balance"
:
"99999999999985
4563
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
}
},
"postStateRoot"
:
"
00b5e6f78bcf85df7fff53841514168c5c9019073be499759df837fe89d53f25
"
,
"postStateRoot"
:
"
7de450860583de14b4f6267804f4e4575fa4e3a53ce740637da55907fa3bc424
"
,
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000000000000000000"
,
...
...
tests/files/StateTests/stTransactionTest.json
View file @
e73d7725
...
...
@@ -341,14 +341,14 @@
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"15
1436239630109348196
0"
,
"balance"
:
"15
5240880595311943164
0"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1157920892373161954235709850086879078532699846656405640379
4322161161203615707
5"
,
"balance"
:
"1157920892373161954235709850086879078532699846656405640379
0517520196001020739
5"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
@@ -362,7 +362,7 @@
}
}
},
"postStateRoot"
:
"
66601863029459f7922ec4d513a33110fecd2fdc377b671a65d160f5e1ee96b7
"
,
"postStateRoot"
:
"
79045000509e3f172eebc0ef13f6bf014ebff411cb93110e4efe01d66ce586cc
"
,
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
...
...
tests/files/TrieTests/hex_encoded_securetrie_test.json
0 → 100644
View file @
e73d7725
{
"test1"
:
{
"in"
:
[
[
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"0xf848018405f446a7a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
],
[
"0x095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"0xf8440101a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a004bccc5d94f4d1f99aab44369a910179931772f2a5c001c3229f57831c102769"
],
[
"0xd2571607e241ecf590ed94b12d87c94babe36db6"
,
"0xf8440180a0ba4b47865c55a341a4a78759bb913cd15c3ee8eaf30a62fa8d1c8863113d84e8a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
],
[
"0x62c01474f089b07dae603491675dc5b5748f7049"
,
"0xf8448080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
],
[
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"0xf8478083019a59a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
]
],
"root"
:
"0x730a444e08ab4b8dee147c9b232fc52d34a223d600031c1e9d25bfc985cbd797"
,
"hexEncoded"
:
true
},
}
tests/files/VMTests/vmLogTest.json
View file @
e73d7725
This diff is collapsed.
Click to expand it.
tests/files/VMTests/vmSystemOperationsTest.json
View file @
e73d7725
...
...
@@ -4,7 +4,7 @@
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"
10
00"
,
"gasLimit"
:
"
33
00"
,
"value"
:
"24"
}
],
...
...
@@ -177,7 +177,7 @@
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"
10
00"
,
"gasLimit"
:
"
33
00"
,
"value"
:
"24"
}
],
...
...
@@ -234,7 +234,7 @@
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"
10
00"
,
"gasLimit"
:
"
33
00"
,
"value"
:
"24"
}
],
...
...
@@ -299,7 +299,7 @@
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"10
00
00"
,
"gasLimit"
:
"10
23
00"
,
"value"
:
"23"
}
],
...
...
@@ -519,7 +519,7 @@
{
"data"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"100
00
00"
,
"gasLimit"
:
"100
23
00"
,
"value"
:
"23"
}
],
...
...
@@ -829,7 +829,7 @@
{
"data"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"100
00
00"
,
"gasLimit"
:
"100
23
00"
,
"value"
:
"23"
}
],
...
...
@@ -1039,7 +1039,7 @@
{
"data"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa"
,
"destination"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"gasLimit"
:
"100
00
00"
,
"gasLimit"
:
"100
23
00"
,
"value"
:
"23"
}
],
...
...
@@ -1104,7 +1104,7 @@
{
"data"
:
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa"
,
"destination"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"gasLimit"
:
"
5
00"
,
"gasLimit"
:
"
28
00"
,
"value"
:
"23"
}
],
...
...
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