@@ -38,7 +38,7 @@ import Cardano.DbSync.Era.Shelley.Generic.Witness
38
38
import Cardano.DbSync.Types (DataHash )
39
39
import qualified Cardano.Ledger.Address as Ledger
40
40
import Cardano.Ledger.Allegra.Scripts (Timelock )
41
- import Cardano.Ledger.Alonzo.Scripts (AsIx (.. ), ExUnits (.. ), PlutusPurpose ( .. ) , txscriptfee , unPlutusBinary )
41
+ import Cardano.Ledger.Alonzo.Scripts (AsIx (.. ), ExUnits (.. ), PlutusPurpose , txscriptfee , unPlutusBinary )
42
42
import qualified Cardano.Ledger.Alonzo.Scripts as Alonzo
43
43
import qualified Cardano.Ledger.Alonzo.Tx as Alonzo
44
44
import Cardano.Ledger.Alonzo.TxAuxData (AlonzoTxAuxData (.. ), getAlonzoTxAuxDataScripts )
@@ -265,7 +265,7 @@ resolveRedeemers ioExtraPlutus mprices tx toCert =
265
265
266
266
mkPurpose = \ case
267
267
Strict. SNothing -> Nothing
268
- Strict. SJust a -> toAlonzoPurpose txBody $ hoistPlutusPurpose Alonzo. toAsItem a
268
+ Strict. SJust a -> toAlonzoPurpose txBody $ Alonzo. hoistPlutusPurpose Alonzo. toAsItem a
269
269
270
270
handleTxInPtr :: Word64 -> Ledger. TxIn StandardCrypto -> RedeemerMaps -> (RedeemerMaps , Maybe (Either TxIn ByteString ))
271
271
handleTxInPtr rdmrIx txIn mps = case Map. lookup txIn (rmInps mps) of
@@ -331,7 +331,7 @@ getPlutusSizes ::
331
331
( Core. EraTx era
332
332
, Core. TxWits era ~ Alonzo. AlonzoTxWits era
333
333
, Core. Script era ~ Alonzo. AlonzoScript era
334
- , AlonzoEraScript era
334
+ , Alonzo. AlonzoEraScript era
335
335
) =>
336
336
Core. Tx era ->
337
337
[Word64 ]
@@ -341,7 +341,7 @@ getPlutusSizes tx =
341
341
tx ^. (Core. witsTxL . Alonzo. scriptAlonzoTxWitsL)
342
342
343
343
-- | Returns Nothing for non-plutus scripts.
344
- getPlutusScriptSize :: AlonzoEraScript era => Alonzo. AlonzoScript era -> Maybe Word64
344
+ getPlutusScriptSize :: Alonzo. AlonzoEraScript era => Alonzo. AlonzoScript era -> Maybe Word64
345
345
getPlutusScriptSize script =
346
346
case script of
347
347
Alonzo. TimelockScript {} -> Nothing
0 commit comments