Skip to content

Commit

Permalink
cardano-ledger upgrade: accommodate new ledgerSlotNo field in LedgerEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmayhew authored and lehins committed Dec 20, 2024
1 parent a36a72f commit 66f1812
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ genTx _cfg slotNo TickedShelleyLedgerState { tickedShelleyLedgerState } genEnv =
epochState = SL.nesEs tickedShelleyLedgerState

ledgerEnv :: SL.LedgerEnv (MockShelley h)
ledgerEnv = SL.LedgerEnv {
ledgerSlotNo = slotNo
ledgerEnv = SL.LedgerEnv
{ ledgerEpochNo = Nothing
, ledgerSlotNo = slotNo
, ledgerIx = minBound
, ledgerPp = getPParams tickedShelleyLedgerState
, ledgerAccount = SL.esAccountState epochState
Expand Down

0 comments on commit 66f1812

Please sign in to comment.