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 17 forks source link

feat: add merkle package from cometbft #2

Closed cmwaters closed 10 months ago

cmwaters commented 10 months ago

This PR transfers the commits around the crypto/merkle package in our celestia-core fork to this repo.

It's defined as a separate go mod. We could do this as a separate repo but for now it's just go-square that uses it.

This is needed to enable the tests.

There are no changes to the library itself - just the import paths. If you want to assess the diff that I have made refer to the last commit: init go mod, copy proto files and modify directory path