Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ouroboros-consensus-cardano/changelog.d/byron-bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Patch

- Fix LedgerTables deserialization for Byron snapshots.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ instance
( Fn $
const $
Comp $
K . LedgerTables @(LedgerState (HardForkBlock (CardanoEras c))) . ValuesMK <$> pure Map.empty
K . LedgerTables @(LedgerState (HardForkBlock (CardanoEras c))) . ValuesMK
<$> (Codec.CBOR.Decoding.decodeMapLen >> pure Map.empty)
)
:* (Fn $ Comp . fmap K . getOne ShelleyTxOut . unFlip . currentState)
:* (Fn $ Comp . fmap K . getOne AllegraTxOut . unFlip . currentState)
Expand Down
Loading