File tree Expand file tree Collapse file tree
bench/plutus-scripts-bench/src/Cardano/Benchmarking Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ module Cardano.Benchmarking.ScriptAPI
22 ( PlutusBenchScript
33 , psName
44 , psScript
5- , mkPlutusBenchScript
65 , mkPlutusBenchScriptFromCompiled
76 ) where
87
@@ -20,9 +19,6 @@ data PlutusBenchScript
2019 , psScript :: ScriptInAnyLang
2120 }
2221
23- mkPlutusBenchScript :: String -> ScriptInAnyLang -> PlutusBenchScript
24- mkPlutusBenchScript = PlutusBenchScript
25-
2622-- This is doing two or three sorts of normalisation at once:
2723-- It strips leading / -separated components, drops the ".hs" suffix
2824-- if present, then chooses the last . -separated component.
@@ -51,7 +47,7 @@ mkPlutusBenchScriptFromCompiled ::
5147 -> SBS. ShortByteString -- ^ Compiled PlutusCore script
5248 -> PlutusBenchScript
5349mkPlutusBenchScriptFromCompiled version moduleName compiledScript =
54- mkPlutusBenchScript scriptName scriptInAnyLang
50+ PlutusBenchScript scriptName scriptInAnyLang
5551 where
5652 scriptName = prepareScriptName moduleName
5753 scriptSerialized = PlutusScriptSerialised compiledScript
You can’t perform that action at this time.
0 commit comments