go-ethereum/tests/files/BasicTests/hexencodetest.json
Jeffrey Wilcke dc2e34ddf3 core, core/state, trie: Hardfork EIP155, EIP161, EIP170
This commit implements EIP158 part 1, 2, 3 & 4

1. If an account is empty it's no longer written to the trie. An empty
  account is defined as (balance=0, nonce=0, storage=0, code=0).
2. Delete an empty account if it's touched
3. An empty account is redefined as either non-existent or empty.
4. Zero value calls and zero value suicides no longer consume the 25k
  reation costs.

params: moved core/config to params

Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
2016-11-15 12:40:36 +01:00

62 lines
1 KiB
JSON

{
"zz,odd,open": {
"seq": [ 0, 0, 1, 2, 3, 4, 5 ],
"term": false,
"out": "10012345"
},
"z,even,open": {
"seq": [ 0, 1, 2, 3, 4, 5 ],
"term": false,
"out": "00012345"
},
"nz,odd,open": {
"seq": [ 1, 2, 3, 4, 5 ],
"term": false,
"out": "112345"
},
"zz,even,open": {
"seq": [ 0, 0, 1, 2, 3, 4 ],
"term": false,
"out": "00001234"
},
"z,odd,open": {
"seq": [ 0, 1, 2, 3, 4 ],
"term": false,
"out": "101234"
},
"nz,even,open": {
"seq": [ 1, 2, 3, 4 ],
"term": false,
"out": "001234"
},
"zz,odd,term": {
"seq": [ 0, 0, 1, 2, 3, 4, 5 ],
"term": true,
"out": "30012345"
},
"z,even,term": {
"seq": [ 0, 1, 2, 3, 4, 5 ],
"term": true,
"out": "20012345"
},
"nz,odd,term": {
"seq": [ 1, 2, 3, 4, 5 ],
"term": true,
"out": "312345"
},
"zz,even,term": {
"seq": [ 0, 0, 1, 2, 3, 4 ],
"term": true,
"out": "20001234"
},
"z,odd,term": {
"seq": [ 0, 1, 2, 3, 4 ],
"term": true,
"out": "301234"
},
"nz,even,term": {
"seq": [ 1, 2, 3, 4 ],
"term": true,
"out": "201234"
}
}