Skip to content

Commit

Permalink
Expose constructor for TimeInterpreter
Browse files Browse the repository at this point in the history
  Will be needed in order to evaluate Plutus scripts and assign execution units to redeemers.
  I originally wanted to expose only record accessors, but this isn't working for the 'interpreter' field because of the existential; eras would escape their scope. Hence the full constructor being exposed. Alternatively, we could expose the 'EpochInfo' from this module instead to keep the module's API somewhat sane.
  • Loading branch information
KtorZ committed Oct 14, 2021
1 parent dd6c6f3 commit fadb598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet/Primitive/Slotting.hs
Expand Up @@ -42,7 +42,7 @@ module Cardano.Wallet.Primitive.Slotting
, getCurrentTimeRelativeFromStart

-- ** Running queries
, TimeInterpreter
, TimeInterpreter (..)
, mkSingleEraInterpreter
, mkTimeInterpreter
, PastHorizonException (..)
Expand Down

0 comments on commit fadb598

Please sign in to comment.