mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-14 00:29:04 +00:00
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
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user