We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dde7c2 commit f3da702Copy full SHA for f3da702
ouroboros-consensus-cardano/changelog.d/byron-bugfix.md
@@ -0,0 +1,3 @@
1
+### Patch
2
+
3
+- Fix LedgerTables deserialization for Byron snapshots.
ouroboros-consensus-cardano/src/ouroboros-consensus-cardano/Ouroboros/Consensus/Cardano/Ledger.hs
@@ -220,7 +220,8 @@ instance
220
( Fn $
221
const $
222
Comp $
223
- K . LedgerTables @(LedgerState (HardForkBlock (CardanoEras c))) . ValuesMK <$> pure Map.empty
+ K . LedgerTables @(LedgerState (HardForkBlock (CardanoEras c))) . ValuesMK
224
+ <$> (Codec.CBOR.Decoding.decodeMapLen >> pure Map.empty)
225
)
226
:* (Fn $ Comp . fmap K . getOne ShelleyTxOut . unFlip . currentState)
227
:* (Fn $ Comp . fmap K . getOne AllegraTxOut . unFlip . currentState)
0 commit comments