Skip to content

Commit

Permalink
something fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Nov 4, 2024
1 parent 15f8900 commit 4b665a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ pPlutusStakeReferenceScriptWitnessFilesVotingProposing prefix autoBalanceExecUni
AutoBalance -> pure (ExecutionUnits 0 0)
ManualBalance -> pExecutionUnits $ prefix ++ "reference-tx-in"
)
<*> pure Nothing
<*> pure WitCtxNothing

pPlutusStakeReferenceScriptWitnessFiles
:: String
Expand All @@ -1534,7 +1534,7 @@ pPlutusStakeReferenceScriptWitnessFiles prefix autoBalanceExecUnits =
AutoBalance -> pure (ExecutionUnits 0 0)
ManualBalance -> pExecutionUnits $ prefix ++ "reference-tx-in"
)
<*> pure Nothing
<*> pure WitCtxNothing

pPlutusScriptLanguage :: String -> Parser AnyScriptLanguage
pPlutusScriptLanguage prefix = plutusP prefix PlutusScriptV2 "v2" <|> plutusP prefix PlutusScriptV3 "v3"
Expand Down Expand Up @@ -1961,7 +1961,7 @@ pTxIn sbe balance =
-> ExecutionUnits
-> ScriptWitnessFiles WitCtxTxIn
createPlutusReferenceScriptWitnessFiles refIn sLang sDatum sRedeemer execUnits =
PlutusReferenceScriptWitnessFiles refIn sLang sDatum sRedeemer execUnits Nothing
PlutusReferenceScriptWitnessFiles refIn sLang sDatum sRedeemer execUnits WitCtxNothing

pEmbeddedPlutusScriptWitness :: Parser (ScriptWitnessFiles WitCtxTxIn)
pEmbeddedPlutusScriptWitness =
Expand Down Expand Up @@ -2185,7 +2185,7 @@ pMintMultiAsset sbe balanceExecUnits =
AutoBalance -> pure (ExecutionUnits 0 0)
ManualBalance -> pExecutionUnits "mint-reference-tx-in"
)
<*> (Just <$> pPolicyId)
<*> (WitCtxJust WitCtxMint <$> pPolicyId)

helpText =
mconcat
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Types/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ data ScriptWitnessFiles witctx where
-> ScriptDatumOrFile witctx
-> ScriptRedeemerOrFile
-> ExecutionUnits
-> Maybe PolicyId
-> WitCtxMaybe WitCtxMint witctx PolicyId
-- ^ For minting reference scripts
-> ScriptWitnessFiles witctx
SimpleReferenceScriptWitnessFiles
Expand Down

0 comments on commit 4b665a1

Please sign in to comment.