keep types consistent
This commit is contained in:
parent
d5ce142511
commit
fb5d9edb7c
|
@ -666,10 +666,10 @@ chronicles.formatIt BeaconBlock: it.shortLog
|
||||||
chronicles.formatIt AttestationData: it.shortLog
|
chronicles.formatIt AttestationData: it.shortLog
|
||||||
|
|
||||||
# TODO remove
|
# TODO remove
|
||||||
const SHARD_COUNT* = MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH
|
const SHARD_COUNT* = (MAX_COMMITTEES_PER_SLOT * SLOTS_PER_EPOCH).uint64
|
||||||
|
|
||||||
static:
|
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
|
import json_serialization
|
||||||
export json_serialization
|
export json_serialization
|
||||||
|
|
Loading…
Reference in New Issue