assertCompleteAllocation
assertCompleteAllocation(
chunks,expected):void
Defined in: packages/sharding/src/context.ts:161
Proves an allocation covers expected exactly once.
Parameters
Section titled “Parameters”chunks
Section titled “chunks”readonly readonly number[][]
expected
Section titled “expected”readonly number[]
Returns
Section titled “Returns”void
Throws
Section titled “Throws”Naming the missing, duplicate or unexpected shard IDs.