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
382694f5
Commit
382694f5
authored
Jan 23, 2015
by
winsvega
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transaction Tests
New State Tests
parent
52e174b1
Changes
3
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 @
382694f5
...
@@ -191,11 +191,463 @@
...
@@ -191,11 +191,463 @@
"value"
:
""
"value"
:
""
}
}
},
},
"HighGasLimit"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"38911100780481085440"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039418672907132648553595"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"900"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
"0x3240349548983454"
,
"gasLimit"
:
"1606938044258990275541962092341162602522202993782792835301376"
,
"gasPrice"
:
"72057594037927936"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"InternlCallStoreClearsOOG"
:
{
"env"
:
{
"currentCoinbase"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0000000000000000000000000000000000000000"
:
{
"balance"
:
"1"
,
"code"
:
"0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"6444"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"546"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"19"
,
"code"
:
"0x6000600060006000600160006013f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"0000000000000000000000000000000000000000"
:
{
"balance"
:
"0"
,
"code"
:
"0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"7000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10"
,
"code"
:
"0x6000600060006000600160006013f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"700"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"10"
}
},
"OverflowContractNonceValue"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"500"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"9490"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"10"
}
},
"OverflowGasRequire"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"389111007804810854400"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039068473000108318784635"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"900"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
"0x3240349548983454"
,
"gasLimit"
:
"1606938044258990275541962092341162602522202993782792835301376"
,
"gasPrice"
:
"720575940379279360"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"StoreClearsAndInternlCallStoreClearsOOG"
:
{
"env"
:
{
"currentCoinbase"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"0000000000000000000000000000000000000000"
:
{
"balance"
:
"1"
,
"code"
:
"0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"6713"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"277"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"19"
,
"code"
:
"0x60006000556000600155600060025560006003556000600060006000600160006013f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x04"
:
"0x0c"
}
}
},
"pre"
:
{
"0000000000000000000000000000000000000000"
:
{
"balance"
:
"0"
,
"code"
:
"0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"7000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"10"
,
"code"
:
"0x60006000556000600155600060025560006003556000600060006000600160006013f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"700"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"c94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"10"
}
},
"TransactionCosts555"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"555"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99445"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"0"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
"0x00000000000000000000112233445566778f32"
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"0"
}
},
"TransactionFromCoinbaseNotEnoughFounds"
:
{
"TransactionFromCoinbaseNotEnoughFounds"
:
{
"env"
:
{
"env"
:
{
"currentCoinbase"
:
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentCoinbase"
:
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1100"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"600"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"502"
}
},
"TransactionNonceCheck"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1
1
00"
,
"currentGasLimit"
:
"1
0000
00"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
...
@@ -204,8 +656,48 @@
...
@@ -204,8 +656,48 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"10"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"10"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"10"
}
},
"TransactionNonceCheck2"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
...
@@ -213,8 +705,8 @@
...
@@ -213,8 +705,8 @@
}
}
},
},
"pre"
:
{
"pre"
:
{
"
b
94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"
a
94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"balance"
:
"1000
00
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
...
@@ -223,12 +715,12 @@
...
@@ -223,12 +715,12 @@
},
},
"transaction"
:
{
"transaction"
:
{
"data"
:
""
,
"data"
:
""
,
"gasLimit"
:
"
6
00"
,
"gasLimit"
:
"
10
00"
,
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"nonce"
:
"
10
"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"
502
"
"value"
:
"
10
"
}
}
},
},
"TransactionSendingToEmpty"
:
{
"TransactionSendingToEmpty"
:
{
...
@@ -426,11 +918,171 @@
...
@@ -426,11 +918,171 @@
"value"
:
"502"
"value"
:
"502"
}
}
},
},
"
TransactionTooManyRlpElements
"
:
{
"
UserTransactionGasLimitWhenZeroCost
"
:
{
"env"
:
{
"env"
:
{
"currentCoinbase"
:
"
b94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"currentCoinbase"
:
"
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
"
,
"currentDifficulty"
:
"45678256"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"12"
,
"gasPrice"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"UserTransactionNoCash"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"510"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"UserTransactionNoCash2"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"5100"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"UserTransactionOOG"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
"0x8437489573485793475286789457689457684595"
,
"gasLimit"
:
"510"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"10"
}
},
"UserTransactionZeroCost"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
...
@@ -439,22 +1091,62 @@
...
@@ -439,22 +1091,62 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"0"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
9399
0"
,
"balance"
:
"
210
0"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"nonce"
:
"1"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
60
00"
,
"balance"
:
"
9
00"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
}
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
},
"balance"
:
"10"
,
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"5100"
,
"gasPrice"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"900"
}
},
"UserTransactionZeroCostWithData"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"3000"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
...
@@ -463,7 +1155,7 @@
...
@@ -463,7 +1155,7 @@
},
},
"pre"
:
{
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
100
000"
,
"balance"
:
"
3
000"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
...
@@ -471,13 +1163,13 @@
...
@@ -471,13 +1163,13 @@
}
}
},
},
"transaction"
:
{
"transaction"
:
{
"data"
:
""
,
"data"
:
"
0x3240349548983454
"
,
"gasLimit"
:
"
16
00"
,
"gasLimit"
:
"
5
00"
,
"gasPrice"
:
"
12
"
,
"gasPrice"
:
"
0
"
,
"nonce"
:
""
,
"nonce"
:
"
0
"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
d2571607e241ecf590ed94b12d87c94babe36db6
"
,
"to"
:
"
b94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"value"
:
"
1
0"
"value"
:
"
90
0"
}
}
}
}
}
}
\ No newline at end of file
TransactionTests/tt10mbDataField.json
0 → 100644
View file @
382694f5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
TransactionTests/ttTransactionTest.json
0 → 100644
View file @
382694f5
{
"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