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
18216a6e
Commit
18216a6e
authored
Feb 20, 2015
by
CJentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo gasMemCostChange, add some state tests
parent
b392afac
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
525 additions
and
118 deletions
+525
-118
stInitCodeTest.json
StateTests/stInitCodeTest.json
+182
-60
stPreCompiledContracts.json
StateTests/stPreCompiledContracts.json
+4
-4
stSolidityTest.json
StateTests/stSolidityTest.json
+269
-6
ttTransactionTest.json
TransactionTests/ttTransactionTest.json
+32
-41
201502161815PYTHON.json
VMTests/RandomTests/201502161815PYTHON.json
+31
-0
vmSha3Test.json
VMTests/vmSha3Test.json
+7
-7
No files found.
StateTests/stInitCodeTest.json
View file @
18216a6e
This diff is collapsed.
Click to expand it.
StateTests/stPreCompiledContracts.json
View file @
18216a6e
...
...
@@ -1074,14 +1074,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"
986358
"
,
"balance"
:
"
32684
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99999999999
8913642
"
,
"balance"
:
"99999999999
9867316
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
@@ -1631,14 +1631,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"
986358
"
,
"balance"
:
"
32684
"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99999999999
8913642
"
,
"balance"
:
"99999999999
9867316
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
...
...
StateTests/stSolidityTest.json
View file @
18216a6e
This diff is collapsed.
Click to expand it.
TransactionTests/ttTransactionTest.json
View file @
18216a6e
...
...
@@ -32,6 +32,9 @@
"AddressMoreThan20"
:
{
"rlp"
:
"0xf86080018207d095b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c0a801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
},
"AddressMoreThan20PrefixedBy0"
:
{
"rlp"
:
"0xf867367b8203e89c0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d870b121ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"EmptyTransaction"
:
{
"rlp"
:
"0xf85d80808094095e7baea6a6c7c4c2dfeb977efac326af552d8780801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"3e2ddf4fea89f584a735a1234cf20d8627421564"
,
...
...
@@ -47,36 +50,6 @@
"value"
:
""
}
},
"RLPElementsWithZeros"
:
{
"rlp"
:
"0xf8662c538203e894095e7baea6a6c7c4c2dfeb977efac326af552d870987000000112223331ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"f8cf3e78f097103c068225ce61e34f29078191a5"
,
"transaction"
:
{
"data"
:
"0x0000011222333"
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"00123"
,
"nonce"
:
"0054"
,
"r"
:
"0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353"
,
"s"
:
"0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"to"
:
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"v"
:
"27"
,
"value"
:
"00000011"
}
},
"RLPWrongHexElements"
:
{
"rlp"
:
"0xf864367b8203e894095e7baea6a6c7c4c2dfeb977efac326af552d870b8500000000121ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"65959aab09090881850fd56f8a1cacb3abc4e811"
,
"transaction"
:
{
"data"
:
"0x0000000012"
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"123"
,
"nonce"
:
"54"
,
"r"
:
"0x0048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353"
,
"s"
:
"0x00efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"to"
:
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"v"
:
"27"
,
"value"
:
"11"
}
},
"RightVRSTest"
:
{
"rlp"
:
"0xf86103018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a8255441ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
,
"sender"
:
"5ba306ae3650c72c3586da6f1dbac3c9fa7e529e"
,
...
...
@@ -147,21 +120,39 @@
"TransactionWithTooManyRLPElements"
:
{
"rlp"
:
"0xf865800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804851de98d0edd"
},
"
WrongAddress
"
:
{
"rlp"
:
"0xf8
5d80808094095e7baea6a6c7c4c2dfeb977efac326af552d0080801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804
"
,
"sender"
:
"
eec5140a6015e75ac27053d81fc431c877958708
"
,
"
ValuesAsDec
"
:
{
"rlp"
:
"0xf8
6a830ffdc50183adc05394b94f5374fce5edbc8e2a8697c15331677e6ebf0b870ffdc5fffdc12c801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3
"
,
"sender"
:
"
3eb583df408b324b4ba3a8d63e6b2dba1c4f28f6
"
,
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
""
,
"gasPrice"
:
""
,
"nonce"
:
""
,
"r"
:
"0x
48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353
"
,
"s"
:
"0x
efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d8v
"
,
"v"
:
"2
7
"
,
"value"
:
""
"gasLimit"
:
"
11386963
"
,
"gasPrice"
:
"
1
"
,
"nonce"
:
"
1048005
"
,
"r"
:
"0x
98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a
"
,
"s"
:
"0x
8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3
"
,
"to"
:
"
b94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"v"
:
"2
8
"
,
"value"
:
"
4501151495864620
"
}
},
"ValuesAsHex"
:
{
"rlp"
:
"0xf867830ffdc50183adc05394b94f5374fce5edbc8e2a8697c15331677e6ebf0b84fffdc12c801ca098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
,
"sender"
:
"24ef2c911b7b98e481e4c97c201194ee7889501b"
,
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"0xadc053"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0xffdc5"
,
"r"
:
"0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a"
,
"s"
:
"0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"v"
:
"28"
,
"value"
:
"0xfffdc12c"
}
},
"WrongVRSTestIncorrectSize"
:
{
"rlp"
:
"0xf86380018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801ca298ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3a28887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a302c3"
},
"WrongVRSTestVge31"
:
{
"rlp"
:
"0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
},
...
...
VMTests/RandomTests/201502161815PYTHON.json
0 → 100644
View file @
18216a6e
{
"randomVMtest"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"300"
,
"currentTimestamp"
:
"2"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0xf1414243444541449d7c55a1"
,
"data"
:
"0x"
,
"gas"
:
"10000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0xf1414243444541449d7c55a1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
}
}
VMTests/vmSha3Test.json
View file @
18216a6e
...
...
@@ -300,7 +300,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"4
02600620
4"
,
"gas"
:
"4
29444268
4"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -419,7 +419,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496694
0
"
,
"gas"
:
"429496694
1
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -509,7 +509,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"42949669
39
"
,
"gas"
:
"42949669
40
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -554,7 +554,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"42949669
07
"
,
"gas"
:
"42949669
10
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -599,7 +599,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
5
"
,
"gas"
:
"429496690
9
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -644,7 +644,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
5
"
,
"gas"
:
"429496690
9
"
,
"logs"
:
[
],
"out"
:
"0x"
,
...
...
@@ -689,7 +689,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
"gas"
:
"429496690
4
"
,
"gas"
:
"429496690
8
"
,
"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