Open crocodile-dentist opened 2 months ago
Having a single runDecoderWithChannel
and runDecoderWithLimit
avoids some code duplication to ease maintenance, but to avoid leaking space for codec's that do not need annotation capability there should probably be a custom monoid instance for the bytes type which is strict in the accumulator and essentially a no-op.
todo: tests
Description
Annotated decoder
Checklist
Quality
Maintenance
ouroboros-network
project.