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
a20a5b43
Commit
a20a5b43
authored
Jan 28, 2015
by
Christoph Jentzsch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #50 from winsvega/develop
Transaction Tests
parents
d0440eef
382694f5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
856 additions
and
24 deletions
+856
-24
stTransactionTest.json
StateTests/stTransactionTest.json
+716
-24
tt10mbDataField.json
TransactionTests/tt10mbDataField.json
+17
-0
ttTransactionTest.json
TransactionTests/ttTransactionTest.json
+123
-0
No files found.
StateTests/stTransactionTest.json
View file @
a20a5b43
This diff is collapsed.
Click to expand it.
TransactionTests/tt10mbDataField.json
0 → 100644
View file @
a20a5b43
This diff is collapsed.
Click to expand it.
TransactionTests/ttTransactionTest.json
0 → 100644
View file @
a20a5b43
{
"EmptyTransaction"
:
{
"rlp"
:
"0xf8498080808080801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"66c7b5c28121e4b66583d15481c92f5ad848fe1f"
,
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
""
,
"gasPrice"
:
""
,
"nonce"
:
""
,
"r"
:
"0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353"
,
"s"
:
"0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"to"
:
""
,
"v"
:
"27"
,
"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"
,
"transaction"
:
{
"data"
:
"0x5544"
,
"gasLimit"
:
"2000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"3"
,
"r"
:
"0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a"
,
"s"
:
"0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"v"
:
"28"
,
"value"
:
"10"
}
},
"SenderTest"
:
{
"//"
:
"sender a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"rlp"
:
"0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"850"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"r"
:
"0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353"
,
"s"
:
"0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"to"
:
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"v"
:
"27"
,
"value"
:
"10"
}
},
"TransactionWithGasLimitOverflow"
:
{
"rlp"
:
"0xf87e807ba101000000000000000000000000000000000000000000000000000000000000000094095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithGasPriceOverflow"
:
{
"rlp"
:
"0xf88080a101000000000000000000000000000000000000000000000000000000000000000082035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithHihghValue"
:
{
"rlp"
:
"0xf87f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d87a0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"sender"
:
"50702f47f1c4bfc6b75e65e2b995a8024fe25be9"
,
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"850"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"r"
:
"0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353"
,
"s"
:
"0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
,
"to"
:
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"v"
:
"27"
,
"value"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
}
},
"TransactionWithHihghValueOverflow"
:
{
"rlp"
:
"0xf880800182035294095e7baea6a6c7c4c2dfeb977efac326af552d87a1010000000000000000000000000000000000000000000000000000000000000000801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithNonceOverflow"
:
{
"rlp"
:
"0xf880a10100000000000000000000000000000000000000000000000000000000000000000182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithRvalueOverflow"
:
{
"rlp"
:
"0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba0fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithSvalueOverflow"
:
{
"rlp"
:
"0xf85f800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870b801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"
},
"TransactionWithTooFewRLPElements"
:
{
"rlp"
:
"0xf85b800194095e7baea6a6c7c4c2dfeb977efac326af552d87801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804"
},
"TransactionWithTooManyRLPElements"
:
{
"rlp"
:
"0xf865800182035294095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a0efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804851de98d0edd"
},
"WrongVRSTestVge31"
:
{
"rlp"
:
"0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801fa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
},
"WrongVRSTestVl27"
:
{
"rlp"
:
"0xf85f80018207d094b94f5374fce5edbc8e2a8697c15331677e6ebf0b0a801aa098ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4aa08887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3"
}
}
\ No newline at end of file
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