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
e48576ad
Commit
e48576ad
authored
Feb 24, 2015
by
CJentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove impossible tests, add create hash collision test
parent
cb52754e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
177 additions
and
152 deletions
+177
-152
stSolidityTest.json
StateTests/stSolidityTest.json
+99
-35
stSystemOperationsTest.json
StateTests/stSystemOperationsTest.json
+76
-0
stTransactionTest.json
StateTests/stTransactionTest.json
+2
-117
No files found.
StateTests/stSolidityTest.json
View file @
e48576ad
...
@@ -12,29 +12,35 @@
...
@@ -12,29 +12,35 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"
848
"
,
"balance"
:
"
100000
"
,
"code"
:
"0x"
,
"code"
:
"0x
60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056
"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
99152
"
,
"balance"
:
"
500
"
,
"code"
:
"0x
60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056
"
,
"code"
:
"0x"
,
"nonce"
:
"
1
"
,
"nonce"
:
"
0
"
,
"storage"
:
{
"storage"
:
{
"0x"
:
"0x014f"
}
}
}
}
},
},
"pre"
:
{
"pre"
:
{
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"100000"
,
"balance"
:
"100000"
,
"code"
:
"0x60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056"
,
"code"
:
"0x60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"500"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"transaction"
:
{
"transaction"
:
{
...
@@ -44,7 +50,7 @@
...
@@ -44,7 +50,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
,
"value"
:
"1"
"value"
:
"1"
}
}
},
},
...
@@ -61,28 +67,35 @@
...
@@ -61,28 +67,35 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"10000"
,
"balance"
:
"10000
0
"
,
"code"
:
"0x"
,
"code"
:
"0x
60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56
"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
900
00"
,
"balance"
:
"
5
00"
,
"code"
:
"0x
60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56
"
,
"code"
:
"0x"
,
"nonce"
:
"
1
"
,
"nonce"
:
"
0
"
,
"storage"
:
{
"storage"
:
{
}
}
}
}
},
},
"pre"
:
{
"pre"
:
{
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"100000"
,
"balance"
:
"100000"
,
"code"
:
"0x60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56"
,
"code"
:
"0x60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"500"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"transaction"
:
{
"transaction"
:
{
...
@@ -92,7 +105,7 @@
...
@@ -92,7 +105,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
,
"value"
:
"1"
"value"
:
"1"
}
}
},
},
...
@@ -107,24 +120,31 @@
...
@@ -107,24 +120,31 @@
},
},
"logs"
:
[
"logs"
:
[
],
],
"out"
:
"0x00000000000000000000000000000000000000000000000000000000000000
e
1"
,
"out"
:
"0x00000000000000000000000000000000000000000000000000000000000000
0
1"
,
"post"
:
{
"post"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"100001"
,
"code"
:
"0x60e060020a60003504806330debb4214610020578063c04062261461003157005b61002b6004356100a4565b60006000f35b610039610043565b8060005260206000f35b60006000600160008190555060656100af600039606560006000f0905080600160a060020a03166319ab453c600060008260e060020a02600052600433600160a060020a03168152602001600060008660155a03f150505060005491505090565b80600081905550505600605980600c6000396000f30060e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056"
,
"nonce"
:
"1"
,
"storage"
:
{
"0x"
:
"0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"1
72
9"
,
"balance"
:
"1
59
9"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"98
271
"
,
"balance"
:
"98
400
"
,
"code"
:
"0x
60e060020a60003504806330debb4214610020578063c04062261461003157005b61002b6004356100a4565b60006000f35b610039610043565b8060005260206000f35b60006000600160008190555060656100af600039606560006000f0905080600160a060020a03166319ab453c600060008260e060020a02600052600433600160a060020a03168152602001600060008660155a03f150505060005491505090565b80600081905550505600605980600c6000396000f30060e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056
"
,
"code"
:
"0x"
,
"nonce"
:
"
2
"
,
"nonce"
:
"
1
"
,
"storage"
:
{
"storage"
:
{
"0x"
:
"0xe1"
}
}
},
},
"
ec0e71ad0a90ffe1909d27dac207f7680abba42d
"
:
{
"
d2571607e241ecf590ed94b12d87c94babe36db6
"
:
{
"balance"
:
"0"
,
"balance"
:
"0"
,
"code"
:
"0x60e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056"
,
"code"
:
"0x60e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
...
@@ -133,12 +153,19 @@
...
@@ -133,12 +153,19 @@
}
}
},
},
"pre"
:
{
"pre"
:
{
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"100000"
,
"balance"
:
"100000"
,
"code"
:
"0x60e060020a60003504806330debb4214610020578063c04062261461003157005b61002b6004356100a4565b60006000f35b610039610043565b8060005260206000f35b60006000600160008190555060656100af600039606560006000f0905080600160a060020a03166319ab453c600060008260e060020a02600052600433600160a060020a03168152602001600060008660155a03f150505060005491505090565b80600081905550505600605980600c6000396000f30060e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056"
,
"code"
:
"0x60e060020a60003504806330debb4214610020578063c04062261461003157005b61002b6004356100a4565b60006000f35b610039610043565b8060005260206000f35b60006000600160008190555060656100af600039606560006000f0905080600160a060020a03166319ab453c600060008260e060020a02600052600433600160a060020a03168152602001600060008660155a03f150505060005491505090565b80600081905550505600605980600c6000396000f30060e060020a60003504806319ab453c14601457005b601d6004356023565b60006000f35b80600160a060020a03166330debb42600060008260e060020a02600052600460e18152602001600060008660155a03f15050505056"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"transaction"
:
{
"transaction"
:
{
...
@@ -148,7 +175,7 @@
...
@@ -148,7 +175,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
,
"value"
:
"1"
"value"
:
"1"
}
}
},
},
...
@@ -165,6 +192,13 @@
...
@@ -165,6 +192,13 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"100001"
,
"code"
:
"0x60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"7000"
,
"balance"
:
"7000"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
...
@@ -173,20 +207,27 @@
...
@@ -173,20 +207,27 @@
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"9
3000
"
,
"balance"
:
"9
2999
"
,
"code"
:
"0x
60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"nonce"
:
"1"
,
"storage"
:
{
"storage"
:
{
}
}
}
}
},
},
"pre"
:
{
"pre"
:
{
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"100000"
,
"balance"
:
"100000"
,
"code"
:
"0x60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56"
,
"code"
:
"0x60e060020a600035048063296df0df1460285780634893d88a146034578063981a316514604057005b602e604c565b60006000f35b603a6061565b60006000f35b60466059565b60006000f35b5b600115605757604d565b565b605f6061565b565b60676059565b56"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"transaction"
:
{
"transaction"
:
{
...
@@ -196,7 +237,7 @@
...
@@ -196,7 +237,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
,
"value"
:
"1"
"value"
:
"1"
}
}
},
},
...
@@ -213,28 +254,51 @@
...
@@ -213,28 +254,51 @@
],
],
"out"
:
"0x"
,
"out"
:
"0x"
,
"post"
:
{
"post"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000001"
,
"code"
:
"0x60003560e060020a90048063820b13f614610021578063a444f5e91461003257005b61002c600435610043565b60006000f35b61003d60043561008f565b60006000f35b600060c66100cc60003960c6600054600160a060020a0316815260200182815260200160006000f0905080600160a060020a0316600060026000600060006000848787f1505050505050565b6000336000819055508160018190555060686101926000396068600054600160a060020a0316815260200182815260200160006000f09050505056006012604060c6600439600451602451601e565b60018060c56000396000f35b6000600182039150600082116031576057565b6068605d600039606883600160a060020a0316815260200182815260200160006000f090505b5050505600601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b505056000000601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b5050560000"
,
"nonce"
:
"1"
,
"storage"
:
{
"0x"
:
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"0x01"
:
"0x020400"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"1
0000
"
,
"balance"
:
"1
458
"
,
"code"
:
"0x"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"
990000
"
,
"balance"
:
"
498541
"
,
"code"
:
"0x
60003560e060020a90048063820b13f614610021578063a444f5e91461003257005b61002c600435610043565b60006000f35b61003d60043561008f565b60006000f35b600060c66100cc60003960c6600054600160a060020a0316815260200182815260200160006000f0905080600160a060020a0316600060026000600060006000848787f1505050505050565b6000336000819055508160018190555060686101926000396068600054600160a060020a0316815260200182815260200160006000f09050505056006012604060c6600439600451602451601e565b60018060c56000396000f35b6000600182039150600082116031576057565b6068605d600039606883600160a060020a0316815260200182815260200160006000f090505b5050505600601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b505056000000601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b5050560000
"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"nonce"
:
"1"
,
"storage"
:
{
"storage"
:
{
}
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"0"
,
"code"
:
"0x00"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"pre"
:
{
"pre"
:
{
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
:
{
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
:
{
"balance"
:
"1000000"
,
"balance"
:
"1000000"
,
"code"
:
"0x60003560e060020a90048063820b13f614610021578063a444f5e91461003257005b61002c600435610043565b60006000f35b61003d60043561008f565b60006000f35b600060c66100cc60003960c6600054600160a060020a0316815260200182815260200160006000f0905080600160a060020a0316600060026000600060006000848787f1505050505050565b6000336000819055508160018190555060686101926000396068600054600160a060020a0316815260200182815260200160006000f09050505056006012604060c6600439600451602451601e565b60018060c56000396000f35b6000600182039150600082116031576057565b6068605d600039606883600160a060020a0316815260200182815260200160006000f090505b5050505600601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b505056000000601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b5050560000"
,
"code"
:
"0x60003560e060020a90048063820b13f614610021578063a444f5e91461003257005b61002c600435610043565b60006000f35b61003d60043561008f565b60006000f35b600060c66100cc60003960c6600054600160a060020a0316815260200182815260200160006000f0905080600160a060020a0316600060026000600060006000848787f1505050505050565b6000336000819055508160018190555060686101926000396068600054600160a060020a0316815260200182815260200160006000f09050505056006012604060c6600439600451602451601e565b60018060c56000396000f35b6000600182039150600082116031576057565b6068605d600039606883600160a060020a0316815260200182815260200160006000f090505b5050505600601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b505056000000601260406068600439600451602451601e565b60018060676000396000f35b60018103905060008111602f576062565b81600160a060020a031663820b13f6600060008260e060020a026000526004858152602001600060008660155a03f15050505b5050560000"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"storage"
:
{
"storage"
:
{
}
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"500000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
},
"transaction"
:
{
"transaction"
:
{
...
@@ -244,7 +308,7 @@
...
@@ -244,7 +308,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"
a94f5374fce5edbc8e2a8697c15331677e6ebf0b
"
,
"to"
:
"
095e7baea6a6c7c4c2dfeb977efac326af552d87
"
,
"value"
:
"1"
"value"
:
"1"
}
}
},
},
...
...
StateTests/stSystemOperationsTest.json
View file @
e48576ad
...
@@ -5283,6 +5283,82 @@
...
@@ -5283,6 +5283,82 @@
"value"
:
"100000"
"value"
:
"100000"
}
}
},
},
"CreateHashCollision"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000000000000099977"
,
"code"
:
"0x7c601080600c6000396000f3006000355415600957005b60203560003555600052601d60036017f0600055"
,
"nonce"
:
"1"
,
"storage"
:
{
"0x"
:
"0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"997"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"999999999999899003"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"65"
,
"code"
:
"0x6000355415600957005b602035600035"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x7c601080600c6000396000f3006000355415600957005b60203560003555600052601d60036017f0600055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"d2571607e241ecf590ed94b12d87c94babe36db6"
:
{
"balance"
:
"42"
,
"code"
:
"0x60016001016055"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"10000000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"095e7baea6a6c7c4c2dfeb977efac326af552d87"
,
"value"
:
"100000"
}
},
"PostToReturn1"
:
{
"PostToReturn1"
:
{
"env"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
...
...
StateTests/stTransactionTest.json
View file @
e48576ad
...
@@ -1258,121 +1258,6 @@
...
@@ -1258,121 +1258,6 @@
"value"
:
"502"
"value"
:
"502"
}
}
},
},
"TransactionMakeAccountBalanceOverflow"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"45678256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"500"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99400"
,
"code"
:
"0x"
,
"nonce"
:
"1"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"115792089237316195423570985008687907853269984665640564039457584007913129639935"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"100"
}
},
"TransactionMakeAccountNonceOverflow"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"1"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
1
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"logs"
:
[
],
"out"
:
"0x"
,
"post"
:
{
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
:
{
"balance"
:
"500"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"99400"
,
"code"
:
"0x"
,
"nonce"
:
"10001"
,
"storage"
:
{
}
},
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100"
,
"code"
:
"0x"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b"
:
{
"balance"
:
"100000"
,
"code"
:
"0x"
,
"nonce"
:
"10000"
,
"storage"
:
{
}
}
},
"transaction"
:
{
"data"
:
""
,
"gasLimit"
:
"1000"
,
"gasPrice"
:
"1"
,
"nonce"
:
"10000"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b"
,
"value"
:
"100"
}
},
"TransactionNonceCheck"
:
{
"TransactionNonceCheck"
:
{
"env"
:
{
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
...
@@ -1611,7 +1496,7 @@
...
@@ -1611,7 +1496,7 @@
"gasPrice"
:
"1"
,
"gasPrice"
:
"1"
,
"nonce"
:
"0"
,
"nonce"
:
"0"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"secretKey"
:
"45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
,
"to"
:
"ffffffffffffffffffffffffffffffffffffffff"
,
"to"
:
"
0x
ffffffffffffffffffffffffffffffffffffffff"
,
"value"
:
"100"
"value"
:
"100"
}
}
},
},
...
@@ -1836,4 +1721,4 @@
...
@@ -1836,4 +1721,4 @@
"value"
:
"900"
"value"
:
"900"
}
}
}
}
}
}
\ 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