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
456b5791
Commit
456b5791
authored
Jan 02, 2015
by
CJentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more init code, systemoperations and transaction tests
parent
1f5552fe
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
604 additions
and
291 deletions
+604
-291
stInitCodeTest.json
StateTests/stInitCodeTest.json
+224
-117
stSystemOperationsTest.json
StateTests/stSystemOperationsTest.json
+173
-173
stTransactionTest.json
StateTests/stTransactionTest.json
+206
-0
vmArithmeticTest.json
VMTests/vmArithmeticTest.json
+1
-1
No files found.
StateTests/stInitCodeTest.json
View file @
456b5791
This diff is collapsed.
Click to expand it.
StateTests/stSystemOperationsTest.json
View file @
456b5791
This diff is collapsed.
Click to expand it.
StateTests/stTransactionTest.json
View file @
456b5791
{
{
"ContractStoreClearsOOG"
:
{
"env"
:
{
"currentCoinbase"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"6390"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"600"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"10"
,
"code"
:
"0x600060005560006001556000600255600060035560006004556000600555600060065560006007556000600855600c600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"7000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"0"
,
"code"
:
"0x600060005560006001556000600255600060035560006004556000600555600060065560006007556000600855600c600955"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0c"
,
"0x01"
:
"0x0c"
,
"0x02"
:
"0x0c"
,
"0x03"
:
"0x0c"
,
"0x04"
:
"0x0c"
,
"0x05"
:
"0x0c"
,
"0x06"
:
"0x0c"
,
"0x07"
:
"0x0c"
,
"0x08"
:
"0x0c"
,
"0x09"
:
"0x0c"
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"600"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"d2571607e241ecf590ed94b12d87c94babe36db6"
,
"value"
:
"10"
}
},
"ContractStoreClearsSuccess"
:
{
"env"
:
{
"currentCoinbase"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"6730"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"260"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"10"
,
"code"
:
"0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"7000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"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"
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"600"
,
"gasPrice"
:
"1"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"d2571607e241ecf590ed94b12d87c94babe36db6"
,
"value"
:
"10"
}
},
"EmptyTransaction"
:
{
"EmptyTransaction"
:
{
"env"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
...
@@ -273,5 +425,59 @@
...
@@ -273,5 +425,59 @@
"to"
:
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"to"
:
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"502"
"value"
:
"502"
}
}
},
"TransactionTooManyRlpElements"
:
{
"env"
:
{
"currentCoinbase"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"10000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"93990"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"6000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"10"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"1600"
,
"gasPrice"
:
"12"
,
"nonce"
:
""
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"d2571607e241ecf590ed94b12d87c94babe36db6"
,
"value"
:
"10"
}
}
}
}
}
\ No newline at end of file
VMTests/vmArithmeticTest.json
View file @
456b5791
...
@@ -3258,4 +3258,4 @@
...
@@ -3258,4 +3258,4 @@
}
}
}
}
}
}
}
}
\ 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