Remove uint32 use.

This commit is contained in:
vbuterin 2018-11-19 07:00:03 -05:00 committed by GitHub
parent a274432889
commit 21d120e771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ The `BeaconState` has the following fields:
# Randao seed used for next shuffling # Randao seed used for next shuffling
'next_shuffling_seed': 'hash32', 'next_shuffling_seed': 'hash32',
# Total deposits penalized in the given withdrawal period # Total deposits penalized in the given withdrawal period
'deposits_penalized_in_period': ['uint32'], 'deposits_penalized_in_period': ['uint64'],
# Hash chain of validator set changes (for light clients to easily track deltas) # Hash chain of validator set changes (for light clients to easily track deltas)
'validator_set_delta_hash_chain': 'hash32' 'validator_set_delta_hash_chain': 'hash32'
# Current sequence number for withdrawals # Current sequence number for withdrawals
@ -220,11 +220,11 @@ The `BeaconState` has the following fields:
# PoW chain reference # PoW chain reference
'known_pow_receipt_root': 'hash32', 'known_pow_receipt_root': 'hash32',
'candidate_pow_receipt_root': 'hash32', 'candidate_pow_receipt_root': 'hash32',
'candidate_pow_receipt_root_votes': 'uint32', 'candidate_pow_receipt_root_votes': 'uint64',
# Parameters relevant to hard forks / versioning. # Parameters relevant to hard forks / versioning.
# Should be updated only by hard forks. # Should be updated only by hard forks.
'pre_fork_version': 'uint32', 'pre_fork_version': 'uint64',
'post_fork_version': 'uint32', 'post_fork_version': 'uint64',
'fork_slot_number': 'uint64', 'fork_slot_number': 'uint64',
# Attestations not yet processed # Attestations not yet processed
'pending_attestations': [AttestationRecord], 'pending_attestations': [AttestationRecord],