mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-27 21:50:33 +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
|
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…
x
Reference in New Issue
Block a user