IntersectMBO / ouroboros-consensus

Implementation of a Consensus Layer for the Ouroboros family of protocols
https://ouroboros-consensus.cardano.intersectmbo.org
Apache License 2.0
36 stars 23 forks source link

Improve LedgerTables serialization typeclasses #1309

Open jasagredo opened 1 week ago

jasagredo commented 1 week ago

Currently we have CanSerializeLedgerTables that provides a CodecMK. CodecMK was an artifact from when the tables were abstract, but now they are a newtype, so maybe it can be reduced to only requiring normal CBOR typeclasses.

Also worth revisiting SerializeHardForkTxOut as this can also probably be removed as DefaultHardForkTxOut is defined.