IntersectMBO / cardano-base

Code used throughout the Cardano eco-system
Apache License 2.0
95 stars 41 forks source link

Add support for `mempack` #506

Open lehins opened 1 week ago

lehins commented 1 week ago

Description

This PR adds support for serializing/deserializing Hashes using mempack library. This is needed for Ledger to implement efficient snapshot creation.

The only breaking affect on downstream users of this PR is that Hash serialization will now require KnownNat or HashAlgorithm constraint.

Checklist