Skip to content

Commit

Permalink
Try #4839:
Browse files Browse the repository at this point in the history
  • Loading branch information
iohk-bors[bot] authored Jan 24, 2023
2 parents 72bc4ce + a09a0dc commit 2afe134
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cardano-cli/src/Cardano/CLI/Shelley/Run/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ runTxBuildRaw (AnyCardanoEra era)
allReferenceInputs
<- getAllReferenceInputs era inputsAndScriptFiles mValue certFiles withdrawals readOnlyRefIns
inputsAndMaybeScriptWits <- readScriptWitnessFiles era inputsAndScriptFiles
validatedCollateralTxIns <- validateTxInsCollateral era txinsc
-- the same collateral input can be used for several plutus scripts
let filteredTxinsc = Set.toList $ Set.fromList txinsc
validatedCollateralTxIns <- validateTxInsCollateral era filteredTxinsc
validatedRefInputs <- validateTxInsReference era allReferenceInputs
validatedTxOuts <- validateTxOuts era txouts
validatedTotCollateral <- validateTxTotalCollateral era mTotCollateral
Expand Down Expand Up @@ -457,7 +459,9 @@ runTxBuild (AnyCardanoEra era) (AnyConsensusModeParams cModeParams) networkId mS

allReferenceInputs <- getAllReferenceInputs era inputsAndScriptFiles mValue certFiles withdrawals readOnlyRefIns
inputsAndMaybeScriptWits <- readScriptWitnessFiles era inputsAndScriptFiles
validatedCollateralTxIns <- validateTxInsCollateral era txinsc
-- the same collateral input can be used for several plutus scripts
let filteredTxinsc = Set.toList $ Set.fromList txinsc
validatedCollateralTxIns <- validateTxInsCollateral era filteredTxinsc
validatedRefInputs <- validateTxInsReference era allReferenceInputs
validatedTxOuts <- validateTxOuts era txouts
validatedTotCollateral <- validateTxTotalCollateral era mTotCollateral
Expand Down

0 comments on commit 2afe134

Please sign in to comment.