input-output-hk / cardano-ledger-byron

A re-implementation of the Cardano ledger layer, replacing the Byron release
52 stars 13 forks source link

Use EpochInfo #773

Open edsko opened 4 years ago

edsko commented 4 years ago

The Byron ledger at the moment assumes that the translation from slots to epochs does not require external context. In principle this is not justified, and it should use EpochInfo. We can probably get away with leaving it as it is, however, since we will never fork to Byron.

edsko commented 4 years ago

(Note that PBFT is already epoch agnostic.)