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 committed Dec 18, 2024
1 parent 43b8d8b commit bfe4961
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 bfe4961

Please sign in to comment.