From 84939494568bd949ebf2850c960e6fcd1fb94415 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Thu, 15 Nov 2018 10:20:27 -0800 Subject: [PATCH] update ShardAndCommittee and CrosslinkRecord --- beacon_chain/datatypes.nim | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/beacon_chain/datatypes.nim b/beacon_chain/datatypes.nim index 8d841038b..ed69f40c7 100644 --- a/beacon_chain/datatypes.nim +++ b/beacon_chain/datatypes.nim @@ -50,7 +50,7 @@ type parent_hash*: Blake2_256_Digest # Hash of the parent block ShardAndCommittee* = object - shard_id*: int16 # The shard ID + shard_id*: uint16 # Shard number committee*: seq[Uint24] # Validator indices ShardReassignmentRecord* = object @@ -69,9 +69,8 @@ type exit_slot*: uint64 # Slot when validator exited (or 0) CrosslinkRecord* = object - dynasty: int64 # What dynasty the crosslink was submitted in - slot: int64 # What slot - hash: Blake2_256_Digest # The block hash + slot: uint64 # Slot number + hash: Blake2_256_Digest # Shard chain block hash AttestationRecord* = object slot*: uint64 # Slot number