Skip to content

やまいも (v0.2.0)

Pre-release
Pre-release
Compare
Choose a tag to compare
@karalabe karalabe released this 19 Jul 13:37
· 19 commits to main since this release

The v0.2.0 is the second tagged release of the ssz package. This is an unstable release:

  • The API might change. Pin versions and be prepared to update your code on a version bump.
  • The code could crash. Use it in proof-of-concepts, and do not use it in production systems.
  • There might be bugs. Serialisation and even generated code might be bad. Cross validate.
  • Could be abandoned. Project is a work in progress. Only invest time you're ready to lose.

Since everything's mostly new, please see the project readme as the primary source of information.


Compared to the v0.1.0 release, this one:

  • Adds support for merkleization / tree root calculation.
    • Can be done sequentially with asymptotic 0-allocs.
    • Can be done concurrently with O(threads) allocs.
  • Requires passing in the size limits to DefineXYZOffset.
    • Needed due to encoding/hashing data layout dissonance.