keep types consistent

This commit is contained in:
Dustin Brody 2019-11-12 06:45:24 +01:00
parent d5ce142511
commit fb5d9edb7c
1 changed files with 2 additions and 2 deletions

View File

@ -666,10 +666,10 @@ chronicles.formatIt BeaconBlock: it.shortLog
chronicles.formatIt AttestationData: it.shortLog
# TODO remove
const SHARD_COUNT* = MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH
const SHARD_COUNT* = (MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH).uint64
static:
doAssert SHARD_COUNT == MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH
doAssert SHARD_COUNT.int == MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH
import json_serialization
export json_serialization