celestiaorg / go-square

A library for encoding blobs into a 2D square of evenly sized chunks designed for sampling and reconstruction
Apache License 2.0
13 stars 16 forks source link

fix: worst case share indexes #49

Closed rootulp closed 5 months ago

rootulp commented 6 months ago

Closes https://github.com/celestiaorg/go-square/issues/47 via a non-API breaking change. This approach has the downside that it duplicates a constant from celestia-app and we'll need a way to plumb the constant through or refactor the implementation here if/when we actually modify that versioned constant in celestia-app.