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 13, 2021
1 parent 43f02d8 commit 0eb4d7b
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 0eb4d7b

Please sign in to comment.