Shard uint16 -> uint64

This commit is contained in:
vbuterin 2018-11-24 16:20:20 -05:00 committed by GitHub
parent 40d289f1a3
commit 5ba47b476a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ An `AttestationRecord` has the following fields:
# Slot number # Slot number
'slot': 'uint64', 'slot': 'uint64',
# Shard number # Shard number
'shard': 'uint16', 'shard': 'uint64',
# Beacon block hashes not part of the current chain, oldest to newest # Beacon block hashes not part of the current chain, oldest to newest
'oblique_parent_hashes': ['hash32'], 'oblique_parent_hashes': ['hash32'],
# Shard block hash being attested to # Shard block hash being attested to
@ -176,7 +176,7 @@ An `AttestationSignedData` has the following fields:
# Slot number # Slot number
'slot': 'uint64', 'slot': 'uint64',
# Shard number # Shard number
'shard': 'uint16', 'shard': 'uint64',
# CYCLE_LENGTH parent hashes # CYCLE_LENGTH parent hashes
'parent_hashes': ['hash32'], 'parent_hashes': ['hash32'],
# Shard block hash # Shard block hash
@ -293,7 +293,7 @@ A `ShardAndCommittee` object has the following fields:
```python ```python
{ {
# Shard number # Shard number
'shard': 'uint16', 'shard': 'uint64',
# Validator indices # Validator indices
'committee': ['uint24'] 'committee': ['uint24']
} }
@ -306,7 +306,7 @@ A `ShardReassignmentRecord` object has the following fields:
# Which validator to reassign # Which validator to reassign
'validator_index': 'uint24', 'validator_index': 'uint24',
# To which shard # To which shard
'shard': 'uint16', 'shard': 'uint64',
# When # When
'slot': 'uint64' 'slot': 'uint64'
} }