Skip to content

assertCompleteAllocation

assertCompleteAllocation(chunks, expected): void

Defined in: packages/sharding/src/context.ts:161

Proves an allocation covers expected exactly once.

readonly readonly number[][]

readonly number[]

void

Naming the missing, duplicate or unexpected shard IDs.