hydra-cardano-api-0.19.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.ExecutionUnits

Synopsis

Type Conversions

toLedgerExUnits :: ExecutionUnits -> ExUnits Source #

Convert a cardano-api ExecutionUnits into a cardano-ledger ExUnits

fromLedgerExUnits :: ExUnits -> ExecutionUnits Source #

Convert a cardano-ledger ExUnits into a cardano-api ExecutionUnits