mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-18 17:37:33 +00:00
Merge pull request #359 from status-im/Swader-patch-1
Add assert message
This commit is contained in:
commit
dfdea91813
@ -613,7 +613,7 @@ chronicles.formatIt CrossLink: it.shortLog
|
|||||||
static:
|
static:
|
||||||
# Ensure that get_crosslink_committee(...) can access all committees, which
|
# Ensure that get_crosslink_committee(...) can access all committees, which
|
||||||
# requires that SHARD_COUNT >= get_committee_count(...)
|
# requires that SHARD_COUNT >= get_committee_count(...)
|
||||||
doAssert SHARD_COUNT >= SLOTS_PER_EPOCH
|
doAssert SHARD_COUNT >= SLOTS_PER_EPOCH, "Shard count should match or exceed number of slots per epoch"
|
||||||
|
|
||||||
import nimcrypto, json_serialization
|
import nimcrypto, json_serialization
|
||||||
export json_serialization
|
export json_serialization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user