enforce that chunkSize is a multiple of 64
rootulp opened this issue · 0 comments
rootulp commented
Context
Problem
I've observed that chunkSize must be a multiple of 64 but it's not clear to me if this invariant is enforced when importing an extended data square or computing an extended data square.
Proposal
Investigate if the invariant is enforced. I expect that rsmt2d is propagating errors from klauspost/reedsolomon if shards aren't of size 64. If that's the case, we could consider introducing a new error and verifying the data
input for chunk size.