We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a8b49d commit 548ac2aCopy full SHA for 548ac2a
eras/alonzo/impl/src/Cardano/Ledger/Alonzo/TxOut.hs
@@ -165,6 +165,8 @@ data AlonzoTxOut era
165
{-# UNPACK #-} !(CompactForm Coin) -- Ada value
166
{-# UNPACK #-} !DataHash32
167
168
+-- | This instance is backwards compatible in binary representation with TxOut instances for all
169
+-- previous era
170
instance (Era era, MemPack (CompactForm (Value era))) => MemPack (AlonzoTxOut era) where
171
packedByteCount = \case
172
TxOutCompact' cAddr cValue ->
0 commit comments